	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_channel_to_chanspec            ## -- Begin function channel_to_chanspec
	.p2align	4, 0x90
_channel_to_chanspec:                   ## @channel_to_chanspec
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	callq	_ieee80211_frequency_to_channel
	movl	%eax, -16(%rbp)
	movq	_BRCMU_CHAN_BW_20@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	leaq	-24(%rbp), %rdi
	callq	*(%rbx)
	movl	-24(%rbp), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMU_CHAN_BW_20,4,2           ## @BRCMU_CHAN_BW_20
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_channel_to_chanspec            ; -- Begin function channel_to_chanspec
	.p2align	2
_channel_to_chanspec:                   ; @channel_to_chanspec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x1]
	bl	_ieee80211_frequency_to_channel
Lloh0:
	adrp	x8, _BRCMU_CHAN_BW_20@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMU_CHAN_BW_20@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w0, [sp, #4]
	ldr	x8, [x19]
	mov	x0, sp
	blr	x8
	ldr	w0, [sp]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMU_CHAN_BW_20,4,2           ; @BRCMU_CHAN_BW_20
.subsections_via_symbols
