	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_get_phase2_key
_eap_fast_get_phase2_key:               ## @eap_fast_get_phase2_key
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movq	%rcx, %rdx
	callq	_os_memset
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movq	16(%rax), %rcx
	xorl	%r14d, %r14d
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.5:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	-48(%rbp), %rdx
	cmpq	%r13, %rdx
	jbe	LBB0_9
## %bb.8:
	movq	%r13, -48(%rbp)
	movq	%r13, %rdx
LBB0_9:
	cmpq	$32, %rdx
	jne	LBB0_13
## %bb.10:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_13
## %bb.11:
	movq	8(%rax), %rax
	movq	_EAP_TYPE_MSCHAPV2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	%r15, %rsi
	addq	$64, %rsi
	movl	$16, %edx
	movq	%r12, %rdi
	callq	_os_memcpy
	addq	$64, %r12
	movl	$16, %edx
LBB0_13:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_os_memcpy
	movq	%r15, %rdi
	callq	_os_free
	jmp	LBB0_14
LBB0_2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_3:
	callq	_wpa_printf
	movl	$-1, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-FAST: Phase 2 method not available"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-FAST: Could not get key material from Phase 2"

	.comm	_EAP_VENDOR_IETF,8,3            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_MSCHAPV2,8,3          ## @EAP_TYPE_MSCHAPV2
	.no_dead_strip	_eap_fast_get_phase2_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_get_phase2_key
_eap_fast_get_phase2_key:               ; @eap_fast_get_phase2_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	mov	w1, #0
	mov	x2, x3
	bl	_os_memset
	ldr	x8, [x21]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	x1, [x21, #8]
	cbz	x1, LBB0_10
; %bb.2:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_14
; %bb.3:
	add	x2, sp, #8
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_16
; %bb.4:
	mov	x20, x0
	ldr	x2, [sp, #8]
	cmp	x2, x22
	b.ls	LBB0_6
; %bb.5:
	str	x22, [sp, #8]
	mov	x2, x22
LBB0_6:
	cmp	x2, #32
	b.ne	LBB0_12
; %bb.7:
	ldr	x8, [x21]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.8:
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x9, _EAP_TYPE_MSCHAPV2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EAP_TYPE_MSCHAPV2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
	add	x1, x20, #64
	mov	x0, x19
	mov	w2, #16
	bl	_os_memcpy
	add	x0, x19, #64
	mov	x1, x20
	mov	w2, #16
	b	LBB0_13
LBB0_10:
Lloh6:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
LBB0_11:
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_15
LBB0_12:
	mov	x0, x19
	mov	x1, x20
LBB0_13:
	bl	_os_memcpy
	mov	x0, x20
	bl	_os_free
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_16:
Lloh11:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-FAST: Phase 2 method not available"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-FAST: Could not get key material from Phase 2"

	.comm	_EAP_VENDOR_IETF,8,3            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_MSCHAPV2,8,3          ; @EAP_TYPE_MSCHAPV2
	.no_dead_strip	_eap_fast_get_phase2_key
.subsections_via_symbols
