	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_chan_to_freq         ## -- Begin function ieee80211_chan_to_freq
	.p2align	4, 0x90
_ieee80211_chan_to_freq:                ## @ieee80211_chan_to_freq
	.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	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_us_op_class_cc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_country_match
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ieee80211_chan_to_freq_us
	testl	%eax, %eax
	jg	LBB0_8
LBB0_2:
	movq	_eu_op_class_cc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_country_match
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ieee80211_chan_to_freq_eu
	testl	%eax, %eax
	jg	LBB0_8
LBB0_4:
	movq	_jp_op_class_cc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_country_match
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ieee80211_chan_to_freq_jp
	testl	%eax, %eax
	jg	LBB0_8
LBB0_6:
	movq	_cn_op_class_cc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_country_match
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ieee80211_chan_to_freq_cn
	testl	%eax, %eax
	jle	LBB0_9
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%r15d, %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_chan_to_freq_global  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_us_op_class_cc,4,2             ## @us_op_class_cc
	.comm	_eu_op_class_cc,4,2             ## @eu_op_class_cc
	.comm	_jp_op_class_cc,4,2             ## @jp_op_class_cc
	.comm	_cn_op_class_cc,4,2             ## @cn_op_class_cc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_chan_to_freq         ; -- Begin function ieee80211_chan_to_freq
	.p2align	2
_ieee80211_chan_to_freq:                ; @ieee80211_chan_to_freq
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _us_op_class_cc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _us_op_class_cc@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_country_match
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_chan_to_freq_us
	cmp	w0, #0
	b.gt	LBB0_8
LBB0_2:
Lloh3:
	adrp	x8, _eu_op_class_cc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _eu_op_class_cc@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_country_match
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_chan_to_freq_eu
	cmp	w0, #0
	b.gt	LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _jp_op_class_cc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jp_op_class_cc@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_country_match
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_chan_to_freq_jp
	cmp	w0, #0
	b.gt	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _cn_op_class_cc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cn_op_class_cc@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_country_match
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_chan_to_freq_cn
	cmp	w0, #0
	b.le	LBB0_9
LBB0_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
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	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
	b	_ieee80211_chan_to_freq_global
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_us_op_class_cc,4,2             ; @us_op_class_cc
	.comm	_eu_op_class_cc,4,2             ; @eu_op_class_cc
	.comm	_jp_op_class_cc,4,2             ; @jp_op_class_cc
	.comm	_cn_op_class_cc,4,2             ; @cn_op_class_cc
.subsections_via_symbols
