	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_set_beacon               ## -- Begin function ath9k_set_beacon
	.p2align	4, 0x90
_ath9k_set_beacon:                      ## @ath9k_set_beacon
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_ath9k_hw_common
	movq	(%rbx), %rdi
	movq	8(%rbx), %rsi
	movl	(%rdi), %ecx
	leal	-129(%rcx), %edx
	cmpl	$2, %edx
	jb	LBB0_6
## %bb.1:
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$131, %ecx
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ath9k_beacon_config_adhoc      ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ath9k_beacon_config_ap         ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ath9k_beacon_config_sta        ## TAILCALL
LBB0_5:
	movq	_CONFIG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ath_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG,4,2                     ## @CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported beaconing mode\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_set_beacon               ; -- Begin function ath9k_set_beacon
	.p2align	2
_ath9k_set_beacon:                      ; @ath9k_set_beacon
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_ath9k_hw_common
	ldp	x8, x1, [x19]
	ldr	w9, [x8]
	sub	w10, w9, #129
	cmp	w10, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w9, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w9, #131
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath9k_beacon_config_adhoc
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath9k_beacon_config_ap
LBB0_5:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath9k_beacon_config_sta
LBB0_6:
Lloh0:
	adrp	x8, _CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath_dbg
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG,4,2                     ; @CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported beaconing mode\n"

.subsections_via_symbols
