	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_phase1_done
_eap_fast_phase1_done:                  ## @eap_fast_phase1_done
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	(%r14), %edi
	movl	4(%r15), %esi
	leaq	-96(%rbp), %rdx
	movl	$64, %ecx
	callq	_tls_get_cipher
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	leaq	-96(%rbp), %rdi
	callq	_os_strstr
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%r15)
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_eap_fast_derive_key_provisioning
	jmp	LBB0_5
LBB0_1:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %ebx
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_eap_fast_derive_key_auth
LBB0_5:
	xorl	%ebx, %ebx
	movq	_PHASE2_START@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_eap_fast_state
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-FAST: Phase1 done, starting Phase2"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-FAST: Failed to get cipher information"

	.comm	_FAILURE,4,2                    ## @FAILURE
L_.str.2:                               ## @.str.2
	.asciz	"ADH"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-FAST: Anonymous provisioning"

	.comm	_PHASE2_START,4,2               ## @PHASE2_START
	.no_dead_strip	_eap_fast_phase1_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_phase1_done
_eap_fast_phase1_done:                  ; @eap_fast_phase1_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x20]
	ldr	w1, [x19, #4]
	add	x2, sp, #8
	mov	w3, #64
	bl	_tls_get_cipher
	tbnz	x0, #63, LBB0_3
; %bb.1:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_os_strstr
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x21]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x19
	bl	_eap_fast_derive_key_provisioning
	b	LBB0_5
LBB0_3:
	ldr	w0, [x21]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w20, #-1
Lloh13:
	adrp	x8, _FAILURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_eap_fast_derive_key_auth
LBB0_5:
	mov	w20, #0
Lloh15:
	adrp	x8, _PHASE2_START@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PHASE2_START@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_fast_state
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-FAST: Phase1 done, starting Phase2"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-FAST: Failed to get cipher information"

	.comm	_FAILURE,4,2                    ; @FAILURE
l_.str.2:                               ; @.str.2
	.asciz	"ADH"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-FAST: Anonymous provisioning"

	.comm	_PHASE2_START,4,2               ; @PHASE2_START
	.no_dead_strip	_eap_fast_phase1_done
.subsections_via_symbols
