	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_assoc_resp
_send_assoc_resp:                       ## @send_assoc_resp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	$1088, %edi                     ## imm = 0x440
	callq	_os_zalloc
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_WLAN_FC_TYPE_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r13d, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_3
## %bb.4:
	movq	_WLAN_FC_STYPE_ASSOC_RESP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rcx, %r13
	jmp	LBB0_21
LBB0_3:
	movq	_WLAN_FC_STYPE_REASSOC_RESP@GOTPCREL(%rip), %rax
LBB0_5:
	movq	%rcx, %r13
	movl	(%rax), %esi
	callq	_IEEE80211_FC
	movl	%eax, 56(%r13)
	movq	48(%r13), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rsi
	callq	_os_memcpy
	movq	40(%r13), %rdi
	movq	32(%r12), %rsi
	movl	(%rbx), %edx
	callq	_os_memcpy
	movq	32(%r13), %rdi
	movq	32(%r12), %rsi
	movl	(%rbx), %edx
	callq	_os_memcpy
	movq	_IEEE80211_HDRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_hostapd_own_capab_info
	movl	%eax, %edi
	callq	_host_to_le16
	movq	%rax, 24(%r13)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_host_to_le16
	movq	%rax, 16(%r13)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:
	movl	(%r14), %ebx
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movl	$14, %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	$15, %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_host_to_le16
	movq	%rax, 8(%r13)
	movq	(%r13), %rsi
	movq	%r12, %rdi
	callq	_hostapd_eid_supp_rates
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_hostapd_eid_ext_supp_rates
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_hostapd_eid_ext_capab
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_hostapd_eid_bss_max_idle_period
	testq	%r14, %r14
	je	LBB0_9
## %bb.10:
	cmpq	$0, 56(%r14)
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_hostapd_eid_qos_map_set
LBB0_12:
	movl	4(%r14), %ecx
	movq	_WLAN_STA_WMM@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_hostapd_eid_wmm
	movl	4(%r14), %ecx
LBB0_14:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	_WLAN_STA_MULTI_AP@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_hostapd_eid_multi_ap
	jmp	LBB0_16
LBB0_9:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_16:
	addl	$32, %r14d
	addq	$4352, %r15                     ## imm = 0x1100
	movq	%r15, %rdx
	subq	%rax, %rdx
	shrq	$2, %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_hostapd_eid_mbo
	movq	%rax, %rbx
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.17:
	subq	%rbx, %r15
	sarq	$2, %r15
	callq	_wpabuf_len
	cltq
	cmpq	%rax, %r15
	jb	LBB0_19
## %bb.18:
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	callq	_wpabuf_head
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	callq	_wpabuf_len
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_os_memcpy
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	callq	_wpabuf_len
	cltq
	leaq	(%rbx,%rax,4), %rbx
LBB0_19:
	subq	(%r13), %rbx
	shrq	$2, %rbx
	addl	%ebx, %r14d
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_hostapd_drv_send_mlme
	movl	$128, %ebx
	testq	%rax, %rax
	jns	LBB0_21
## %bb.20:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_21:
	movq	%r13, %rdi
	callq	_os_free
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,4,2 ## @WLAN_STATUS_UNSPECIFIED_FAILURE
	.comm	_WLAN_FC_TYPE_MGMT,4,2          ## @WLAN_FC_TYPE_MGMT
	.comm	_WLAN_FC_STYPE_REASSOC_RESP,4,2 ## @WLAN_FC_STYPE_REASSOC_RESP
	.comm	_WLAN_FC_STYPE_ASSOC_RESP,4,2   ## @WLAN_FC_STYPE_ASSOC_RESP
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IEEE80211_HDRLEN,4,2           ## @IEEE80211_HDRLEN
	.comm	_WLAN_STA_WMM,4,2               ## @WLAN_STA_WMM
	.comm	_WLAN_STA_MULTI_AP,4,2          ## @WLAN_STA_MULTI_AP
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to send assoc resp: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_FILS_SESSION_LEN,4,2           ## @FILS_SESSION_LEN
	.comm	_IEEE80211_MODE_AP,4,2          ## @IEEE80211_MODE_AP
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.comm	_P2P_MANAGE,4,2                 ## @P2P_MANAGE
	.comm	_P2P_SC_FAIL_INVALID_PARAMS,4,2 ## @P2P_SC_FAIL_INVALID_PARAMS
	.comm	_P2P_SC_FAIL_LIMIT_REACHED,4,2  ## @P2P_SC_FAIL_LIMIT_REACHED
	.comm	_P2P_SC_SUCCESS,4,2             ## @P2P_SC_SUCCESS
	.comm	_ParseFailed,8,3                ## @ParseFailed
	.comm	_VHT_CAP_BEAMFORMEE_STS_OFFSET,4,2 ## @VHT_CAP_BEAMFORMEE_STS_OFFSET
	.comm	_WLAN_AUTH_FILS_PK,4,2          ## @WLAN_AUTH_FILS_PK
	.comm	_WLAN_AUTH_FILS_SK,4,2          ## @WLAN_AUTH_FILS_SK
	.comm	_WLAN_AUTH_FILS_SK_PFS,4,2      ## @WLAN_AUTH_FILS_SK_PFS
	.comm	_WLAN_EID_EXTENSION,8,3         ## @WLAN_EID_EXTENSION
	.comm	_WLAN_EID_EXT_FILS_SESSION,8,3  ## @WLAN_EID_EXT_FILS_SESSION
	.comm	_WLAN_EID_EXT_OWE_DH_PARAM,4,2  ## @WLAN_EID_EXT_OWE_DH_PARAM
	.comm	_WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY,4,2 ## @WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY
	.comm	_WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS,4,2 ## @WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS
	.comm	_WLAN_STA_MAYBE_WPS,4,2         ## @WLAN_STA_MAYBE_WPS
	.comm	_WLAN_STA_VENDOR_VHT,4,2        ## @WLAN_STA_VENDOR_VHT
	.comm	_WLAN_STA_WPS,4,2               ## @WLAN_STA_WPS
	.comm	_WPA_KEY_MGMT_DPP,4,2           ## @WPA_KEY_MGMT_DPP
	.comm	_WPA_KEY_MGMT_OWE,4,2           ## @WPA_KEY_MGMT_OWE
	.no_dead_strip	_send_assoc_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_assoc_resp
_send_assoc_resp:                       ; @send_assoc_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x24, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #1088
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_17
; %bb.1:
Lloh0:
	adrp	x8, _WLAN_FC_TYPE_MGMT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_FC_TYPE_MGMT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _WLAN_FC_STYPE_REASSOC_RESP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WLAN_FC_STYPE_REASSOC_RESP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _WLAN_FC_STYPE_ASSOC_RESP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WLAN_FC_STYPE_ASSOC_RESP@GOTPAGEOFF]
	cmp	w24, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	bl	_IEEE80211_FC
	str	w0, [x19, #56]
	ldr	x0, [x19, #48]
Lloh7:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh8:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x1, x23
	bl	_os_memcpy
	ldr	x0, [x19, #40]
	ldr	x1, [x20, #32]
	ldr	w2, [x24]
	bl	_os_memcpy
	ldr	x0, [x19, #32]
	ldr	x1, [x20, #32]
	ldr	w2, [x24]
	bl	_os_memcpy
Lloh9:
	adrp	x8, _IEEE80211_HDRLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_HDRLEN@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_hostapd_own_capab_info
	bl	_host_to_le16
	str	x0, [x19, #24]
	mov	x0, x22
	bl	_host_to_le16
	str	x0, [x19, #16]
	cbz	x21, LBB0_3
; %bb.2:
	ldr	w22, [x21]
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	mov	w0, #14
	bl	_BIT
	orr	w22, w0, w22
	mov	w0, #15
	bl	_BIT
	orr	w0, w22, w0
	bl	_host_to_le16
	str	x0, [x19, #8]
	ldr	x1, [x19]
	mov	x0, x20
	bl	_hostapd_eid_supp_rates
	mov	x1, x0
	mov	x0, x20
	bl	_hostapd_eid_ext_supp_rates
	mov	x1, x0
	mov	x0, x20
	bl	_hostapd_eid_ext_capab
	mov	x1, x0
	mov	x0, x20
	bl	_hostapd_eid_bss_max_idle_period
	mov	x1, x0
	cbz	x21, LBB0_11
; %bb.5:
	ldr	x8, [x21, #56]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_hostapd_eid_qos_map_set
	mov	x1, x0
LBB0_7:
	ldr	w8, [x21, #4]
Lloh12:
	adrp	x9, _WLAN_STA_WMM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WLAN_STA_WMM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_hostapd_eid_wmm
	mov	x1, x0
	ldr	w8, [x21, #4]
LBB0_9:
Lloh15:
	adrp	x9, _WLAN_STA_MULTI_AP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WLAN_STA_MULTI_AP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_hostapd_eid_multi_ap
	mov	x1, x0
LBB0_11:
	add	w23, w23, #32
	mov	w8, #4352
	add	x22, x19, x8
	sub	x8, x22, x1
	lsr	x2, x8, #2
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_hostapd_eid_mbo
	mov	x21, x0
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_14
; %bb.12:
	sub	x22, x22, x21
	bl	_wpabuf_len
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x22, asr #2
	b.hi	LBB0_14
; %bb.13:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	bl	_wpabuf_head
	mov	x22, x0
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_os_memcpy
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	bl	_wpabuf_len
	add	x21, x21, w0, sxtw #2
LBB0_14:
	ldr	x8, [x19]
	sub	x8, x21, x8
	lsr	x8, x8, #2
	add	w2, w23, w8
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_hostapd_drv_send_mlme
	tbnz	x0, #63, LBB0_16
; %bb.15:
	mov	w20, #128
	b	LBB0_18
LBB0_16:
Lloh18:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
Lloh21:
	adrp	x8, _errno@GOTPAGE
Lloh22:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
LBB0_17:
Lloh26:
	adrp	x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
LBB0_18:
	mov	x0, x19
	bl	_os_free
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,4,2 ; @WLAN_STATUS_UNSPECIFIED_FAILURE
	.comm	_WLAN_FC_TYPE_MGMT,4,2          ; @WLAN_FC_TYPE_MGMT
	.comm	_WLAN_FC_STYPE_REASSOC_RESP,4,2 ; @WLAN_FC_STYPE_REASSOC_RESP
	.comm	_WLAN_FC_STYPE_ASSOC_RESP,4,2   ; @WLAN_FC_STYPE_ASSOC_RESP
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IEEE80211_HDRLEN,4,2           ; @IEEE80211_HDRLEN
	.comm	_WLAN_STA_WMM,4,2               ; @WLAN_STA_WMM
	.comm	_WLAN_STA_MULTI_AP,4,2          ; @WLAN_STA_MULTI_AP
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to send assoc resp: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_FILS_SESSION_LEN,4,2           ; @FILS_SESSION_LEN
	.comm	_IEEE80211_MODE_AP,4,2          ; @IEEE80211_MODE_AP
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.comm	_P2P_MANAGE,4,2                 ; @P2P_MANAGE
	.comm	_P2P_SC_FAIL_INVALID_PARAMS,4,2 ; @P2P_SC_FAIL_INVALID_PARAMS
	.comm	_P2P_SC_FAIL_LIMIT_REACHED,4,2  ; @P2P_SC_FAIL_LIMIT_REACHED
	.comm	_P2P_SC_SUCCESS,4,2             ; @P2P_SC_SUCCESS
	.comm	_ParseFailed,8,3                ; @ParseFailed
	.comm	_VHT_CAP_BEAMFORMEE_STS_OFFSET,4,2 ; @VHT_CAP_BEAMFORMEE_STS_OFFSET
	.comm	_WLAN_AUTH_FILS_PK,4,2          ; @WLAN_AUTH_FILS_PK
	.comm	_WLAN_AUTH_FILS_SK,4,2          ; @WLAN_AUTH_FILS_SK
	.comm	_WLAN_AUTH_FILS_SK_PFS,4,2      ; @WLAN_AUTH_FILS_SK_PFS
	.comm	_WLAN_EID_EXTENSION,8,3         ; @WLAN_EID_EXTENSION
	.comm	_WLAN_EID_EXT_FILS_SESSION,8,3  ; @WLAN_EID_EXT_FILS_SESSION
	.comm	_WLAN_EID_EXT_OWE_DH_PARAM,4,2  ; @WLAN_EID_EXT_OWE_DH_PARAM
	.comm	_WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY,4,2 ; @WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY
	.comm	_WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS,4,2 ; @WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS
	.comm	_WLAN_STA_MAYBE_WPS,4,2         ; @WLAN_STA_MAYBE_WPS
	.comm	_WLAN_STA_VENDOR_VHT,4,2        ; @WLAN_STA_VENDOR_VHT
	.comm	_WLAN_STA_WPS,4,2               ; @WLAN_STA_WPS
	.comm	_WPA_KEY_MGMT_DPP,4,2           ; @WPA_KEY_MGMT_DPP
	.comm	_WPA_KEY_MGMT_OWE,4,2           ; @WPA_KEY_MGMT_OWE
	.no_dead_strip	_send_assoc_resp
.subsections_via_symbols
