	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_process_start
_eap_fast_process_start:                ## @eap_fast_process_start
	.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	%r8, %r15
	movq	%rcx, %r12
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TLS_VERSION_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	andl	%ebx, %edx
	movl	(%rsi), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	andl	(%r14), %ebx
	movl	(%r13), %edx
	cmpl	%edx, %ebx
	jge	LBB0_2
## %bb.1:
	movl	%ebx, (%r13)
	movl	%ebx, %edx
LBB0_2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_eap_fast_get_a_id
	movq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_eap_fast_select_pac
	cmpq	$0, 24(%r13)
	movq	16(%r13), %rdx
	movq	%rbx, %rax
	je	LBB0_6
## %bb.3:
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.4:
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_eap_fast_clear_pac_opaque_ext
	testq	%rax, %rax
	jns	LBB0_13
	jmp	LBB0_15
LBB0_6:
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_eap_fast_use_pac_opaque
	testq	%rax, %rax
	jns	LBB0_13
	jmp	LBB0_15
LBB0_9:
	cmpl	$0, 8(%r13)
	movl	(%rax), %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_14
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_eap_fast_set_provisioning_ciphers
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_16
## %bb.11:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_eap_fast_clear_pac_opaque_ext
	testq	%rax, %rax
	js	LBB0_16
## %bb.12:
	movl	$1, 4(%r13)
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_15:
	movl	$-1, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-FAST: Start (server ver=%d, own ver=%d)"

	.comm	_EAP_TLS_VERSION_MASK,4,2       ## @EAP_TLS_VERSION_MASK
L_.str.1:                               ## @.str.1
	.asciz	"EAP-FAST: Using FAST version %d"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-FAST: Trying to resume session - do not add PAC-Opaque to TLS ClientHello"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-FAST: No PAC found and provisioning disabled"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-FAST: No PAC found - starting provisioning"

	.no_dead_strip	_eap_fast_process_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_process_start
_eap_fast_process_start:                ; @eap_fast_process_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x25, _EAP_TLS_VERSION_MASK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _EAP_TLS_VERSION_MASK@GOTPAGEOFF]
	ldr	w9, [x25]
	and	w9, w9, w2
	stp	x9, x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x25]
	and	w9, w8, w23
	ldr	w8, [x19]
	cmp	w9, w8
	b.ge	LBB0_2
; %bb.1:
	str	w9, [x19]
	mov	x8, x9
LBB0_2:
	ldr	w0, [x24]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	add	x2, sp, #24
	mov	x0, x22
	mov	x1, x21
	bl	_eap_fast_get_a_id
	mov	x1, x0
	ldr	x2, [sp, #24]
	mov	x0, x19
	bl	_eap_fast_select_pac
	ldp	x2, x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.3:
	cbz	x2, LBB0_7
; %bb.4:
	ldr	w0, [x24]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x19
	bl	_eap_fast_clear_pac_opaque_ext
	tbz	x0, #63, LBB0_11
	b	LBB0_13
LBB0_5:
	cbz	x2, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_eap_fast_use_pac_opaque
	tbz	x0, #63, LBB0_11
	b	LBB0_13
LBB0_7:
	ldr	w8, [x19, #8]
	ldr	w0, [x24]
	cbz	w8, LBB0_12
; %bb.8:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x19
	bl	_eap_fast_set_provisioning_ciphers
	tbnz	x0, #63, LBB0_13
; %bb.9:
	mov	x0, x20
	mov	x1, x19
	bl	_eap_fast_clear_pac_opaque_ext
	tbnz	x0, #63, LBB0_13
; %bb.10:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_11:
	mov	w0, #0
	b	LBB0_14
LBB0_12:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
LBB0_13:
	mov	w0, #-1
LBB0_14:
	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
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-FAST: Start (server ver=%d, own ver=%d)"

	.comm	_EAP_TLS_VERSION_MASK,4,2       ; @EAP_TLS_VERSION_MASK
l_.str.1:                               ; @.str.1
	.asciz	"EAP-FAST: Using FAST version %d"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-FAST: Trying to resume session - do not add PAC-Opaque to TLS ClientHello"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-FAST: No PAC found and provisioning disabled"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-FAST: No PAC found - starting provisioning"

	.no_dead_strip	_eap_fast_process_start
.subsections_via_symbols
