	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_eapol
_test_eapol:                            ## @test_eapol
	.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, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$104, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%r12, 16(%rax)
	movq	%r15, 8(%rax)
	movl	8(%r15), %eax
	movl	%eax, 100(%rbx)
	movq	_eapol_sm_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movq	%r12, 88(%rbx)
	movq	%r15, 80(%rbx)
	movq	$0, 72(%rbx)
	movq	_eapol_test_eapol_done_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_eapol_test_eapol_send@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_eapol_test_set_config_blob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_eapol_test_get_config_blob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	16(%r15), %rax
	movups	8(%rax), %xmm0
	movups	%xmm0, 36(%rbx)
	movq	_eapol_test_eap_param_needed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_eapol_test_cert_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$1, (%rbx)
	movq	_eapol_test_set_anon_id@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_eapol_sm_init
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movl	$104, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r13
	movq	%r12, 16(%rax)
	movq	%r15, 8(%rax)
	movq	_eapol_test_get_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	%r13, %rdi
	callq	_wpa_sm_init
	movl	%eax, 32(%r15)
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	testq	%r14, %r14
	je	LBB0_11
## %bb.12:
	movq	%r14, 24(%r15)
	leaq	-64(%rbp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_os_memset
	movl	$1, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	16(%r15), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -52(%rbp)
	movl	4(%r14), %ecx
	movl	%ecx, -56(%rbp)
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	(%r15), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_eapol_sm_notify_config
	movq	(%r15), %rdi
	movl	8(%r15), %esi
	callq	_eapol_sm_register_scard_ctx
	movq	(%r15), %rdi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_eapol_sm_notify_portValid
	movq	(%r15), %rdi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_eapol_sm_notify_portEnabled
	jmp	LBB0_13
LBB0_1:
	leaq	L_str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
	callq	_os_free
	leaq	L_str(%rip), %rdi
LBB0_2:
	callq	_puts
	movl	$-1, %ebx
	jmp	LBB0_13
LBB0_6:
	movq	%rbx, %rdi
	jmp	LBB0_7
LBB0_9:
	movq	%rbx, %rdi
	callq	_os_free
	movq	%r13, %rdi
LBB0_7:
	callq	_os_free
	movl	$-1, %ebx
	jmp	LBB0_13
LBB0_11:
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eapol_sm_cb,4,2                ## @eapol_sm_cb
	.comm	_eapol_test_eapol_done_cb,4,2   ## @eapol_test_eapol_done_cb
	.comm	_eapol_test_eapol_send,4,2      ## @eapol_test_eapol_send
	.comm	_eapol_test_set_config_blob,4,2 ## @eapol_test_set_config_blob
	.comm	_eapol_test_get_config_blob,4,2 ## @eapol_test_get_config_blob
	.comm	_eapol_test_eap_param_needed,4,2 ## @eapol_test_eap_param_needed
	.comm	_eapol_test_cert_cb,4,2         ## @eapol_test_cert_cb
	.comm	_eapol_test_set_anon_id,4,2     ## @eapol_test_set_anon_id
	.comm	_WPA_KEY_MGMT_IEEE8021X_NO_WPA,4,2 ## @WPA_KEY_MGMT_IEEE8021X_NO_WPA
	.comm	_eapol_test_get_state,4,2       ## @eapol_test_get_state
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Failed to initialize EAPOL state machines."

L_str.2:                                ## @str.2
	.asciz	"Failed to allocate EAPOL context."

	.no_dead_strip	_test_eapol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_eapol
_test_eapol:                            ; @test_eapol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	w0, #104
	bl	_os_zalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	stp	x19, x22, [x0, #8]
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _eapol_sm_cb@GOTPAGE
Lloh1:
	ldr	x9, [x9, _eapol_sm_cb@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #96]
	stp	x19, x22, [x0, #80]
	str	xzr, [x0, #72]
Lloh3:
	adrp	x8, _eapol_test_eapol_done_cb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _eapol_test_eapol_done_cb@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _eapol_test_eapol_send@GOTPAGE
Lloh7:
	ldr	x9, [x9, _eapol_test_eapol_send@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _eapol_test_set_config_blob@GOTPAGE
Lloh10:
	ldr	x10, [x10, _eapol_test_set_config_blob@GOTPAGEOFF]
	stp	w9, w8, [x0, #60]
Lloh11:
	ldr	w8, [x10]
Lloh12:
	adrp	x9, _eapol_test_get_config_blob@GOTPAGE
Lloh13:
	ldr	x9, [x9, _eapol_test_get_config_blob@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #52]
	ldr	x8, [x19, #16]
	ldur	q0, [x8, #8]
	stur	q0, [x0, #36]
Lloh15:
	adrp	x8, _eapol_test_eap_param_needed@GOTPAGE
Lloh16:
	ldr	x8, [x8, _eapol_test_eap_param_needed@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh18:
	adrp	x8, _eapol_test_cert_cb@GOTPAGE
Lloh19:
	ldr	x8, [x8, _eapol_test_cert_cb@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	mov	w9, #1
	str	w9, [x0]
Lloh21:
	adrp	x9, _eapol_test_set_anon_id@GOTPAGE
Lloh22:
	ldr	x9, [x9, _eapol_test_set_anon_id@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
	bl	_eapol_sm_init
	str	x0, [x19]
	cbz	x0, LBB0_8
; %bb.2:
Lloh24:
	adrp	x8, _WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #36]
	mov	w0, #104
	bl	_os_zalloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x23, x0
	stp	x19, x22, [x0, #8]
Lloh27:
	adrp	x8, _eapol_test_get_state@GOTPAGE
Lloh28:
	ldr	x8, [x8, _eapol_test_get_state@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	bl	_wpa_sm_init
	str	w0, [x19, #32]
	cbz	w0, LBB0_11
; %bb.4:
	cbz	x20, LBB0_6
; %bb.5:
	str	x20, [x19, #24]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_os_memset
	mov	w8, #1
	str	xzr, [sp, #24]
	ldr	x9, [x19, #16]
	ldr	w11, [x9, #4]
	ldr	w10, [x20, #4]
	str	w8, [sp, #8]
	stp	w10, w11, [sp, #16]
	ldr	w8, [x9]
	str	w8, [sp, #12]
	ldr	x0, [x19]
	add	x2, sp, #8
	mov	x1, x20
	bl	_eapol_sm_notify_config
	ldr	x0, [x19]
	ldr	w1, [x19, #8]
	bl	_eapol_sm_register_scard_ctx
	ldr	x0, [x19]
Lloh30:
	adrp	x8, _FALSE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_eapol_sm_notify_portValid
	ldr	x0, [x19]
Lloh33:
	adrp	x8, _TRUE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_eapol_sm_notify_portEnabled
LBB0_6:
	mov	w0, #0
	b	LBB0_14
LBB0_7:
Lloh36:
	adrp	x0, l_str.2@PAGE
Lloh37:
	add	x0, x0, l_str.2@PAGEOFF
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_os_free
Lloh38:
	adrp	x0, l_str@PAGE
Lloh39:
	add	x0, x0, l_str@PAGEOFF
LBB0_9:
	bl	_puts
	b	LBB0_13
LBB0_10:
	mov	x0, x21
	b	LBB0_12
LBB0_11:
	mov	x0, x21
	bl	_os_free
	mov	x0, x23
LBB0_12:
	bl	_os_free
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_eapol_sm_cb,4,2                ; @eapol_sm_cb
	.comm	_eapol_test_eapol_done_cb,4,2   ; @eapol_test_eapol_done_cb
	.comm	_eapol_test_eapol_send,4,2      ; @eapol_test_eapol_send
	.comm	_eapol_test_set_config_blob,4,2 ; @eapol_test_set_config_blob
	.comm	_eapol_test_get_config_blob,4,2 ; @eapol_test_get_config_blob
	.comm	_eapol_test_eap_param_needed,4,2 ; @eapol_test_eap_param_needed
	.comm	_eapol_test_cert_cb,4,2         ; @eapol_test_cert_cb
	.comm	_eapol_test_set_anon_id,4,2     ; @eapol_test_set_anon_id
	.comm	_WPA_KEY_MGMT_IEEE8021X_NO_WPA,4,2 ; @WPA_KEY_MGMT_IEEE8021X_NO_WPA
	.comm	_eapol_test_get_state,4,2       ; @eapol_test_get_state
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Failed to initialize EAPOL state machines."

l_str.2:                                ; @str.2
	.asciz	"Failed to allocate EAPOL context."

	.no_dead_strip	_test_eapol
.subsections_via_symbols
