	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl12xx_cmd_build_probe_req     ## -- Begin function wl12xx_cmd_build_probe_req
	.p2align	4, 0x90
_wl12xx_cmd_build_probe_req:            ## @wl12xx_cmd_build_probe_req
	.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	%r9, %rbx
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_wl12xx_wlvif_to_vif
	movq	%rax, %r13
	movl	16(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	20(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_DEBUG_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdx
	callq	_wl1271_debug
	movl	12(%r15), %edi
	movl	(%r13), %esi
	movq	40(%rbp), %r13
	movq	24(%rbp), %rax
	leaq	(%rax,%r13), %r8
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_ieee80211_probereq_get
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	24(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	16(%rbp), %rsi
	movq	%r12, %rdi
	callq	_skb_put_data
LBB0_4:
	movl	48(%rbp), %r14d
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	movq	32(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_skb_put_data
LBB0_6:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.7:
	movq	_WLCORE_QUIRK_DUAL_PROBE_TMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_9
## %bb.8:
	movl	4(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_9:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_wl1271_tx_min_rate_get
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx
	movl	(%r12), %r8d
	movl	4(%r12), %ecx
	cmpq	%rbx, (%rdx)
	jne	LBB0_11
## %bb.10:
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_11:
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
LBB0_12:
	xorl	%r9d, %r9d
	callq	_wl1271_cmd_template_set
	movl	%eax, %ebx
LBB0_13:
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_SCAN,4,2                 ## @DEBUG_SCAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"build probe request band %d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WLCORE_QUIRK_DUAL_PROBE_TMPL,4,2 ## @WLCORE_QUIRK_DUAL_PROBE_TMPL
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl12xx_cmd_build_probe_req     ; -- Begin function wl12xx_cmd_build_probe_req
	.p2align	2
_wl12xx_cmd_build_probe_req:            ; @wl12xx_cmd_build_probe_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x7
	mov	x28, x6
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x25, x1
	mov	x21, x0
	ldr	x26, [x29, #24]
	mov	x0, x1
	bl	_wl12xx_wlvif_to_vif
	mov	x23, x0
	ldp	w24, w8, [x21, #16]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _DEBUG_SCAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG_SCAN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_wl1271_debug
	ldr	w0, [x21, #12]
	ldr	w1, [x23]
	add	x4, x26, x27
	mov	x2, x20
	mov	x3, x19
	bl	_ieee80211_probereq_get
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.1:
	cbz	x27, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x28
	mov	x2, x27
	bl	_skb_put_data
LBB0_3:
	ldr	w20, [x29, #32]
	cbz	x26, LBB0_5
; %bb.4:
	ldr	x1, [x29, #16]
	mov	x0, x19
	mov	x2, x26
	bl	_skb_put_data
LBB0_5:
	cbz	w20, LBB0_8
; %bb.6:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _WLCORE_QUIRK_DUAL_PROBE_TMPL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WLCORE_QUIRK_DUAL_PROBE_TMPL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldp	w24, w8, [x21, #4]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
LBB0_8:
	ldr	x8, [x25]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x21
	bl	_wl1271_tx_min_rate_get
	mov	x6, x0
Lloh8:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldp	w4, w3, [x19]
	mov	x0, x21
	cmp	x8, x22
	b.ne	LBB0_11
; %bb.9:
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	b	LBB0_12
LBB0_10:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_13
LBB0_11:
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x24
LBB0_12:
	mov	w5, #0
	bl	_wl1271_cmd_template_set
	mov	x20, x0
LBB0_13:
	mov	x0, x19
	bl	_dev_kfree_skb
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_SCAN,4,2                 ; @DEBUG_SCAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"build probe request band %d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WLCORE_QUIRK_DUAL_PROBE_TMPL,4,2 ; @WLCORE_QUIRK_DUAL_PROBE_TMPL
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
.subsections_via_symbols
