	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg80211_conn_scan
_cfg80211_conn_scan:                    ## @cfg80211_conn_scan
	.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	%rdi, %r14
	movq	16(%rdi), %rdi
	callq	_wiphy_to_dev
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movq	%rbx, %rdi
	callq	_ASSERT_RDEV_LOCK
	movq	%r14, %rdi
	callq	_ASSERT_WDEV_LOCK
	leaq	12(%rbx), %rdi
	callq	_lockdep_assert_held
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_2:
	subl	(%rax), %r13d
LBB0_3:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movl	$1, %r13d
	cmpq	$0, 16(%rax)
	je	LBB0_10
LBB0_5:
	leal	64(,%r13,8), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:
	movq	%rax, %r12
	movq	8(%r14), %rax
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:
	movq	48(%r12), %rcx
	movq	%rax, (%rcx)
LBB0_8:
	movl	%r13d, 8(%r12)
	movq	48(%r12), %rax
	movslq	%r13d, %rcx
	leaq	(%rax,%rcx,8), %rdx
	movq	%rdx, 40(%r12)
	movl	$1, 12(%r12)
	movl	4(%rax,%rcx,8), %edi
	movq	8(%r14), %rax
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	callq	_memcpy
	movq	8(%r14), %rax
	movl	8(%rax), %eax
	movq	40(%r12), %rcx
	movl	%eax, (%rcx)
	movq	%r14, 32(%r12)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rax
	addq	$8, %rax
	movq	%rax, 24(%r12)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	%r12, (%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_rdev_scan
	testl	%eax, %eax
	je	LBB0_36
## %bb.9:
	movl	%eax, %r13d
	movq	$0, (%r15)
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_3
LBB0_10:
	movq	_IEEE80211_NUM_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rax, %rax
	je	LBB0_37
## %bb.11:
	movq	16(%r14), %rcx
	movq	(%rcx), %rcx
	cmpl	$1, %eax
	jne	LBB0_38
## %bb.12:
	xorl	%edx, %edx
	xorl	%r13d, %r13d
LBB0_13:
	testb	$1, %al
	je	LBB0_5
## %bb.14:
	movq	(%rcx,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.15:
	addl	(%rax), %r13d
	jmp	LBB0_5
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	jmp	LBB0_2
LBB0_17:
	movq	_IEEE80211_NUM_BANDS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_44
## %bb.18:
	xorl	%r11d, %r11d
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rbx
	xorl	%r13d, %r13d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_22 Depth=1
	movb	4(%r15), %cl
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%r11,4)
	movl	(%rdi), %eax
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%r11
	movl	%eax, %ecx
	cmpq	%rcx, %r11
	jae	LBB0_8
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
	movq	16(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r11,8), %r15
	testq	%r15, %r15
	je	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r15), %r14d
	testl	%r14d, %r14d
	jle	LBB0_19
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%rbx), %esi
	cmpl	$1, %r14d
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%r14d, %r10d
	andl	$-2, %r10d
	negq	%r10
	movl	$4, %edx
	xorl	%eax, %eax
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=2
	addq	$8, %rdx
	addq	$-2, %rax
	cmpq	%rax, %r10
	je	LBB0_32
LBB0_28:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rbx
	testl	%esi, -4(%rbx,%rdx)
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	addq	%rdx, %rbx
	addq	$-4, %rbx
	movq	48(%r12), %r8
	movslq	%r13d, %r9
	incl	%r13d
	movq	%rbx, (%r8,%r9,8)
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=2
	movq	8(%r15), %rbx
	testl	%esi, (%rbx,%rdx)
	jne	LBB0_27
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=2
	addq	%rdx, %rbx
	movq	48(%r12), %rdi
	movslq	%r13d, %rcx
	incl	%r13d
	movq	%rbx, (%rdi,%rcx,8)
	jmp	LBB0_27
LBB0_32:                                ##   in Loop: Header=BB0_22 Depth=1
	negq	%rax
	movq	_IEEE80211_NUM_BANDS@GOTPCREL(%rip), %rdi
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rbx
LBB0_33:                                ##   in Loop: Header=BB0_22 Depth=1
	testb	$1, %r14b
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_20
## %bb.34:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%r15), %rdx
	testl	%esi, (%rdx,%rax,4)
	jne	LBB0_20
## %bb.35:                              ##   in Loop: Header=BB0_22 Depth=1
	leaq	(%rdx,%rax,4), %rax
	movq	48(%r12), %rcx
	movslq	%r13d, %rdx
	incl	%r13d
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_20
LBB0_36:
	movq	_CFG80211_CONN_SCANNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r14), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_nl80211_send_scan_start
	movl	(%r14), %edi
	callq	_dev_hold
	xorl	%r13d, %r13d
	jmp	LBB0_3
LBB0_37:
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_38:
	movl	%eax, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	xorl	%r13d, %r13d
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_40 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_13
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	addl	(%rdi), %r13d
LBB0_42:                                ##   in Loop: Header=BB0_40 Depth=1
	movq	8(%rcx,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_39
## %bb.43:                              ##   in Loop: Header=BB0_40 Depth=1
	addl	(%rdi), %r13d
	jmp	LBB0_39
LBB0_44:
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_IEEE80211_NUM_BANDS,4,2        ## @IEEE80211_NUM_BANDS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_CFG80211_CONN_SCANNING,4,2     ## @CFG80211_CONN_SCANNING
	.no_dead_strip	_cfg80211_conn_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg80211_conn_scan
_cfg80211_conn_scan:                    ; @cfg80211_conn_scan
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	x0, [x0, #16]
	bl	_wiphy_to_dev
	mov	x20, x0
	bl	_ASSERT_RTNL
	mov	x0, x20
	bl	_ASSERT_RDEV_LOCK
	mov	x0, x19
	bl	_ASSERT_WDEV_LOCK
	add	x0, x20, #12
	bl	_lockdep_assert_held
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_11
; %bb.5:
	mov	w22, #1
LBB0_6:
	lsl	w8, w22, #3
	add	w0, w8, #64
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_16
; %bb.7:
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_17
; %bb.8:
	ldr	x9, [x21, #48]
	str	x8, [x9]
LBB0_9:
	ldr	x8, [x21, #48]
	add	x8, x8, w22, sxtw #3
	str	x8, [x21, #40]
	mov	w9, #1
	stp	w22, w9, [x21, #8]
	ldr	w0, [x8, #4]
	ldr	x8, [x19, #8]
	ldp	w2, w1, [x8, #8]
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #8]
	ldr	x9, [x21, #40]
	str	w8, [x9]
	mov	x8, x20
	str	x21, [x8], #8
	stp	x8, x19, [x21, #24]
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_rdev_scan
	mov	x22, x0
	cbz	w0, LBB0_27
; %bb.10:
	str	xzr, [x20]
	mov	x0, x21
	bl	_kfree
	b	LBB0_3
LBB0_11:
Lloh8:
	adrp	x8, _IEEE80211_NUM_BANDS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_NUM_BANDS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbz	w8, LBB0_28
; %bb.12:
	mov	w22, #0
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w10, [x10]
	add	w22, w10, w22
	b	LBB0_13
LBB0_16:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_17:
Lloh13:
	adrp	x8, _IEEE80211_NUM_BANDS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IEEE80211_NUM_BANDS@GOTPAGEOFF]
	ldr	w13, [x8]
	cbz	w13, LBB0_29
; %bb.18:
	mov	x9, #0
	mov	w22, #0
Lloh15:
	adrp	x10, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
	mov	w11, #-1
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w12, [x12, #4]
	lsl	w12, w11, w12
	mvn	w12, w12
	ldr	x13, [x21]
	str	w12, [x13, x9, lsl #2]
	ldr	w13, [x8]
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x9, x9, #1
	cmp	x9, w13, uxtw
	b.hs	LBB0_9
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
	ldr	x12, [x19, #16]
	ldr	x12, [x12]
	ldr	x12, [x12, x9, lsl #3]
	cbz	x12, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w15, [x12]
	cmp	w15, #1
	b.lt	LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x13, #0
	ldr	w14, [x10]
	lsl	x15, x15, #2
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=2
	add	x13, x13, #4
	cmp	x15, x13
	b.eq	LBB0_19
LBB0_25:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x12, #8]
	add	x16, x16, x13
	ldr	w17, [x16]
	tst	w14, w17
	b.ne	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	ldr	x17, [x21, #48]
	str	x16, [x17, w22, sxtw #3]
	add	w22, w22, #1
	b	LBB0_24
LBB0_27:
Lloh17:
	adrp	x8, _CFG80211_CONN_SCANNING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CFG80211_CONN_SCANNING@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	str	w8, [x9]
	mov	x0, x20
	mov	x1, x19
	bl	_nl80211_send_scan_start
	ldr	w0, [x19]
	bl	_dev_hold
	b	LBB0_3
LBB0_28:
	mov	w22, #0
	b	LBB0_6
LBB0_29:
	mov	w22, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_IEEE80211_NUM_BANDS,4,2        ; @IEEE80211_NUM_BANDS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_CFG80211_CONN_SCANNING,4,2     ; @CFG80211_CONN_SCANNING
	.no_dead_strip	_cfg80211_conn_scan
.subsections_via_symbols
