	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eapol_auth_alloc               ## -- Begin function eapol_auth_alloc
	.p2align	4, 0x90
_eapol_auth_alloc:                      ## @eapol_auth_alloc
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%r9, %r15
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	$144, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movl	$-1, (%rax)
	movl	136(%rax), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_os_memcpy
	movl	%r13d, 4(%rbx)
	movq	%r14, 128(%rbx)
	movq	%r15, 120(%rbx)
	movq	_AUTH_PAE_INITIALIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%rbx)
	movq	_AUTH_PAE_DEFAULT_quietPeriod@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rbx)
	movq	_AUTH_PAE_DEFAULT_reAuthMax@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 108(%rbx)
	movq	_BE_AUTH_INITIALIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rbx)
	movq	_BE_AUTH_DEFAULT_serverTimeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rbx)
	movq	_REAUTH_TIMER_INITIALIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rdx
	cmovgq	%rax, %rdx
	movq	%rdx, 88(%rbx)
	movq	_AUTH_KEY_TX_NO_KEY_TRANSMIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 84(%rbx)
	movq	_KEY_RX_NO_KEY_RECEIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 80(%rbx)
	movq	_CTRL_DIR_IN_OR_BOTH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 76(%rbx)
	movq	_Auto@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 72(%rbx)
	cmpq	$0, 120(%r14)
	je	LBB0_5
## %bb.4:
	movq	%rcx, %rax
	jmp	LBB0_8
LBB0_2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_16
LBB0_5:
	cmpq	$0, 128(%r14)
	jne	LBB0_7
## %bb.6:
	cmpq	$0, 8(%r14)
	jle	LBB0_8
LBB0_7:
	movq	%rax, %rcx
LBB0_8:
	movq	%rcx, 64(%rbx)
	movq	%rax, 56(%rbx)
	leaq	-192(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_os_memset
	movl	112(%r14), %eax
	movl	%eax, -72(%rbp)
	movups	96(%r14), %xmm0
	movups	%xmm0, -88(%rbp)
	movups	80(%r14), %xmm0
	movups	%xmm0, -104(%rbp)
	movups	64(%r14), %xmm0
	movups	%xmm0, -120(%rbp)
	movups	48(%r14), %xmm0
	movups	%xmm0, -136(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -144(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -152(%rbp)
	movq	%r12, -160(%rbp)
	movups	32(%r14), %xmm0
	movaps	%xmm0, -176(%rbp)
	movups	16(%r14), %xmm0
	movaps	%xmm0, -192(%rbp)
	movq	_eapol_cb@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_eap_server_sm_init
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	movq	24(%rbp), %r14
	movq	16(%rbp), %r15
	movq	%rax, %rdi
	callq	_eap_get_interface
	movl	%eax, 48(%rbx)
	movq	%rbx, %rdi
	callq	_eapol_auth_initialize
	testq	%r15, %r15
	je	LBB0_12
## %bb.10:
	movq	%r15, %rdi
	callq	_os_strdup
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_os_strlen
	movl	%eax, 24(%rbx)
LBB0_12:
	testq	%r14, %r14
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_os_strlen
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_wpabuf_alloc_copy
	movl	%eax, 20(%rbx)
LBB0_14:
	movq	%rbx, %rdi
	addq	$16, %rdi
	movl	$4, %esi
	callq	_radius_gen_session_id
	testq	%rax, %rax
	jns	LBB0_17
LBB0_15:
	movq	%rbx, %rdi
	callq	_eapol_auth_free
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	movq	%rbx, %rax
	addq	$152, %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	"IEEE 802.1X state machine allocation failed"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_AUTH_PAE_INITIALIZE,4,2        ## @AUTH_PAE_INITIALIZE
	.comm	_AUTH_PAE_DEFAULT_quietPeriod,4,2 ## @AUTH_PAE_DEFAULT_quietPeriod
	.comm	_AUTH_PAE_DEFAULT_reAuthMax,4,2 ## @AUTH_PAE_DEFAULT_reAuthMax
	.comm	_BE_AUTH_INITIALIZE,4,2         ## @BE_AUTH_INITIALIZE
	.comm	_BE_AUTH_DEFAULT_serverTimeout,4,2 ## @BE_AUTH_DEFAULT_serverTimeout
	.comm	_REAUTH_TIMER_INITIALIZE,4,2    ## @REAUTH_TIMER_INITIALIZE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_AUTH_KEY_TX_NO_KEY_TRANSMIT,4,2 ## @AUTH_KEY_TX_NO_KEY_TRANSMIT
	.comm	_KEY_RX_NO_KEY_RECEIVE,4,2      ## @KEY_RX_NO_KEY_RECEIVE
	.comm	_CTRL_DIR_IN_OR_BOTH,4,2        ## @CTRL_DIR_IN_OR_BOTH
	.comm	_Auto,4,2                       ## @Auto
	.comm	_eapol_cb,4,2                   ## @eapol_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eapol_auth_alloc               ; -- Begin function eapol_auth_alloc
	.p2align	2
_eapol_auth_alloc:                      ; @eapol_auth_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_16
; %bb.1:
	mov	x20, x7
	mov	x21, x6
	mov	x26, x5
	mov	x23, x4
	mov	x25, x3
	mov	x27, x2
	mov	x24, x1
	mov	x22, x0
	mov	w0, #144
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.2:
	mov	w8, #-1
	str	w8, [x19]
	ldr	w0, [x19, #136]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_os_memcpy
	str	w27, [x19, #4]
	stp	x26, x22, [x19, #120]
Lloh3:
	adrp	x8, _AUTH_PAE_INITIALIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AUTH_PAE_INITIALIZE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AUTH_PAE_DEFAULT_quietPeriod@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AUTH_PAE_DEFAULT_quietPeriod@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #112]
Lloh9:
	adrp	x8, _AUTH_PAE_DEFAULT_reAuthMax@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AUTH_PAE_DEFAULT_reAuthMax@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _BE_AUTH_INITIALIZE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BE_AUTH_INITIALIZE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #104]
Lloh15:
	adrp	x8, _BE_AUTH_DEFAULT_serverTimeout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BE_AUTH_DEFAULT_serverTimeout@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _REAUTH_TIMER_INITIALIZE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _REAUTH_TIMER_INITIALIZE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #96]
	ldr	x10, [x22]
	str	x10, [x19, #8]
Lloh21:
	adrp	x8, _TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _FALSE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x10, #0
	csel	x10, x8, x9, gt
	str	x10, [x19, #88]
Lloh27:
	adrp	x10, _AUTH_KEY_TX_NO_KEY_TRANSMIT@GOTPAGE
Lloh28:
	ldr	x10, [x10, _AUTH_KEY_TX_NO_KEY_TRANSMIT@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
Lloh30:
	adrp	x11, _KEY_RX_NO_KEY_RECEIVE@GOTPAGE
Lloh31:
	ldr	x11, [x11, _KEY_RX_NO_KEY_RECEIVE@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	stp	w11, w10, [x19, #80]
Lloh33:
	adrp	x10, _CTRL_DIR_IN_OR_BOTH@GOTPAGE
Lloh34:
	ldr	x10, [x10, _CTRL_DIR_IN_OR_BOTH@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
Lloh36:
	adrp	x11, _Auto@GOTPAGE
Lloh37:
	ldr	x11, [x11, _Auto@GOTPAGEOFF]
Lloh38:
	ldr	w11, [x11]
	stp	w11, w10, [x19, #72]
	ldr	x10, [x22, #120]
	cbz	x10, LBB0_5
; %bb.3:
	mov	x8, x9
	b	LBB0_8
LBB0_4:
Lloh39:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str@PAGE
Lloh43:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	b	LBB0_17
LBB0_5:
	ldr	x10, [x22, #128]
	cbnz	x10, LBB0_7
; %bb.6:
	ldr	x10, [x22, #8]
	cmp	x10, #1
	b.lt	LBB0_8
LBB0_7:
	mov	x9, x8
LBB0_8:
	stp	x8, x9, [x19, #56]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #128
	bl	_os_memset
	ldr	w8, [x22, #112]
	str	w8, [sp, #120]
	ldp	q1, q0, [x22, #80]
	stur	q0, [sp, #104]
	stur	q1, [sp, #88]
	ldp	q1, q0, [x22, #48]
	stur	q0, [sp, #72]
	stur	q1, [sp, #56]
	stp	x23, x25, [sp, #40]
	str	x24, [sp, #32]
	ldp	q1, q0, [x22, #16]
	stp	q1, q0, [sp]
Lloh44:
	adrp	x1, _eapol_cb@GOTPAGE
Lloh45:
	ldr	x1, [x1, _eapol_cb@GOTPAGEOFF]
	mov	x2, sp
	mov	x0, x19
	bl	_eap_server_sm_init
	str	x0, [x19, #40]
	cbz	x0, LBB0_15
; %bb.9:
	bl	_eap_get_interface
	str	w0, [x19, #48]
	mov	x0, x19
	bl	_eapol_auth_initialize
	cbz	x21, LBB0_12
; %bb.10:
	mov	x0, x21
	bl	_os_strdup
	str	x0, [x19, #32]
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_os_strlen
	str	w0, [x19, #24]
LBB0_12:
	cbz	x20, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_os_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_wpabuf_alloc_copy
	str	w0, [x19, #20]
LBB0_14:
	add	x0, x19, #16
	mov	w1, #4
	bl	_radius_gen_session_id
	tbz	x0, #63, LBB0_17
LBB0_15:
	mov	x0, x19
	bl	_eapol_auth_free
LBB0_16:
	mov	x19, #0
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IEEE 802.1X state machine allocation failed"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_AUTH_PAE_INITIALIZE,4,2        ; @AUTH_PAE_INITIALIZE
	.comm	_AUTH_PAE_DEFAULT_quietPeriod,4,2 ; @AUTH_PAE_DEFAULT_quietPeriod
	.comm	_AUTH_PAE_DEFAULT_reAuthMax,4,2 ; @AUTH_PAE_DEFAULT_reAuthMax
	.comm	_BE_AUTH_INITIALIZE,4,2         ; @BE_AUTH_INITIALIZE
	.comm	_BE_AUTH_DEFAULT_serverTimeout,4,2 ; @BE_AUTH_DEFAULT_serverTimeout
	.comm	_REAUTH_TIMER_INITIALIZE,4,2    ; @REAUTH_TIMER_INITIALIZE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_AUTH_KEY_TX_NO_KEY_TRANSMIT,4,2 ; @AUTH_KEY_TX_NO_KEY_TRANSMIT
	.comm	_KEY_RX_NO_KEY_RECEIVE,4,2      ; @KEY_RX_NO_KEY_RECEIVE
	.comm	_CTRL_DIR_IN_OR_BOTH,4,2        ; @CTRL_DIR_IN_OR_BOTH
	.comm	_Auto,4,2                       ; @Auto
	.comm	_eapol_cb,4,2                   ; @eapol_cb
.subsections_via_symbols
