	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rndis_scan
_rndis_scan:                            ## @rndis_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	(%rsi), %rax
	movq	(%rax), %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_get_rndis_wlan_priv
	movq	%rax, %r15
	movq	_SCAN_DELAY_JIFFIES@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_rndis_check_bssid_list
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	%r12, %rax
	je	LBB0_3
## %bb.2:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_3:
	movq	%r12, 16(%r15)
	movq	%rbx, %rdi
	callq	_rndis_start_bssid_list_scan
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	(%r15), %rax
	movq	_RNDIS_BCM4320A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	12(%r15), %edi
	addq	$8, %r15
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_queue_delayed_work
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCAN_DELAY_JIFFIES,4,2         ## @SCAN_DELAY_JIFFIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cfg80211.scan\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_RNDIS_BCM4320A,8,3             ## @RNDIS_BCM4320A
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_rndis_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rndis_scan
_rndis_scan:                            ; @rndis_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	x20, x1
	ldr	x8, [x1]
	ldr	x0, [x8]
	bl	_netdev_priv
	mov	x21, x0
	bl	_get_rndis_wlan_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _SCAN_DELAY_JIFFIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCAN_DELAY_JIFFIES@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	w0, [x21]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	bl	_rndis_check_bssid_list
	ldr	x8, [x19, #16]
	cmp	x8, #0
	ccmp	x8, x20, #4, ne
	b.ne	LBB0_3
; %bb.1:
	str	x20, [x19, #16]
	mov	x0, x21
	bl	_rndis_start_bssid_list_scan
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _RNDIS_BCM4320A@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RNDIS_BCM4320A@GOTPAGEOFF]
Lloh7:
	adrp	x10, _HZ@GOTPAGE
Lloh8:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w2, w10, w22, eq
	ldr	w0, [x19, #12]
	add	x1, x19, #8
	bl	_queue_delayed_work
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SCAN_DELAY_JIFFIES,4,2         ; @SCAN_DELAY_JIFFIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cfg80211.scan\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_RNDIS_BCM4320A,8,3             ; @RNDIS_BCM4320A
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_rndis_scan
.subsections_via_symbols
