	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_hw_rf5110_chan2athchan
_ath5k_hw_rf5110_chan2athchan:          ## @ath5k_hw_rf5110_chan2athchan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	callq	_ieee80211_frequency_to_channel
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	addl	$-24, %ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %edi
	addl	$-24, %edi
	sarl	%edi
	movl	$5, %esi
	callq	_ath5k_hw_bitswap
	addl	%eax, %eax
	orl	$65, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath5k_hw_rf5110_chan2athchan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath5k_hw_rf5110_chan2athchan
_ath5k_hw_rf5110_chan2athchan:          ; @ath5k_hw_rf5110_chan2athchan
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
	bl	_ieee80211_frequency_to_channel
	sub	w8, w0, #24
	sub	w9, w0, #23
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #1
	mov	w1, #5
	bl	_ath5k_hw_bitswap
	mov	w8, #65
	orr	w0, w8, w0, lsl #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath5k_hw_rf5110_chan2athchan
.subsections_via_symbols
