	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlme_event_auth
_mlme_event_auth:                       ## @mlme_event_auth
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_WPA_DRIVER_FLAGS_SME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%rdi)
	je	LBB0_1
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	cmpq	$39, %r14
	ja	LBB0_6
## %bb.4:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	cmpq	$0, 24(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_5:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_6:
	movl	16(%rbx), %edi
	movl	16(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_os_memcpy
	movq	8(%rbx), %rdi
	movl	(%r12), %edx
	xorl	%esi, %esi
	callq	_os_memset
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_os_memset
	movl	-40(%rbp), %edi
	movl	16(%r15), %esi
	movl	(%r12), %edx
	callq	_os_memcpy
	movl	12(%r15), %edi
	callq	_le_to_host16
	movq	%rax, -48(%rbp)
	movl	8(%r15), %edi
	callq	_le_to_host16
	movq	%rax, -56(%rbp)
	movl	4(%r15), %edi
	callq	_le_to_host16
	movq	%rax, -64(%rbp)
	cmpq	$40, %r14
	je	LBB0_8
## %bb.7:
	movl	(%r15), %eax
	movl	%eax, -72(%rbp)
	addq	$-40, %r14
	movq	%r14, -80(%rbp)
LBB0_8:
	movl	(%rbx), %edi
	movq	_EVENT_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	callq	_wpa_supplicant_event
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_DRIVER_FLAGS_SME,4,2       ## @WPA_DRIVER_FLAGS_SME
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl80211: Ignore auth event when using driver SME"

L_.str.1:                               ## @.str.1
	.asciz	"nl80211: Authenticate event"

L_.str.2:                               ## @.str.2
	.asciz	"nl80211: Too short association event frame"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EVENT_AUTH,4,2                 ## @EVENT_AUTH
	.no_dead_strip	_mlme_event_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlme_event_auth
_mlme_event_auth:                       ; @mlme_event_auth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #32]
Lloh0:
	adrp	x9, _WPA_DRIVER_FLAGS_SME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_SME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_1:
Lloh3:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	cmp	x21, #39
	b.hi	LBB0_6
; %bb.2:
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_1
; %bb.4:
Lloh9:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	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
	add	sp, sp, #96
	b	_wpa_printf
LBB0_6:
	ldr	w0, [x19, #16]
	ldr	w1, [x20, #16]
Lloh14:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh15:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_os_memcpy
	ldr	x0, [x19, #8]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_os_memset
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_os_memset
	ldr	w0, [sp, #40]
	ldr	w1, [x20, #16]
	ldr	w2, [x22]
	bl	_os_memcpy
	ldr	w0, [x20, #12]
	bl	_le_to_host16
	str	x0, [sp, #32]
	ldr	w0, [x20, #8]
	bl	_le_to_host16
	str	x0, [sp, #24]
	ldr	w0, [x20, #4]
	bl	_le_to_host16
	str	x0, [sp, #16]
	subs	x8, x21, #40
	b.eq	LBB0_8
; %bb.7:
	ldr	w9, [x20]
	str	w9, [sp, #8]
	str	x8, [sp]
LBB0_8:
	ldr	w0, [x19]
Lloh16:
	adrp	x8, _EVENT_AUTH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EVENT_AUTH@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_wpa_supplicant_event
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_DRIVER_FLAGS_SME,4,2       ; @WPA_DRIVER_FLAGS_SME
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211: Ignore auth event when using driver SME"

l_.str.1:                               ; @.str.1
	.asciz	"nl80211: Authenticate event"

l_.str.2:                               ; @.str.2
	.asciz	"nl80211: Too short association event frame"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EVENT_AUTH,4,2                 ; @EVENT_AUTH
	.no_dead_strip	_mlme_event_auth
.subsections_via_symbols
