	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_beacon_config_adhoc
_ath9k_beacon_config_adhoc:             ## @ath9k_beacon_config_adhoc
	.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, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	%r12, %rdi
	callq	_ath9k_hw_common
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_ath9k_reset_beacon_status
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ath9k_cmn_beacon_config_adhoc
	movl	12(%rbx), %edx
	movl	16(%rbx), %esi
	movq	%r15, %rdi
	callq	_ath9k_beacon_init
	cmpl	$0, 8(%rbx)
	je	LBB0_1
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	movq	_ATH_OP_BEACONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH_OP_BEACONS,4,2             ## @ATH_OP_BEACONS
	.no_dead_strip	_ath9k_beacon_config_adhoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_beacon_config_adhoc
_ath9k_beacon_config_adhoc:             ; @ath9k_beacon_config_adhoc
	.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
	mov	x21, x0
	ldr	x22, [x0]
	mov	x0, x22
	bl	_ath9k_hw_common
	mov	x19, x0
	mov	x0, x21
	bl	_ath9k_reset_beacon_status
	mov	x0, x22
	mov	x1, x20
	bl	_ath9k_cmn_beacon_config_adhoc
	ldp	w2, w1, [x20, #12]
	mov	x0, x21
	bl	_ath9k_beacon_init
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_2
LBB0_1:
	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_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_1
; %bb.3:
Lloh0:
	adrp	x8, _ATH_OP_BEACONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH_OP_BEACONS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, 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	_set_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH_OP_BEACONS,4,2             ; @ATH_OP_BEACONS
	.no_dead_strip	_ath9k_beacon_config_adhoc
.subsections_via_symbols
