	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_chan_set                 ## -- Begin function ath5k_chan_set
	.p2align	4, 0x90
_ath5k_chan_set:                        ## @ath5k_chan_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ATH5K_DEBUG_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movl	(%r14), %r8d
	leaq	L_.str(%rip), %rdx
	callq	_ATH5K_DBG
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ath5k_reset                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH5K_DEBUG_RESET,4,2          ## @ATH5K_DEBUG_RESET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"channel set, resetting (%u -> %u MHz)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_chan_set                 ; -- Begin function ath5k_chan_set
	.p2align	2
_ath5k_chan_set:                        ; @ath5k_chan_set
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ATH5K_DEBUG_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH5K_DEBUG_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x0]
	ldr	w3, [x8]
	ldr	w4, [x19]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ATH5K_DBG
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath5k_reset
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH5K_DEBUG_RESET,4,2          ; @ATH5K_DEBUG_RESET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"channel set, resetting (%u -> %u MHz)\n"

.subsections_via_symbols
