	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_chan2ieee            ## -- Begin function ieee80211_chan2ieee
	.p2align	4, 0x90
_ieee80211_chan2ieee:                   ## @ieee80211_chan2ieee
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	_IEEE80211_CHAN_ANYC@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_IEEE80211_CHAN_ANY@GOTPCREL(%rip), %rsi
LBB0_4:
	movl	(%rsi), %eax
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rsi
	callq	_ic_printf
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid channel (NULL)\n"

	.comm	_IEEE80211_CHAN_ANYC,8,3        ## @IEEE80211_CHAN_ANYC
	.comm	_IEEE80211_CHAN_ANY,4,2         ## @IEEE80211_CHAN_ANY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_chan2ieee            ; -- Begin function ieee80211_chan2ieee
	.p2align	2
_ieee80211_chan2ieee:                   ; @ieee80211_chan2ieee
	.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
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IEEE80211_CHAN_ANYC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CHAN_ANYC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IEEE80211_CHAN_ANY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_CHAN_ANY@GOTPAGEOFF]
	cmp	x8, x1
	csel	x8, x9, x1, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ic_printf
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid channel (NULL)\n"

	.comm	_IEEE80211_CHAN_ANYC,8,3        ; @IEEE80211_CHAN_ANYC
	.comm	_IEEE80211_CHAN_ANY,4,2         ; @IEEE80211_CHAN_ANY
.subsections_via_symbols
