	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_tls_success
_eap_tls_success:                       ## @eap_tls_success
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_EAP_TYPE_TLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	cmpq	$0, 24(%r15)
	je	LBB0_1
## %bb.11:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_1:
	leaq	16(%r15), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	leaq	-44(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_DECISION_COND_SUCC@GOTPCREL(%rip), %rax
	movq	_METHOD_MAY_CONT@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_DECISION_UNCOND_SUCC@GOTPCREL(%rip), %rax
	movq	_METHOD_DONE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
LBB0_4:
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r12)
	movl	%eax, (%r12)
	movq	%r15, %rdi
	callq	_eap_tls_free_key
	movq	_EAP_TLS_KEY_LEN@GOTPCREL(%rip), %r12
	movq	_EAP_EMSK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	addq	(%r12), %r9
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_eap_peer_tls_derive_key
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	(%r12), %rcx
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_key
	movl	(%r13), %edi
	movq	(%r12), %rdx
	addq	32(%r15), %rdx
	movq	_EAP_EMSK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.5(%rip), %rsi
	callq	_wpa_hexdump_key
	jmp	LBB0_7
LBB0_6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_wpa_printf
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
LBB0_7:
	movq	8(%r15), %rdi
	callq	_os_free
	movq	_EAP_TYPE_TLS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rcx
	callq	_eap_peer_tls_derive_session_id
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%r13), %edi
	movl	(%r15), %ecx
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump
	jmp	LBB0_10
LBB0_9:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_wpa_printf
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_TYPE_TLS,4,2               ## @EAP_TYPE_TLS
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TLS: Done"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-TLS: Fragment(s) remaining"

L_.str.2:                               ## @.str.2
	.asciz	"EXPORTER_EAP_TLS_Key_Material"

	.comm	_METHOD_MAY_CONT,4,2            ## @METHOD_MAY_CONT
	.comm	_DECISION_COND_SUCC,4,2         ## @DECISION_COND_SUCC
L_.str.3:                               ## @.str.3
	.asciz	"client EAP encryption"

	.comm	_METHOD_DONE,4,2                ## @METHOD_DONE
	.comm	_DECISION_UNCOND_SUCC,4,2       ## @DECISION_UNCOND_SUCC
	.comm	_EAP_TLS_KEY_LEN,8,3            ## @EAP_TLS_KEY_LEN
	.comm	_EAP_EMSK_LEN,8,3               ## @EAP_EMSK_LEN
L_.str.4:                               ## @.str.4
	.asciz	"EAP-TLS: Derived key"

L_.str.5:                               ## @.str.5
	.asciz	"EAP-TLS: Derived EMSK"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.6:                               ## @.str.6
	.asciz	"EAP-TLS: Failed to derive key"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-TLS: Derived Session-Id"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.8:                               ## @.str.8
	.asciz	"EAP-TLS: Failed to derive Session-Id"

	.no_dead_strip	_eap_tls_success
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_tls_success
_eap_tls_success:                       ; @eap_tls_success
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x27, _EAP_TYPE_TLS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _EAP_TYPE_TLS@GOTPAGEOFF]
	ldr	w8, [x27]
	str	w8, [sp, #12]
Lloh2:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x26]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_wpa_printf
LBB0_2:
	add	x21, x19, #16
	add	x8, sp, #12
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh10:
	adrp	x10, _DECISION_COND_SUCC@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DECISION_COND_SUCC@GOTPAGEOFF]
Lloh12:
	adrp	x11, _METHOD_MAY_CONT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _METHOD_MAY_CONT@GOTPAGEOFF]
Lloh14:
	adrp	x12, l_.str.3@PAGE
Lloh15:
	add	x12, x12, l_.str.3@PAGEOFF
Lloh16:
	adrp	x13, _DECISION_UNCOND_SUCC@GOTPAGE
Lloh17:
	ldr	x13, [x13, _DECISION_UNCOND_SUCC@GOTPAGEOFF]
Lloh18:
	adrp	x14, _METHOD_DONE@GOTPAGE
Lloh19:
	ldr	x14, [x14, _METHOD_DONE@GOTPAGEOFF]
	ldr	x15, [x21]
	cmp	x15, #0
	csel	x11, x11, x14, ne
	csel	x10, x10, x13, ne
	ldr	w10, [x10]
	ldr	w11, [x11]
	mov	w13, #1
	csel	x23, x9, x12, ne
	csel	x24, x8, xzr, ne
	csel	x25, x13, xzr, ne
	stp	w10, w11, [x22]
	mov	x0, x19
	bl	_eap_tls_free_key
Lloh20:
	adrp	x22, _EAP_TLS_KEY_LEN@GOTPAGE
Lloh21:
	ldr	x22, [x22, _EAP_TLS_KEY_LEN@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh22:
	adrp	x28, _EAP_EMSK_LEN@GOTPAGE
Lloh23:
	ldr	x28, [x28, _EAP_EMSK_LEN@GOTPAGEOFF]
	ldr	x9, [x28]
	add	x5, x9, x8
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	bl	_eap_peer_tls_derive_key
	str	x0, [x19, #32]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
	ldr	w0, [x26]
	ldr	x3, [x22]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_hexdump_key
	ldr	w0, [x26]
	ldr	x8, [x19, #32]
	ldr	x9, [x22]
	add	x2, x9, x8
	ldr	x3, [x28]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_hexdump_key
	b	LBB0_5
LBB0_4:
Lloh28:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.6@PAGE
Lloh32:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_os_free
	ldr	w2, [x27]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_eap_peer_tls_derive_session_id
	str	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.6:
	mov	x2, x0
	ldr	w0, [x26]
	ldr	w3, [x19]
Lloh33:
	adrp	x1, l_.str.7@PAGE
Lloh34:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_hexdump
	b	LBB0_8
LBB0_7:
Lloh35:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.8@PAGE
Lloh39:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_printf
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_TYPE_TLS,4,2               ; @EAP_TYPE_TLS
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TLS: Done"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-TLS: Fragment(s) remaining"

l_.str.2:                               ; @.str.2
	.asciz	"EXPORTER_EAP_TLS_Key_Material"

	.comm	_METHOD_MAY_CONT,4,2            ; @METHOD_MAY_CONT
	.comm	_DECISION_COND_SUCC,4,2         ; @DECISION_COND_SUCC
l_.str.3:                               ; @.str.3
	.asciz	"client EAP encryption"

	.comm	_METHOD_DONE,4,2                ; @METHOD_DONE
	.comm	_DECISION_UNCOND_SUCC,4,2       ; @DECISION_UNCOND_SUCC
	.comm	_EAP_TLS_KEY_LEN,8,3            ; @EAP_TLS_KEY_LEN
	.comm	_EAP_EMSK_LEN,8,3               ; @EAP_EMSK_LEN
l_.str.4:                               ; @.str.4
	.asciz	"EAP-TLS: Derived key"

l_.str.5:                               ; @.str.5
	.asciz	"EAP-TLS: Derived EMSK"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.6:                               ; @.str.6
	.asciz	"EAP-TLS: Failed to derive key"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-TLS: Derived Session-Id"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.8:                               ; @.str.8
	.asciz	"EAP-TLS: Failed to derive Session-Id"

	.no_dead_strip	_eap_tls_success
.subsections_via_symbols
