	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00lib_channel
_rt2x00lib_channel:                     ## @rt2x00lib_channel
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %eax
	movq	%rdi, %rbx
	cmpl	$15, %esi
	jge	LBB0_1
## %bb.2:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %esi
	movl	%esi, 12(%rbx)
	movl	%eax, %edi
	callq	_ieee80211_channel_to_frequency
	movl	%eax, 16(%rbx)
	movl	%r14d, (%rbx)
	movl	%r15d, 4(%rbx)
	movl	$255, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
	.no_dead_strip	_rt2x00lib_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00lib_channel
_rt2x00lib_channel:                     ; @rt2x00lib_channel
	.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, x3
	mov	x20, x2
	mov	x8, x1
	mov	x21, x0
Lloh0:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	adrp	x10, _NL80211_BAND_5GHZ@GOTPAGE
Lloh3:
	ldr	x10, [x10, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	cmp	w1, #15
	csel	x9, x9, x10, lt
	ldr	w1, [x9]
	str	w1, [x0, #12]
	mov	x0, x8
	bl	_ieee80211_channel_to_frequency
	str	w0, [x21, #16]
	stp	w19, w20, [x21]
	mov	w8, #255
	str	w8, [x21, #8]
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
	.no_dead_strip	_rt2x00lib_channel
.subsections_via_symbols
