	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_ap_set_probe_resp_tmpl
_wl1271_ap_set_probe_resp_tmpl:         ## @wl1271_ap_set_probe_resp_tmpl
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_wl12xx_vif_to_data
	movq	%rax, %r14
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_ieee80211_proberesp_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	4(%r14), %esi
	movq	_CMD_TEMPL_AP_PROBE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	movl	%r15d, (%rsp)
	movq	%r12, %rdi
	xorl	%r9d, %r9d
	callq	_wl1271_cmd_template_set
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	testl	%r15d, %r15d
	js	LBB0_4
## %bb.3:
	movq	_DEBUG_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wl1271_debug
	movq	_WLVIF_FLAG_AP_PROBE_RESP_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	jmp	LBB0_4
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_CMD_TEMPL_AP_PROBE_RESPONSE,4,2 ## @CMD_TEMPL_AP_PROBE_RESPONSE
	.comm	_DEBUG_AP,4,2                   ## @DEBUG_AP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"probe response updated"

	.comm	_WLVIF_FLAG_AP_PROBE_RESP_SET,4,2 ## @WLVIF_FLAG_AP_PROBE_RESP_SET
	.no_dead_strip	_wl1271_ap_set_probe_resp_tmpl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_ap_set_probe_resp_tmpl
_wl1271_ap_set_probe_resp_tmpl:         ; @wl1271_ap_set_probe_resp_tmpl
	.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	x22, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_wl12xx_vif_to_data
	mov	x19, x0
	ldr	w0, [x21]
	mov	x1, x22
	bl	_ieee80211_proberesp_get
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	w1, [x19, #4]
Lloh0:
	adrp	x8, _CMD_TEMPL_AP_PROBE_RESPONSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_TEMPL_AP_PROBE_RESPONSE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldp	w4, w3, [x0]
	mov	x0, x21
	mov	w5, #0
	mov	x6, x20
	bl	_wl1271_cmd_template_set
	mov	x20, x0
	mov	x0, x22
	bl	_dev_kfree_skb
	tbnz	w20, #31, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _DEBUG_AP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEBUG_AP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1271_debug
Lloh8:
	adrp	x8, _WLVIF_FLAG_AP_PROBE_RESP_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WLVIF_FLAG_AP_PROBE_RESP_SET@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_CMD_TEMPL_AP_PROBE_RESPONSE,4,2 ; @CMD_TEMPL_AP_PROBE_RESPONSE
	.comm	_DEBUG_AP,4,2                   ; @DEBUG_AP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"probe response updated"

	.comm	_WLVIF_FLAG_AP_PROBE_RESP_SET,4,2 ; @WLVIF_FLAG_AP_PROBE_RESP_SET
	.no_dead_strip	_wl1271_ap_set_probe_resp_tmpl
.subsections_via_symbols
