	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_auth_sta_associated        ## -- Begin function wpa_auth_sta_associated
	.p2align	4, 0x90
_wpa_auth_sta_associated:               ## @wpa_auth_sta_associated
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$-1, %eax
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	cmpl	$0, (%rdi)
	je	LBB0_8
## %bb.3:
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	leaq	40(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	jmp	LBB0_7
LBB0_5:
	movl	24(%rbx), %esi
	movq	_LOGGER_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_wpa_auth_logger
	movl	$1, (%rbx)
	movq	_TRUE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_wpa_sm_step
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$1, %ecx
	jne	LBB0_6
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_sm_step                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_LOGGER_DEBUG,4,2               ## @LOGGER_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start authentication"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_WPA_PTK_PTKINITDONE,8,3        ## @WPA_PTK_PTKINITDONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_auth_sta_associated        ; -- Begin function wpa_auth_sta_associated
	.p2align	2
_wpa_auth_sta_associated:               ; @wpa_auth_sta_associated
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	w20, #-1
	cbz	x1, LBB0_6
; %bb.2:
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.4:
	add	x0, x19, #40
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	b	LBB0_9
LBB0_5:
	mov	w20, #-1
LBB0_6:
	mov	x0, x20
	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
	ret
LBB0_7:
	ldr	w1, [x19, #24]
Lloh3:
	adrp	x8, _LOGGER_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOGGER_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	bl	_wpa_auth_logger
	mov	w20, #1
	str	w20, [x19]
Lloh8:
	adrp	x21, _TRUE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x19, #16]
	mov	x0, x19
	bl	_wpa_sm_step
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.8:
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [x21]
	stp	x9, x8, [x19, #8]
LBB0_9:
	mov	x0, 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	_wpa_sm_step
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_LOGGER_DEBUG,4,2               ; @LOGGER_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start authentication"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_WPA_PTK_PTKINITDONE,8,3        ; @WPA_PTK_PTKINITDONE
.subsections_via_symbols
