	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cw1200_do_join
_cw1200_do_join:                        ## @cw1200_do_join
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	72(%rdi), %r14
	movl	$1, -112(%rbp)
	movl	8(%r14), %esi
	callq	_cw1200_rate_mask_to_wsm
	movl	%eax, %r15d
	movl	%eax, -108(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -104(%rbp)
	movups	%xmm0, -88(%rbp)
	movq	$0, -72(%rbp)
	movq	_WSM_JOIN_PREAMBLE_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	cmpq	$0, 24(%r14)
	jne	LBB0_1
## %bb.2:
	movq	_WSM_JOIN_MODE_BSS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_WSM_JOIN_MODE_IBSS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	leaq	44(%rbx), %r12
	movq	%r12, %rdi
	callq	_delayed_work_pending
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
LBB0_5:
	movq	%rbx, %rdi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wsm_unlock_tx                  ## TAILCALL
LBB0_6:
	cmpq	$0, 48(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_cw1200_do_unjoin
LBB0_8:
	movq	24(%rbx), %rax
	movq	72(%rbx), %rcx
	movq	16(%rcx), %r13
	movl	(%rax), %edi
	movq	80(%rbx), %rsi
	movq	_IEEE80211_BSS_TYPE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_IEEE80211_PRIVACY_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_cfg80211_get_bss
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	cmpq	$0, 24(%r14)
	je	LBB0_5
LBB0_10:
	leaq	32(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	leaq	104(%rbx), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_wsm_unlock_tx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_12:
	movl	$1, (%rbx)
	testl	%r15d, %r15d
	jne	LBB0_14
## %bb.13:
	movl	$7, -108(%rbp)
LBB0_14:
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_16
## %bb.15:
	movl	$1, 4(%rbx)
	movl	$1, %ecx
LBB0_16:
	movl	%ecx, -104(%rbp)
	cmpq	$0, 96(%rbx)
	je	LBB0_18
## %bb.17:
	imull	$100, 8(%rbx), %eax
	cltd
	idivl	%ecx
	cmpl	$1, %edx
	sbbl	$-1, %eax
	movl	%eax, 12(%rbx)
LBB0_18:
	movq	24(%rbx), %rax
	movq	8(%rax), %r15
	testq	%r15, %r15
	je	LBB0_19
## %bb.20:
	movq	%r15, 88(%rbx)
	jmp	LBB0_21
LBB0_19:
	movq	88(%rbx), %r15
LBB0_21:
	movq	%r15, -88(%rbp)
	movq	80(%rbx), %rax
	movl	8(%rax), %ecx
	movl	%ecx, -72(%rbp)
	movq	(%rax), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.23:
	movq	_WSM_PHY_BAND_5G@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_22:
	movq	_WSM_PHY_BAND_2_4G@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	xorl	%edi, %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	4(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_pr_debug
	cmpq	$0, 24(%r14)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_28
## %bb.25:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_WLAN_EID_SSID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ieee80211_bss_get_ie
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movl	4(%rax), %edx
	movl	%edx, -100(%rbp)
	addq	$8, %rax
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_memcpy
LBB0_27:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_28:
	movq	72(%rbx), %rax
	cmpq	$0, (%rax)
	movl	$0, %r15d
	je	LBB0_30
## %bb.29:
	movq	_WSM_JOIN_FLAGS_P2P_GO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, -96(%rbp)
	movq	%rbx, %rdi
	movl	$4080, %esi                     ## imm = 0xFF0
	callq	_cw1200_rate_mask_to_wsm
	movl	%eax, -108(%rbp)
LBB0_30:
	cmpq	$0, 24(%r14)
	jne	LBB0_32
## %bb.31:
	movq	_WSM_JOIN_FLAGS_FORCE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_WSM_JOIN_FLAGS_FORCE_WITH_COMPLETE_IND@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r15d, -96(%rbp)
LBB0_32:
	movl	%r15d, %r14d
	movq	%rbx, %rdi
	callq	_wsm_flush_tx
	leaq	64(%rbx), %rdi
	movq	_CW1200_JOIN_TIMEOUT@GOTPCREL(%rip), %r15
	movq	_CW1200_AUTH_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_cw1200_pm_stay_awake
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cw1200_update_listening
	movl	56(%rbx), %edx
	movl	60(%rbx), %esi
	movq	%rbx, %rdi
	callq	_wsm_set_block_ack_policy
	movq	_WSM_JOIN_FLAGS_FORCE_WITH_COMPLETE_IND@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	movq	%rax, %r14
	je	LBB0_34
## %bb.33:
	movq	_CW1200_JOIN_STATUS_JOINING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
	movl	40(%rbx), %edi
	movq	(%r15), %rdx
	movq	%r12, %rsi
	callq	_queue_delayed_work
LBB0_34:
	movq	$0, -120(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -128(%rbp)
	leaq	-128(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wsm_set_protected_mgmt_policy
	leaq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wsm_join
	testq	%rax, %rax
	je	LBB0_37
## %bb.35:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	movq	%r12, %rdi
	callq	_cancel_delayed_work_sync
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_cw1200_update_listening
	movl	40(%rbx), %edi
	leaq	36(%rbx), %rsi
	callq	_queue_work
	testq	%rax, %rax
	jg	LBB0_40
## %bb.36:
	movq	%rbx, %rdi
	callq	_wsm_unlock_tx
	jmp	LBB0_40
LBB0_37:
	movl	(%r14), %eax
	testl	%eax, -96(%rbp)
	jne	LBB0_39
## %bb.38:
	movq	%rbx, %rdi
	callq	_cw1200_join_complete
LBB0_39:
	movq	%rbx, %rdi
	callq	_cw1200_upload_keys
	movl	$1, 20(%rbx)
LBB0_40:
	movq	%rbx, %rdi
	callq	_cw1200_update_filtering
LBB0_41:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	testq	%r13, %r13
	je	LBB0_43
## %bb.42:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_cfg80211_put_bss
LBB0_43:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WSM_JOIN_PREAMBLE_LONG,4,2     ## @WSM_JOIN_PREAMBLE_LONG
	.comm	_WSM_JOIN_MODE_IBSS,4,2         ## @WSM_JOIN_MODE_IBSS
	.comm	_WSM_JOIN_MODE_BSS,4,2          ## @WSM_JOIN_MODE_BSS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[STA] - Join request already pending, skipping..\n"

	.comm	_IEEE80211_BSS_TYPE_ANY,4,2     ## @IEEE80211_BSS_TYPE_ANY
	.comm	_IEEE80211_PRIVACY_ANY,4,2      ## @IEEE80211_PRIVACY_ANY
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_WSM_PHY_BAND_5G,4,2            ## @WSM_PHY_BAND_5G
	.comm	_WSM_PHY_BAND_2_4G,4,2          ## @WSM_PHY_BAND_2_4G
L_.str.1:                               ## @.str.1
	.asciz	"[STA] Join BSSID: %pM DTIM: %d, interval: %d\n"

	.comm	_WLAN_EID_SSID,4,2              ## @WLAN_EID_SSID
	.comm	_WSM_JOIN_FLAGS_P2P_GO,4,2      ## @WSM_JOIN_FLAGS_P2P_GO
	.comm	_WSM_JOIN_FLAGS_FORCE,4,2       ## @WSM_JOIN_FLAGS_FORCE
	.comm	_WSM_JOIN_FLAGS_FORCE_WITH_COMPLETE_IND,4,2 ## @WSM_JOIN_FLAGS_FORCE_WITH_COMPLETE_IND
	.comm	_CW1200_JOIN_TIMEOUT,8,3        ## @CW1200_JOIN_TIMEOUT
	.comm	_CW1200_AUTH_TIMEOUT,8,3        ## @CW1200_AUTH_TIMEOUT
	.comm	_CW1200_JOIN_STATUS_JOINING,8,3 ## @CW1200_JOIN_STATUS_JOINING
L_.str.2:                               ## @.str.2
	.asciz	"[STA] cw1200_join_work: wsm_join failed!\n"

	.no_dead_strip	_cw1200_do_join
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cw1200_do_join
_cw1200_do_join:                        ; @cw1200_do_join
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x0
	ldr	x25, [x0, #72]
	mov	w8, #1
	str	w8, [sp, #8]
	ldr	w1, [x25, #8]
	bl	_cw1200_rate_mask_to_wsm
	mov	x24, x0
	str	w0, [sp, #12]
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
Lloh0:
	adrp	x8, _WSM_JOIN_PREAMBLE_LONG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WSM_JOIN_PREAMBLE_LONG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #56]
Lloh3:
	adrp	x8, _WSM_JOIN_MODE_IBSS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WSM_JOIN_MODE_IBSS@GOTPAGEOFF]
Lloh5:
	adrp	x9, _WSM_JOIN_MODE_BSS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WSM_JOIN_MODE_BSS@GOTPAGEOFF]
	ldr	x10, [x25, #24]
	cmp	x10, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [sp, #60]
	add	x22, x19, #44
	mov	x0, x22
	bl	_delayed_work_pending
	cbz	x0, LBB0_3
; %bb.1:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_wsm_unlock_tx
LBB0_3:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_cw1200_do_unjoin
LBB0_5:
	ldp	x8, x1, [x19, #72]
	ldr	x23, [x8, #16]
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _IEEE80211_BSS_TYPE_ANY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_BSS_TYPE_ANY@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
Lloh12:
	adrp	x8, _IEEE80211_PRIVACY_ANY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_PRIVACY_ANY@GOTPAGEOFF]
Lloh14:
	ldr	w6, [x8]
	mov	x2, x23
	mov	x3, #0
	mov	w4, #0
	bl	_cfg80211_get_bss
	mov	x20, x0
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_2
LBB0_7:
	add	x21, x19, #32
	mov	x0, x21
	bl	_mutex_lock
	add	x0, x19, #104
	bl	_atomic_read
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_wsm_unlock_tx
	b	LBB0_36
LBB0_9:
	mov	w8, #1
	str	w8, [x19]
	cbnz	w24, LBB0_11
; %bb.10:
	mov	w8, #7
	str	w8, [sp, #12]
LBB0_11:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_13:
	str	w8, [sp, #16]
	ldr	x9, [x19, #96]
	cbz	x9, LBB0_15
; %bb.14:
	ldr	w9, [x19, #8]
	mov	w10, #100
	mul	w9, w9, w10
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	cmp	w8, #0
	cinc	w8, w10, ne
	str	w8, [x19, #12]
LBB0_15:
	ldr	x8, [x19, #24]
	ldr	x24, [x8, #8]
	cbz	x24, LBB0_17
; %bb.16:
	str	x24, [x19, #88]
	b	LBB0_18
LBB0_17:
	ldr	x24, [x19, #88]
LBB0_18:
	str	x24, [sp, #32]
	ldr	x8, [x19, #80]
	ldr	w9, [x8, #8]
	str	w9, [sp, #48]
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _WSM_PHY_BAND_5G@GOTPAGE
Lloh19:
	ldr	x10, [x10, _WSM_PHY_BAND_5G@GOTPAGEOFF]
Lloh20:
	adrp	x11, _WSM_PHY_BAND_2_4G@GOTPAGE
Lloh21:
	ldr	x11, [x11, _WSM_PHY_BAND_2_4G@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [sp, #44]
	mov	w0, #0
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
	ldr	w3, [x19, #4]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
	mov	x2, x24
	bl	_pr_debug
	ldr	x8, [x25, #24]
	cbnz	x8, LBB0_22
; %bb.19:
	bl	_rcu_read_lock
Lloh24:
	adrp	x8, _WLAN_EID_SSID@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WLAN_EID_SSID@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ieee80211_bss_get_ie
	cbz	x0, LBB0_21
; %bb.20:
	ldr	w2, [x0, #4]
	str	w2, [sp, #20]
	add	x1, x0, #8
	mov	w0, #0
	bl	_memcpy
LBB0_21:
	bl	_rcu_read_unlock
LBB0_22:
	ldr	x8, [x19, #72]
	ldr	x8, [x8]
	cbz	x8, LBB0_24
; %bb.23:
Lloh27:
	adrp	x8, _WSM_JOIN_FLAGS_P2P_GO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WSM_JOIN_FLAGS_P2P_GO@GOTPAGEOFF]
Lloh29:
	ldr	w24, [x8]
	str	w24, [sp, #24]
	mov	x0, x19
	mov	w1, #4080
	bl	_cw1200_rate_mask_to_wsm
	str	w0, [sp, #12]
	b	LBB0_25
LBB0_24:
	mov	w24, #0
LBB0_25:
	ldr	x8, [x25, #24]
Lloh30:
	adrp	x23, _WSM_JOIN_FLAGS_FORCE_WITH_COMPLETE_IND@GOTPAGE
Lloh31:
	ldr	x23, [x23, _WSM_JOIN_FLAGS_FORCE_WITH_COMPLETE_IND@GOTPAGEOFF]
	cbnz	x8, LBB0_27
; %bb.26:
Lloh32:
	adrp	x8, _WSM_JOIN_FLAGS_FORCE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _WSM_JOIN_FLAGS_FORCE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	orr	w8, w24, w8
	ldr	w9, [x23]
	orr	w24, w9, w8
	str	w24, [sp, #24]
LBB0_27:
	mov	x0, x19
	bl	_wsm_flush_tx
Lloh35:
	adrp	x25, _CW1200_JOIN_TIMEOUT@GOTPAGE
Lloh36:
	ldr	x25, [x25, _CW1200_JOIN_TIMEOUT@GOTPAGEOFF]
	add	x0, x19, #64
	ldr	x8, [x25]
Lloh37:
	adrp	x9, _CW1200_AUTH_TIMEOUT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _CW1200_AUTH_TIMEOUT@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_cw1200_pm_stay_awake
	mov	x0, x19
	mov	w1, #0
	bl	_cw1200_update_listening
	ldp	w2, w1, [x19, #56]
	mov	x0, x19
	bl	_wsm_set_block_ack_policy
	ldr	w8, [x23]
	tst	w8, w24
	b.eq	LBB0_29
; %bb.28:
Lloh40:
	adrp	x8, _CW1200_JOIN_STATUS_JOINING@GOTPAGE
Lloh41:
	ldr	x8, [x8, _CW1200_JOIN_STATUS_JOINING@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	str	x8, [x19, #48]
	ldr	w0, [x19, #40]
	ldr	x2, [x25]
	mov	x1, x22
	bl	_queue_delayed_work
LBB0_29:
	str	xzr, [sp, #72]
	movi.2s	v0, #1
	str	d0, [sp, #64]
	add	x1, sp, #64
	mov	x0, x19
	bl	_wsm_set_protected_mgmt_policy
	add	x1, sp, #8
	mov	x0, x19
	bl	_wsm_join
	cbz	x0, LBB0_32
; %bb.30:
Lloh43:
	adrp	x0, l_.str.2@PAGE
Lloh44:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	mov	x0, x22
	bl	_cancel_delayed_work_sync
	ldr	w1, [x19, #16]
	mov	x0, x19
	bl	_cw1200_update_listening
	ldr	w0, [x19, #40]
	add	x1, x19, #36
	bl	_queue_work
	cmp	x0, #0
	b.gt	LBB0_35
; %bb.31:
	mov	x0, x19
	bl	_wsm_unlock_tx
	b	LBB0_35
LBB0_32:
	ldr	w8, [sp, #24]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_34
; %bb.33:
	mov	x0, x19
	bl	_cw1200_join_complete
LBB0_34:
	mov	x0, x19
	bl	_cw1200_upload_keys
	mov	w8, #1
	str	w8, [x19, #20]
LBB0_35:
	mov	x0, x19
	bl	_cw1200_update_filtering
LBB0_36:
	mov	x0, x21
	bl	_mutex_unlock
	cbz	x20, LBB0_38
; %bb.37:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_cfg80211_put_bss
LBB0_38:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_WSM_JOIN_PREAMBLE_LONG,4,2     ; @WSM_JOIN_PREAMBLE_LONG
	.comm	_WSM_JOIN_MODE_IBSS,4,2         ; @WSM_JOIN_MODE_IBSS
	.comm	_WSM_JOIN_MODE_BSS,4,2          ; @WSM_JOIN_MODE_BSS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[STA] - Join request already pending, skipping..\n"

	.comm	_IEEE80211_BSS_TYPE_ANY,4,2     ; @IEEE80211_BSS_TYPE_ANY
	.comm	_IEEE80211_PRIVACY_ANY,4,2      ; @IEEE80211_PRIVACY_ANY
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_WSM_PHY_BAND_5G,4,2            ; @WSM_PHY_BAND_5G
	.comm	_WSM_PHY_BAND_2_4G,4,2          ; @WSM_PHY_BAND_2_4G
l_.str.1:                               ; @.str.1
	.asciz	"[STA] Join BSSID: %pM DTIM: %d, interval: %d\n"

	.comm	_WLAN_EID_SSID,4,2              ; @WLAN_EID_SSID
	.comm	_WSM_JOIN_FLAGS_P2P_GO,4,2      ; @WSM_JOIN_FLAGS_P2P_GO
	.comm	_WSM_JOIN_FLAGS_FORCE,4,2       ; @WSM_JOIN_FLAGS_FORCE
	.comm	_WSM_JOIN_FLAGS_FORCE_WITH_COMPLETE_IND,4,2 ; @WSM_JOIN_FLAGS_FORCE_WITH_COMPLETE_IND
	.comm	_CW1200_JOIN_TIMEOUT,8,3        ; @CW1200_JOIN_TIMEOUT
	.comm	_CW1200_AUTH_TIMEOUT,8,3        ; @CW1200_AUTH_TIMEOUT
	.comm	_CW1200_JOIN_STATUS_JOINING,8,3 ; @CW1200_JOIN_STATUS_JOINING
l_.str.2:                               ; @.str.2
	.asciz	"[STA] cw1200_join_work: wsm_join failed!\n"

	.no_dead_strip	_cw1200_do_join
.subsections_via_symbols
