	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_set_ies
_ath6kl_set_ies:                        ## @ath6kl_set_ies
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_WMI_FRAME_BEACON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %r8d
	movl	20(%rbx), %ecx
	callq	_ath6kl_wmi_set_appie_cmd
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_ath6kl_set_ap_probe_resp_ies
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_WMI_FRAME_ASSOC_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath6kl_wmi_set_appie_cmd       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_FRAME_BEACON,4,2           ## @WMI_FRAME_BEACON
	.comm	_WMI_FRAME_ASSOC_RESP,4,2       ## @WMI_FRAME_ASSOC_RESP
	.no_dead_strip	_ath6kl_set_ies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_set_ies
_ath6kl_set_ies:                        ; @ath6kl_set_ies
	.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, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	w0, [x21]
	ldr	w1, [x20]
Lloh0:
	adrp	x8, _WMI_FRAME_BEACON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_FRAME_BEACON@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldp	w4, w3, [x19, #16]
	bl	_ath6kl_wmi_set_appie_cmd
	cbnz	w0, LBB0_2
; %bb.1:
	ldp	w2, w1, [x19, #8]
	mov	x0, x20
	bl	_ath6kl_set_ap_probe_resp_ies
	cbz	w0, LBB0_3
LBB0_2:
	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_3:
	ldr	w0, [x21]
	ldr	w1, [x20]
Lloh3:
	adrp	x8, _WMI_FRAME_ASSOC_RESP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_FRAME_ASSOC_RESP@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldp	w4, w3, [x19]
	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
	b	_ath6kl_wmi_set_appie_cmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_FRAME_BEACON,4,2           ; @WMI_FRAME_BEACON
	.comm	_WMI_FRAME_ASSOC_RESP,4,2       ; @WMI_FRAME_ASSOC_RESP
	.no_dead_strip	_ath6kl_set_ies
.subsections_via_symbols
