	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlme_event_assoc
_mlme_event_assoc:                      ## @mlme_event_assoc
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	_WPA_DRIVER_FLAGS_SME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 48(%rdi)
	je	LBB0_1
LBB0_3:
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpq	$39, %r15
	ja	LBB0_6
## %bb.4:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	cmpq	$0, 40(%r12)
	je	LBB0_3
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_5:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_6:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edi
	callq	_le_to_host16
	movq	%rax, %r14
	movq	_WLAN_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_7
## %bb.10:
	movl	$1, (%r12)
	movl	32(%r12), %edi
	movl	16(%r13), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_os_memcpy
	movl	28(%r12), %edi
	movl	16(%r13), %esi
	movl	(%r14), %edx
	callq	_os_memcpy
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_os_memset
	movq	%r13, -56(%rbp)
	movq	%r15, -96(%rbp)
	cmpq	$41, %r15
	jb	LBB0_12
## %bb.11:
	movq	(%r13), %rax
	movq	%rax, -64(%rbp)
	addq	$-40, %r15
	movq	%r15, -88(%rbp)
LBB0_12:
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_nla_data
	movl	%eax, -68(%rbp)
	movq	%rbx, %rdi
	callq	_nla_len
	movl	%eax, -72(%rbp)
LBB0_14:
	movl	24(%r12), %esi
	movq	%r12, %rdi
	callq	_nl80211_get_assoc_ssid
	testl	%eax, %eax
	jle	LBB0_16
## %bb.15:
	movl	%eax, 4(%r12)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	24(%r12), %edi
	movl	%eax, %esi
	callq	_wpa_ssid_txt
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_16:
	movl	12(%r12), %eax
	movl	%eax, -76(%rbp)
	movq	16(%r12), %rcx
	movl	%eax, (%rcx)
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_nl80211_parse_wmm_params
	movl	8(%r12), %edi
	movq	_EVENT_ASSOC@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_7:
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_os_memset
	movl	20(%r13), %eax
	movl	%eax, -72(%rbp)
	cmpq	$41, %r15
	jb	LBB0_9
## %bb.8:
	movq	(%r13), %rax
	movq	%rax, -80(%rbp)
	addq	$-40, %r15
	movq	%r15, -96(%rbp)
LBB0_9:
	movq	%r14, -88(%rbp)
	movl	8(%r12), %edi
	movq	_EVENT_ASSOC_REJECT@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %esi
	leaq	-96(%rbp), %rdx
	callq	_wpa_supplicant_event
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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 assoc event when using driver SME"

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

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

	.comm	_WLAN_STATUS_SUCCESS,8,3        ## @WLAN_STATUS_SUCCESS
	.comm	_EVENT_ASSOC_REJECT,4,2         ## @EVENT_ASSOC_REJECT
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.3:                               ## @.str.3
	.asciz	"nl80211: Set drv->ssid based on scan res info to '%s'"

	.comm	_EVENT_ASSOC,4,2                ## @EVENT_ASSOC
	.no_dead_strip	_mlme_event_assoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlme_event_assoc
_mlme_event_assoc:                      ; @mlme_event_assoc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x22, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w8, [x0, #48]
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	x25, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
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, [x25]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:
	ldr	x8, [x19, #40]
	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, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_wpa_printf
LBB0_6:
	ldr	w0, [x23, #8]
	bl	_le_to_host16
Lloh14:
	adrp	x8, _WLAN_STATUS_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WLAN_STATUS_SUCCESS@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.7:
	mov	w8, #1
	str	w8, [x19]
	ldr	w0, [x19, #32]
	ldr	w1, [x23, #16]
Lloh17:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh18:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_os_memcpy
	ldr	w0, [x19, #28]
	ldr	w1, [x23, #16]
	ldr	w2, [x24]
	bl	_os_memcpy
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #48
	bl	_os_memset
	str	x23, [sp, #56]
	str	x21, [sp, #16]
	cmp	x21, #41
	b.lo	LBB0_9
; %bb.8:
	ldr	x8, [x23]
	sub	x9, x21, #40
	str	x8, [sp, #48]
	str	x9, [sp, #24]
LBB0_9:
	cbz	x22, LBB0_11
; %bb.10:
	mov	x0, x22
	bl	_nla_data
	str	w0, [sp, #44]
	mov	x0, x22
	bl	_nla_len
	str	w0, [sp, #40]
LBB0_11:
	ldr	w1, [x19, #24]
	mov	x0, x19
	bl	_nl80211_get_assoc_ssid
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.12:
	mov	x1, x0
	str	w0, [x19, #4]
	ldr	w21, [x25]
	ldr	w0, [x19, #24]
	bl	_wpa_ssid_txt
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_wpa_printf
LBB0_13:
	ldr	w8, [x19, #12]
	str	w8, [sp, #36]
	ldr	x9, [x19, #16]
	str	w8, [x9]
	add	x8, sp, #16
	add	x1, x8, #16
	mov	x0, x20
	bl	_nl80211_parse_wmm_params
	ldr	w0, [x19, #8]
Lloh21:
	adrp	x8, _EVENT_ASSOC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EVENT_ASSOC@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:
	mov	x24, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #48
	bl	_os_memset
	ldr	w8, [x23, #20]
	str	w8, [sp, #40]
	cmp	x21, #41
	b.lo	LBB0_16
; %bb.15:
	ldr	x8, [x23]
	sub	x9, x21, #40
	str	x8, [sp, #32]
	str	x9, [sp, #16]
LBB0_16:
	str	x24, [sp, #24]
	ldr	w0, [x19, #8]
Lloh23:
	adrp	x8, _EVENT_ASSOC_REJECT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EVENT_ASSOC_REJECT@GOTPAGEOFF]
LBB0_17:
	ldr	w1, [x8]
	add	x2, sp, #16
	bl	_wpa_supplicant_event
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	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 AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.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 assoc event when using driver SME"

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

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

	.comm	_WLAN_STATUS_SUCCESS,8,3        ; @WLAN_STATUS_SUCCESS
	.comm	_EVENT_ASSOC_REJECT,4,2         ; @EVENT_ASSOC_REJECT
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.3:                               ; @.str.3
	.asciz	"nl80211: Set drv->ssid based on scan res info to '%s'"

	.comm	_EVENT_ASSOC,4,2                ; @EVENT_ASSOC
	.no_dead_strip	_mlme_event_assoc
.subsections_via_symbols
