	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_auth_sm_event              ## -- Begin function wpa_auth_sm_event
	.p2align	4, 0x90
_wpa_auth_sm_event:                     ## @wpa_auth_sm_event
	.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
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	176(%rdi), %esi
	movl	180(%rdi), %edi
	movq	_LOGGER_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %r8d
	callq	_wpa_auth_vlogger
	leal	-128(%r14), %eax
	cmpl	$2, %eax
	jb	LBB0_5
## %bb.2:
	leal	-131(%r14), %eax
	cmpl	$2, %eax
	jae	LBB0_8
## %bb.3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 168(%rbx)
	jmp	LBB0_14
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_19
LBB0_5:
	cmpl	$0, (%rbx)
	je	LBB0_10
## %bb.6:
	cmpq	$0, 88(%rbx)
	je	LBB0_12
## %bb.7:
	movq	96(%rbx), %rax
	decl	(%rax)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 88(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%rbx)
	jmp	LBB0_13
LBB0_8:
	cmpl	$130, %r14d
	jne	LBB0_14
## %bb.9:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	jmp	LBB0_18
LBB0_10:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movl	$1, (%rbx)
	movq	_TRUE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 112(%rbx)
	movq	%rbx, %rdi
	callq	_wpa_sm_step
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$1, %ecx
	je	LBB0_19
## %bb.11:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 112(%rbx)
	movq	(%r15), %rax
	movq	%rax, 104(%rbx)
	jmp	LBB0_14
LBB0_12:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_13:
	movq	%rax, 72(%rbx)
LBB0_14:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	leaq	32(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
	cmpl	$128, %r14d
	je	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	callq	_wpa_remove_ptk
LBB0_16:
	cmpq	$0, 24(%rbx)
	je	LBB0_20
## %bb.17:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_sm_step                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LOGGER_DEBUG,4,2               ## @LOGGER_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"event %d notification"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"WPA state machine had not been started - initialize now"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_auth_sm_event              ; -- Begin function wpa_auth_sm_event
	.p2align	2
_wpa_auth_sm_event:                     ; @wpa_auth_sm_event
	.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_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #180]
	ldr	w1, [x19, #176]
Lloh0:
	adrp	x8, _LOGGER_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOGGER_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x20
	bl	_wpa_auth_vlogger
	sub	w8, w20, #128
	cmp	w8, #2
	b.lo	LBB0_5
; %bb.2:
	sub	w8, w20, #131
	cmp	w8, #2
	b.hs	LBB0_8
; %bb.3:
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19, #168]
	b	LBB0_13
LBB0_4:
	mov	w21, #-1
	b	LBB0_17
LBB0_5:
	ldr	w8, [x19]
	cbz	w8, LBB0_10
; %bb.6:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_12
; %bb.7:
	ldr	x8, [x19, #96]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19, #88]
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #72]
	b	LBB0_13
LBB0_8:
	cmp	w20, #130
	b.ne	LBB0_13
; %bb.9:
	mov	w21, #0
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x19, #64]
	b	LBB0_17
LBB0_10:
Lloh17:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w21, #1
	str	w21, [x19]
Lloh22:
	adrp	x22, _TRUE@GOTPAGE
Lloh23:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [x19, #112]
	mov	x0, x19
	bl	_wpa_sm_step
	cmp	w0, #1
	b.eq	LBB0_17
; %bb.11:
Lloh24:
	adrp	x8, _FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x9, [x22]
	stp	x9, x8, [x19, #104]
	b	LBB0_13
LBB0_12:
Lloh27:
	adrp	x8, _TRUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x19, #72]
LBB0_13:
Lloh30:
	adrp	x8, _FALSE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x8, [x19, #40]
	add	x0, x19, #32
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
	cmp	w20, #128
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_wpa_remove_ptk
LBB0_15:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_18
; %bb.16:
	mov	w21, #0
Lloh33:
	adrp	x8, _TRUE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_17:
	mov	x0, x21
	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_18:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_LOGGER_DEBUG,4,2               ; @LOGGER_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"event %d notification"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"WPA state machine had not been started - initialize now"

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