	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee802_1x_alloc_eapol_sm      ## -- Begin function ieee802_1x_alloc_eapol_sm
	.p2align	4, 0x90
_ieee802_1x_alloc_eapol_sm:             ## @ieee802_1x_alloc_eapol_sm
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_WLAN_STA_PREAUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	(%rsi), %r14d
	je	LBB0_2
## %bb.1:
	movq	_EAPOL_SM_PREAUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_2:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	movq	_EAPOL_SM_USES_WPA@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	callq	_wpa_auth_sta_get_pmksa
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EAPOL_SM_FROM_PMKSA_CACHE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_5:
	movl	(%r15), %edi
	movl	20(%rbx), %esi
	movl	16(%rbx), %ecx
	movl	12(%rbx), %r8d
	movl	4(%rbx), %eax
	movl	8(%rbx), %r10d
	movl	%r14d, %edx
	movq	%rbx, %r9
	pushq	%rax
	pushq	%r10
	callq	_eapol_auth_alloc
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STA_PREAUTH,4,2           ## @WLAN_STA_PREAUTH
	.comm	_EAPOL_SM_PREAUTH,4,2           ## @EAPOL_SM_PREAUTH
	.comm	_EAPOL_SM_USES_WPA,4,2          ## @EAPOL_SM_USES_WPA
	.comm	_EAPOL_SM_FROM_PMKSA_CACHE,4,2  ## @EAPOL_SM_FROM_PMKSA_CACHE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee802_1x_alloc_eapol_sm      ; -- Begin function ieee802_1x_alloc_eapol_sm
	.p2align	2
_ieee802_1x_alloc_eapol_sm:             ; @ieee802_1x_alloc_eapol_sm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _WLAN_STA_PREAUTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLAN_STA_PREAUTH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _EAPOL_SM_PREAUTH@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EAPOL_SM_PREAUTH@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w21, wzr, w10, eq
	ldr	x0, [x1, #24]
	cbz	x0, LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _EAPOL_SM_USES_WPA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAPOL_SM_USES_WPA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w21, w8, w21
	bl	_wpa_auth_sta_get_pmksa
	cbz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _EAPOL_SM_FROM_PMKSA_CACHE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAPOL_SM_FROM_PMKSA_CACHE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w21, w8, w21
LBB0_3:
	ldr	w0, [x20]
	ldp	w3, w1, [x19, #16]
	ldp	w6, w4, [x19, #8]
	ldr	w7, [x19, #4]
	mov	x2, x21
	mov	x5, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_eapol_auth_alloc
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STA_PREAUTH,4,2           ; @WLAN_STA_PREAUTH
	.comm	_EAPOL_SM_PREAUTH,4,2           ; @EAPOL_SM_PREAUTH
	.comm	_EAPOL_SM_USES_WPA,4,2          ; @EAPOL_SM_USES_WPA
	.comm	_EAPOL_SM_FROM_PMKSA_CACHE,4,2  ; @EAPOL_SM_FROM_PMKSA_CACHE
.subsections_via_symbols
