	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg80211_conn_do_work
_cfg80211_conn_do_work:                 ## @cfg80211_conn_do_work
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_wiphy_to_dev
	movq	%rax, %r14
	movl	$0, -44(%rbp)
	movq	%rbx, %rdi
	callq	_ASSERT_WDEV_LOCK
	movq	8(%rbx), %r13
	xorl	%r15d, %r15d
	testq	%r13, %r13
	je	LBB0_10
## %bb.1:
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfg80211_conn_scan             ## TAILCALL
LBB0_9:
	movl	(%rbx), %esi
	movl	12(%r13), %edx
	movq	_WLAN_REASON_DEAUTH_LEAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	$0
	callq	___cfg80211_mlme_deauth
	addq	$16, %rsp
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_10
LBB0_4:
	movq	(%r14), %rax
	xorl	%edi, %edi
	cmpl	$0, 4(%rax)
	sete	%dil
	callq	_BUG_ON
	movq	_CFG80211_CONN_AUTHENTICATING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %esi
	movl	24(%r13), %edx
	movl	76(%r13), %ecx
	movl	20(%r13), %r9d
	movl	12(%r13), %r8d
	movl	16(%r13), %r10d
	movl	72(%r13), %r11d
	movl	68(%r13), %eax
	movl	64(%r13), %ebx
	movq	%r14, %rdi
	pushq	$0
	pushq	$0
	pushq	%rbx
	pushq	%rax
	pushq	%r11
	pushq	$0
	pushq	$0
	pushq	%r10
	callq	___cfg80211_mlme_auth
	addq	$104, %rsp
	jmp	LBB0_11
LBB0_5:
	movq	(%r14), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_BUG_ON
	movq	_CFG80211_CONN_ASSOCIATING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rbx), %rax
	movl	%ecx, (%rax)
	cmpl	$0, 8(%rax)
	je	LBB0_7
## %bb.6:
	movl	4(%rax), %eax
	movl	%eax, -44(%rbp)
LBB0_7:
	movl	52(%r13), %eax
	movq	_NL80211_MFP_NO@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	setne	%dl
	movl	%edx, -80(%rbp)
	movsd	56(%r13), %xmm0                 ## xmm0 = mem[0],zero
	movsd	44(%r13), %xmm1                 ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, -60(%rbp)
	movups	28(%r13), %xmm0
	movups	%xmm0, -76(%rbp)
	movl	(%rbx), %esi
	movl	24(%r13), %edx
	movl	20(%r13), %r8d
	movl	12(%r13), %ecx
	movl	16(%r13), %r9d
	subq	$8, %rsp
	leaq	-80(%rbp), %rax
	movq	%r14, %rdi
	pushq	%rax
	callq	___cfg80211_mlme_assoc
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %r12d
	movl	(%rbx), %esi
	movl	12(%r13), %edx
	movq	_WLAN_REASON_DEAUTH_LEAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	$0
	callq	___cfg80211_mlme_deauth
	addq	$16, %rsp
	movl	%r12d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$40, %rsp
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_CFG80211_CONN_AUTHENTICATING,4,2 ## @CFG80211_CONN_AUTHENTICATING
	.comm	_CFG80211_CONN_ASSOCIATING,4,2  ## @CFG80211_CONN_ASSOCIATING
	.comm	_NL80211_MFP_NO,4,2             ## @NL80211_MFP_NO
	.comm	_WLAN_REASON_DEAUTH_LEAVING,4,2 ## @WLAN_REASON_DEAUTH_LEAVING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cfg80211_conn_do_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg80211_conn_do_work
_cfg80211_conn_do_work:                 ; @cfg80211_conn_do_work
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x0
	ldr	w0, [x0, #16]
	bl	_wiphy_to_dev
	mov	x19, x0
	str	wzr, [sp, #76]
	mov	x0, x20
	bl	_ASSERT_WDEV_LOCK
	ldr	x22, [x20, #8]
	cbz	x22, LBB0_4
; %bb.1:
	ldr	w8, [x22]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_cfg80211_conn_scan
LBB0_4:
	mov	w21, #0
LBB0_5:
	mov	x0, x21
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	ldr	w1, [x20]
	ldr	w2, [x22, #12]
Lloh2:
	adrp	x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	mov	w6, #0
	bl	___cfg80211_mlme_deauth
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_8:
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh8:
	adrp	x8, _CFG80211_CONN_AUTHENTICATING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CFG80211_CONN_AUTHENTICATING@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
	str	w8, [x9]
	ldr	w1, [x20]
	ldp	w5, w2, [x22, #20]
	ldp	w4, w6, [x22, #12]
	ldp	w8, w3, [x22, #72]
	ldp	w10, w9, [x22, #64]
	str	wzr, [sp, #24]
	str	xzr, [sp, #16]
	stp	w9, w10, [sp, #8]
	stp	wzr, w8, [sp]
	mov	x0, x19
	mov	x7, #0
	bl	___cfg80211_mlme_auth
	b	LBB0_6
LBB0_9:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh11:
	adrp	x8, _CFG80211_CONN_ASSOCIATING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CFG80211_CONN_ASSOCIATING@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x8]
	ldr	x8, [x20, #8]
	str	w9, [x8]
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_11
; %bb.10:
	ldr	w8, [x8, #4]
	str	w8, [sp, #76]
LBB0_11:
	ldr	w8, [x22, #52]
Lloh14:
	adrp	x9, _NL80211_MFP_NO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NL80211_MFP_NO@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, ne
	str	w8, [sp, #40]
	ldr	d0, [x22, #56]
	ldur	d1, [x22, #44]
	mov.d	v1[1], v0[0]
	stur	q1, [sp, #60]
	ldur	q0, [x22, #28]
	stur	q0, [sp, #44]
	ldr	w1, [x20]
	ldp	w4, w2, [x22, #20]
	ldp	w3, w5, [x22, #12]
	add	x6, sp, #40
	mov	x0, x19
	bl	___cfg80211_mlme_assoc
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.12:
	ldr	w1, [x20]
	ldr	w2, [x22, #12]
Lloh17:
	adrp	x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	mov	w6, #0
	bl	___cfg80211_mlme_deauth
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_CFG80211_CONN_AUTHENTICATING,4,2 ; @CFG80211_CONN_AUTHENTICATING
	.comm	_CFG80211_CONN_ASSOCIATING,4,2  ; @CFG80211_CONN_ASSOCIATING
	.comm	_NL80211_MFP_NO,4,2             ; @NL80211_MFP_NO
	.comm	_WLAN_REASON_DEAUTH_LEAVING,4,2 ; @WLAN_REASON_DEAUTH_LEAVING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cfg80211_conn_do_work
.subsections_via_symbols
