	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_swscan_probe_curchan
_ieee80211_swscan_probe_curchan:        ## @ieee80211_swscan_probe_curchan
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IEEE80211_FEXT_SCAN_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movq	24(%rdi), %rax
	movq	(%rax), %r12
	cmpl	$0, (%r12)
	jle	LBB0_4
## %bb.2:
	movl	$8, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	movl	(%r14), %ecx
	movq	8(%r12), %rax
	movq	-8(%rax,%rbx), %r8
	movl	(%rax,%rbx), %r9d
	movl	%ecx, %edx
	callq	_ieee80211_send_probereq
	incq	%r13
	movslq	(%r12), %rax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_4:
	movq	_IEEE80211_SCAN_NOBCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %r8
	movl	%ecx, %edx
	xorl	%r9d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_send_probereq        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FEXT_SCAN_OFFLOAD,4,2 ## @IEEE80211_FEXT_SCAN_OFFLOAD
	.comm	_IEEE80211_SCAN_NOBCAST,4,2     ## @IEEE80211_SCAN_NOBCAST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_ieee80211_swscan_probe_curchan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_swscan_probe_curchan
_ieee80211_swscan_probe_curchan:        ; @ieee80211_swscan_probe_curchan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_FEXT_SCAN_OFFLOAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_FEXT_SCAN_OFFLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
	ldp	x20, x8, [x0, #16]
	ldr	x21, [x8]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x22, #0
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x19, #4]
	ldr	w2, [x20]
	ldr	x8, [x21, #8]
	add	x8, x8, x22
	ldr	x4, [x8]
	ldr	w5, [x8, #8]
	mov	x3, x2
	bl	_ieee80211_send_probereq
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #16
	cmp	x23, x8
	b.lt	LBB0_3
LBB0_4:
	ldr	w8, [x21, #4]
Lloh3:
	adrp	x9, _IEEE80211_SCAN_NOBCAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_SCAN_NOBCAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	w1, w0, [x19, #4]
	ldr	w2, [x20]
Lloh6:
	adrp	x4, l_.str@PAGE
Lloh7:
	add	x4, x4, l_.str@PAGEOFF
	mov	x3, x2
	mov	w5, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ieee80211_send_probereq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FEXT_SCAN_OFFLOAD,4,2 ; @IEEE80211_FEXT_SCAN_OFFLOAD
	.comm	_IEEE80211_SCAN_NOBCAST,4,2     ; @IEEE80211_SCAN_NOBCAST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_ieee80211_swscan_probe_curchan
.subsections_via_symbols
