	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_ret_802_11_associate   ## -- Begin function mwifiex_ret_802_11_associate
	.p2align	4, 0x90
_mwifiex_ret_802_11_associate:          ## @mwifiex_ret_802_11_associate
	.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
	movq	80(%rdi), %r15
	cmpq	$0, 184(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	12(%rsi), %edi
	callq	_le16_to_cpu
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, %r14d
	movl	$15, %edi
	callq	_BIT
	movl	%eax, %r13d
	movl	$14, %edi
	callq	_BIT
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %r15d
	orl	%r13d, %r15d
	andl	%r14d, %r15d
	movl	$15, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$14, %edi
	callq	_BIT
	orl	%ebx, %eax
	cmpl	%eax, %r15d
	je	LBB0_4
## %bb.3:
	movq	80(%r12), %rax
	movl	36(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_err
LBB0_4:
	movl	$15, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$14, %edi
	callq	_BIT
	orl	%eax, %ebx
	notl	%ebx
	andl	%ebx, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	40(%rbx), %edi
	callq	_le16_to_cpu
	movq	_S_DS_GEN@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	movl	%eax, %edi
	movl	$8, %esi
	callq	_min
	movl	%eax, (%r12)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movl	%eax, 4(%rbx)
	movq	192(%r12), %rdi
	movl	(%r12), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	movq	%rbx, %rax
	je	LBB0_11
## %bb.5:
	movq	80(%r12), %rbx
	incl	28(%rbx)
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	4(%rax), %edi
	callq	_le16_to_cpu
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %ecx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	80(%r12), %rbx
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r15d, %edi
	callq	_assoc_failure_reason_to_str
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	_CONNECT_ERR_ASSOC_ERR_TIMEOUT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_6
## %bb.7:
	movq	_MWIFIEX_ASSOC_CMD_FAILURE_AUTH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_10
## %bb.8:
	movq	_WLAN_STATUS_AUTH_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	80(%r12), %rdi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_9
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_32
LBB0_11:
	movq	%rax, %rbx
	movl	$1, 4(%r12)
	movq	_PS_STATE_AWAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	80(%r12), %rdi
	movl	%eax, 32(%rdi)
	movq	$0, (%rdi)
	movq	184(%r12), %r14
	movq	_INFO@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	36(%r14), %ecx
	leaq	L_.str.6(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	leaq	64(%r12), %rdi
	movq	%r14, %rsi
	movl	$40, %edx
	callq	_memcpy
	movl	32(%r14), %eax
	movl	%eax, 68(%r12)
	movq	24(%r14), %rax
	movq	%rax, 72(%r12)
	movq	8(%r14), %rax
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpq	%rcx, %rax
	sete	%dl
	movl	%edx, 56(%r12)
	cmpq	$0, 176(%r12)
	je	LBB0_12
## %bb.15:
	cmpq	%rcx, %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_14
	jmp	LBB0_16
LBB0_6:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_10:
	movq	_WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	80(%r12), %rdi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
LBB0_9:
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_12:
	cmpq	$0, 16(%r14)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_16
## %bb.13:
	cmpq	%rcx, %rax
	jne	LBB0_16
LBB0_14:
	movl	$1, 8(%r12)
	movq	_IEEE80211_WMM_IE_AP_QOSINFO_UAPSD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%r14), %eax
	setne	%cl
	movl	%ecx, 60(%r12)
	jmp	LBB0_17
LBB0_16:
	movl	$0, 8(%r12)
	movl	$0, 60(%r12)
LBB0_17:
	movq	_WLAN_EID_HT_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movl	(%r12), %edx
	addl	$-16, %edx
	callq	_cfg80211_find_ie
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movl	32(%rax), %eax
	movl	%eax, 172(%r12)
	movl	$1, %eax
	jmp	LBB0_20
LBB0_18:
	xorl	%eax, %eax
LBB0_20:
	movl	%eax, 12(%r12)
	movq	80(%r12), %rdi
	movl	(%r13), %esi
	movl	168(%r12), %ecx
	leaq	L_.str.7(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	cmpq	$0, 40(%r12)
	jne	LBB0_22
## %bb.21:
	cmpq	$0, 32(%r12)
	je	LBB0_23
LBB0_22:
	movl	$0, 16(%r12)
LBB0_23:
	cmpl	$0, 8(%r12)
	jne	LBB0_25
## %bb.24:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_mwifiex_wmm_setup_queue_priorities
	movq	%r12, %rdi
	callq	_mwifiex_wmm_setup_ac_downgrade
	movq	80(%r12), %rdi
	movl	(%r13), %esi
	leaq	L_.str.8(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_25:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 152(%r12)
	movups	%xmm0, 136(%r12)
	movups	%xmm0, 120(%r12)
	movups	%xmm0, 104(%r12)
	movups	%xmm0, 88(%r12)
	movq	%r12, %rdi
	callq	_mwifiex_save_curr_bcn
	movq	80(%r12), %rdi
	incl	24(%rdi)
	movl	(%r13), %esi
	leaq	L_.str.9(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	64(%r12), %esi
	movq	%r12, %rdi
	callq	_mwifiex_ralist_add
	movl	48(%r12), %edi
	callq	_netif_carrier_ok
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:
	movl	48(%r12), %edi
	callq	_netif_carrier_on
LBB0_27:
	movl	48(%r12), %edi
	movq	%r15, %rsi
	callq	_mwifiex_wake_up_net_dev_queue
	cmpq	$0, 40(%r12)
	jne	LBB0_29
## %bb.28:
	cmpq	$0, 32(%r12)
	je	LBB0_30
LBB0_29:
	movl	$1, 20(%r12)
LBB0_31:
	xorl	%r13d, %r13d
LBB0_32:
	movq	16(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_34
## %bb.33:
	xorl	%eax, %eax
	movl	%r13d, %ecx
	negl	%ecx
	sbbl	%eax, %eax
	movl	%eax, 8(%r15)
LBB0_34:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movl	$1, 24(%r12)
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ASSOC_RESP: failed, association terminated by host\n"

L_.str.1:                               ## @.str.1
	.asciz	"invalid AID value 0x%x; bits 15:14 not set\n"

	.comm	_S_DS_GEN,4,2                   ## @S_DS_GEN
L_.str.2:                               ## @.str.2
	.asciz	"ASSOC_RESP: failed,\tstatus code=%d err=%#x a_id=%#x\n"

L_.str.3:                               ## @.str.3
	.asciz	"assoc failure: reason %s\n"

	.comm	_CONNECT_ERR_ASSOC_ERR_TIMEOUT,4,2 ## @CONNECT_ERR_ASSOC_ERR_TIMEOUT
	.comm	_MWIFIEX_ASSOC_CMD_FAILURE_AUTH,4,2 ## @MWIFIEX_ASSOC_CMD_FAILURE_AUTH
	.comm	_WLAN_STATUS_AUTH_TIMEOUT,4,2   ## @WLAN_STATUS_AUTH_TIMEOUT
L_.str.4:                               ## @.str.4
	.asciz	"ASSOC_RESP: AUTH timeout\n"

	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,4,2 ## @WLAN_STATUS_UNSPECIFIED_FAILURE
L_.str.5:                               ## @.str.5
	.asciz	"ASSOC_RESP: UNSPECIFIED failure\n"

	.comm	_PS_STATE_AWAKE,4,2             ## @PS_STATE_AWAKE
	.comm	_INFO,4,2                       ## @INFO
L_.str.6:                               ## @.str.6
	.asciz	"info: ASSOC_RESP: %s\n"

	.comm	_WLAN_EID_VENDOR_SPECIFIC,8,3   ## @WLAN_EID_VENDOR_SPECIFIC
	.comm	_IEEE80211_WMM_IE_AP_QOSINFO_UAPSD,4,2 ## @IEEE80211_WMM_IE_AP_QOSINFO_UAPSD
	.comm	_WLAN_EID_HT_OPERATION,4,2      ## @WLAN_EID_HT_OPERATION
L_.str.7:                               ## @.str.7
	.asciz	"info: ASSOC_RESP: curr_pkt_filter is %#x\n"

L_.str.8:                               ## @.str.8
	.asciz	"info: post association, re-enabling data flow\n"

L_.str.9:                               ## @.str.9
	.asciz	"info: ASSOC_RESP: associated\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_ret_802_11_associate   ; -- Begin function mwifiex_ret_802_11_associate
	.p2align	2
_mwifiex_ret_802_11_associate:          ; @mwifiex_ret_802_11_associate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x19, [x0, #80]
	ldr	x8, [x0, #184]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x22, x1
	mov	x20, x0
	ldr	w0, [x1, #12]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	w0, [x22, #8]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	w0, [x22, #4]
	bl	_le16_to_cpu
	mov	x24, x0
	mov	w0, #15
	bl	_BIT
	mov	x25, x0
	mov	w0, #14
	bl	_BIT
	orr	w8, w0, w25
	and	w26, w8, w24
	mov	w0, #15
	bl	_BIT
	mov	x25, x0
	mov	w0, #14
	bl	_BIT
	orr	w8, w0, w25
	cmp	w26, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x20, #80]
	ldr	w0, [x8, #36]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	bl	_dev_err
LBB0_3:
	mov	w0, #15
	bl	_BIT
	mov	x25, x0
	mov	w0, #14
	bl	_BIT
	orr	w8, w0, w25
	bic	w24, w24, w8
	ldr	w0, [x22, #40]
	bl	_le16_to_cpu
Lloh2:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sub	w0, w0, w8
	mov	w1, #8
	bl	_min
	str	w0, [x20]
	mov	x0, x24
	bl	_cpu_to_le16
	str	w0, [x22, #4]
	ldr	x0, [x20, #192]
	ldr	w2, [x20]
	mov	x1, x22
	bl	_memcpy
	cbz	w21, LBB0_8
; %bb.4:
	ldr	x24, [x20, #80]
	ldr	w8, [x24, #28]
	add	w8, w8, #1
	str	w8, [x24, #28]
Lloh5:
	adrp	x26, _ERROR@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ERROR@GOTPAGEOFF]
	ldr	w25, [x26]
	ldr	w0, [x22, #4]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp, #8]
	str	x21, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x24
	mov	x1, x25
	bl	_mwifiex_dbg
	ldr	x22, [x20, #80]
	ldr	w24, [x26]
	mov	x0, x23
	bl	_assoc_failure_reason_to_str
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x1, x24
	bl	_mwifiex_dbg
Lloh11:
	adrp	x8, _CONNECT_ERR_ASSOC_ERR_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CONNECT_ERR_ASSOC_ERR_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_27
; %bb.5:
Lloh14:
	adrp	x8, _MWIFIEX_ASSOC_CMD_FAILURE_AUTH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MWIFIEX_ASSOC_CMD_FAILURE_AUTH@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_15
; %bb.6:
Lloh17:
	adrp	x8, _WLAN_STATUS_AUTH_TIMEOUT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WLAN_STATUS_AUTH_TIMEOUT@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
	ldr	x0, [x20, #80]
	ldr	w1, [x26]
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_mwifiex_dbg
	b	LBB0_27
LBB0_7:
Lloh22:
	adrp	x8, _ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x2, l_.str@PAGE
Lloh26:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	w21, #0
	b	LBB0_27
LBB0_8:
	mov	w8, #1
	str	w8, [x20, #4]
Lloh27:
	adrp	x8, _PS_STATE_AWAKE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PS_STATE_AWAKE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	x0, [x20, #80]
	str	w8, [x0, #32]
	str	xzr, [x0]
	ldr	x21, [x20, #184]
Lloh30:
	adrp	x23, _INFO@GOTPAGE
Lloh31:
	ldr	x23, [x23, _INFO@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w8, [x21, #36]
	str	x8, [sp]
Lloh32:
	adrp	x2, l_.str.6@PAGE
Lloh33:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_mwifiex_dbg
	add	x0, x20, #64
	mov	x1, x21
	mov	w2, #40
	bl	_memcpy
	ldr	w8, [x21, #32]
	str	w8, [x20, #68]
	ldr	x8, [x21, #24]
	str	x8, [x20, #72]
Lloh34:
	adrp	x9, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGE
Lloh35:
	ldr	x9, [x9, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGEOFF]
	ldr	x8, [x21, #8]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w10, eq
	str	w10, [x20, #56]
	ldr	x10, [x20, #176]
	cbnz	x10, LBB0_10
; %bb.9:
	ldr	x10, [x21, #16]
	cbz	x10, LBB0_12
LBB0_10:
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x20, #8]
	ldr	w8, [x21]
Lloh37:
	adrp	x9, _IEEE80211_WMM_IE_AP_QOSINFO_UAPSD@GOTPAGE
Lloh38:
	ldr	x9, [x9, _IEEE80211_WMM_IE_AP_QOSINFO_UAPSD@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x20, #60]
	b	LBB0_13
LBB0_12:
	str	wzr, [x20, #8]
	str	wzr, [x20, #60]
LBB0_13:
Lloh40:
	adrp	x8, _WLAN_EID_HT_OPERATION@GOTPAGE
Lloh41:
	ldr	x8, [x8, _WLAN_EID_HT_OPERATION@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	ldr	w1, [x22]
	ldr	w8, [x20]
	sub	w2, w8, #16
	bl	_cfg80211_find_ie
	cbz	x0, LBB0_16
; %bb.14:
	ldr	w8, [x0, #32]
	str	w8, [x20, #172]
	mov	w8, #1
	b	LBB0_17
LBB0_15:
Lloh43:
	adrp	x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGEOFF]
Lloh45:
	ldr	w21, [x8]
	ldr	x0, [x20, #80]
	ldr	w1, [x26]
Lloh46:
	adrp	x2, l_.str.5@PAGE
Lloh47:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_mwifiex_dbg
	b	LBB0_27
LBB0_16:
	mov	w8, #0
LBB0_17:
	str	w8, [x20, #12]
	ldr	x0, [x20, #80]
	ldr	w1, [x23]
	ldr	w8, [x20, #168]
	str	x8, [sp]
Lloh48:
	adrp	x2, l_.str.7@PAGE
Lloh49:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_mwifiex_dbg
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_19
; %bb.18:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_20
LBB0_19:
	str	wzr, [x20, #16]
LBB0_20:
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_22
; %bb.21:
	mov	x0, x20
	mov	x1, #0
	bl	_mwifiex_wmm_setup_queue_priorities
	mov	x0, x20
	bl	_mwifiex_wmm_setup_ac_downgrade
	ldr	x0, [x20, #80]
	ldr	w1, [x23]
Lloh50:
	adrp	x2, l_.str.8@PAGE
Lloh51:
	add	x2, x2, l_.str.8@PAGEOFF
	bl	_mwifiex_dbg
LBB0_22:
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #152]
	stur	q0, [x20, #136]
	stur	q0, [x20, #120]
	stur	q0, [x20, #104]
	stur	q0, [x20, #88]
	mov	x0, x20
	bl	_mwifiex_save_curr_bcn
	ldr	x0, [x20, #80]
	ldr	w8, [x0, #24]
	add	w8, w8, #1
	str	w8, [x0, #24]
	ldr	w1, [x23]
Lloh52:
	adrp	x2, l_.str.9@PAGE
Lloh53:
	add	x2, x2, l_.str.9@PAGEOFF
	bl	_mwifiex_dbg
	ldr	w1, [x20, #64]
	mov	x0, x20
	bl	_mwifiex_ralist_add
	ldr	w0, [x20, #48]
	bl	_netif_carrier_ok
	cbnz	w0, LBB0_24
; %bb.23:
	ldr	w0, [x20, #48]
	bl	_netif_carrier_on
LBB0_24:
	ldr	w0, [x20, #48]
	mov	x1, x19
	bl	_mwifiex_wake_up_net_dev_queue
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_26
; %bb.25:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_30
LBB0_26:
	mov	w21, #0
	mov	w8, #1
	str	w8, [x20, #20]
LBB0_27:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.28:
	cmp	w21, #0
	csetm	w8, ne
	str	w8, [x19, #8]
LBB0_29:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_30:
	mov	w21, #0
	mov	w8, #1
	str	w8, [x20, #24]
	b	LBB0_27
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASSOC_RESP: failed, association terminated by host\n"

l_.str.1:                               ; @.str.1
	.asciz	"invalid AID value 0x%x; bits 15:14 not set\n"

	.comm	_S_DS_GEN,4,2                   ; @S_DS_GEN
l_.str.2:                               ; @.str.2
	.asciz	"ASSOC_RESP: failed,\tstatus code=%d err=%#x a_id=%#x\n"

l_.str.3:                               ; @.str.3
	.asciz	"assoc failure: reason %s\n"

	.comm	_CONNECT_ERR_ASSOC_ERR_TIMEOUT,4,2 ; @CONNECT_ERR_ASSOC_ERR_TIMEOUT
	.comm	_MWIFIEX_ASSOC_CMD_FAILURE_AUTH,4,2 ; @MWIFIEX_ASSOC_CMD_FAILURE_AUTH
	.comm	_WLAN_STATUS_AUTH_TIMEOUT,4,2   ; @WLAN_STATUS_AUTH_TIMEOUT
l_.str.4:                               ; @.str.4
	.asciz	"ASSOC_RESP: AUTH timeout\n"

	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,4,2 ; @WLAN_STATUS_UNSPECIFIED_FAILURE
l_.str.5:                               ; @.str.5
	.asciz	"ASSOC_RESP: UNSPECIFIED failure\n"

	.comm	_PS_STATE_AWAKE,4,2             ; @PS_STATE_AWAKE
	.comm	_INFO,4,2                       ; @INFO
l_.str.6:                               ; @.str.6
	.asciz	"info: ASSOC_RESP: %s\n"

	.comm	_WLAN_EID_VENDOR_SPECIFIC,8,3   ; @WLAN_EID_VENDOR_SPECIFIC
	.comm	_IEEE80211_WMM_IE_AP_QOSINFO_UAPSD,4,2 ; @IEEE80211_WMM_IE_AP_QOSINFO_UAPSD
	.comm	_WLAN_EID_HT_OPERATION,4,2      ; @WLAN_EID_HT_OPERATION
l_.str.7:                               ; @.str.7
	.asciz	"info: ASSOC_RESP: curr_pkt_filter is %#x\n"

l_.str.8:                               ; @.str.8
	.asciz	"info: post association, re-enabling data flow\n"

l_.str.9:                               ; @.str.9
	.asciz	"info: ASSOC_RESP: associated\n"

.subsections_via_symbols
