	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7615_get_channel_group
_mt7615_get_channel_group:              ## @mt7615_get_channel_group
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-184(%rdi), %eax
	cmpl	$13, %eax
	jae	LBB0_2
## %bb.1:
	movq	_MT_CH_5G_JAPAN@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_2:
	cmpl	$49, %edi
	jge	LBB0_4
## %bb.3:
	movq	_MT_CH_5G_UNII_1@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_4:
	cmpl	$65, %edi
	jae	LBB0_6
## %bb.5:
	movq	_MT_CH_5G_UNII_2A@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	cmpl	$115, %edi
	jae	LBB0_8
## %bb.7:
	movq	_MT_CH_5G_UNII_2E_1@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	cmpl	$145, %edi
	jae	LBB0_10
## %bb.9:
	movq	_MT_CH_5G_UNII_2E_2@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	cmpl	$162, %edi
	jae	LBB0_11
## %bb.12:
	movq	_MT_CH_5G_UNII_2E_3@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_MT_CH_5G_UNII_3@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_CH_5G_JAPAN,4,2             ## @MT_CH_5G_JAPAN
	.comm	_MT_CH_5G_UNII_1,4,2            ## @MT_CH_5G_UNII_1
	.comm	_MT_CH_5G_UNII_2A,4,2           ## @MT_CH_5G_UNII_2A
	.comm	_MT_CH_5G_UNII_2E_1,4,2         ## @MT_CH_5G_UNII_2E_1
	.comm	_MT_CH_5G_UNII_2E_2,4,2         ## @MT_CH_5G_UNII_2E_2
	.comm	_MT_CH_5G_UNII_2E_3,4,2         ## @MT_CH_5G_UNII_2E_3
	.comm	_MT_CH_5G_UNII_3,4,2            ## @MT_CH_5G_UNII_3
	.no_dead_strip	_mt7615_get_channel_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7615_get_channel_group
_mt7615_get_channel_group:              ; @mt7615_get_channel_group
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #184
Lloh0:
	adrp	x9, _MT_CH_5G_JAPAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MT_CH_5G_JAPAN@GOTPAGEOFF]
Lloh2:
	adrp	x10, _MT_CH_5G_UNII_1@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MT_CH_5G_UNII_1@GOTPAGEOFF]
Lloh4:
	adrp	x11, _MT_CH_5G_UNII_2A@GOTPAGE
Lloh5:
	ldr	x11, [x11, _MT_CH_5G_UNII_2A@GOTPAGEOFF]
Lloh6:
	adrp	x12, _MT_CH_5G_UNII_2E_1@GOTPAGE
Lloh7:
	ldr	x12, [x12, _MT_CH_5G_UNII_2E_1@GOTPAGEOFF]
Lloh8:
	adrp	x13, _MT_CH_5G_UNII_2E_2@GOTPAGE
Lloh9:
	ldr	x13, [x13, _MT_CH_5G_UNII_2E_2@GOTPAGEOFF]
Lloh10:
	adrp	x14, _MT_CH_5G_UNII_3@GOTPAGE
Lloh11:
	ldr	x14, [x14, _MT_CH_5G_UNII_3@GOTPAGEOFF]
Lloh12:
	adrp	x15, _MT_CH_5G_UNII_2E_3@GOTPAGE
Lloh13:
	ldr	x15, [x15, _MT_CH_5G_UNII_2E_3@GOTPAGEOFF]
	cmp	w0, #162
	csel	x14, x15, x14, lo
	cmp	w0, #145
	csel	x13, x13, x14, lo
	cmp	w0, #115
	csel	x12, x12, x13, lo
	cmp	w0, #65
	csel	x11, x11, x12, lo
	cmp	w0, #49
	csel	x10, x10, x11, lt
	cmp	w8, #13
	csel	x8, x9, x10, lo
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_CH_5G_JAPAN,4,2             ; @MT_CH_5G_JAPAN
	.comm	_MT_CH_5G_UNII_1,4,2            ; @MT_CH_5G_UNII_1
	.comm	_MT_CH_5G_UNII_2A,4,2           ; @MT_CH_5G_UNII_2A
	.comm	_MT_CH_5G_UNII_2E_1,4,2         ; @MT_CH_5G_UNII_2E_1
	.comm	_MT_CH_5G_UNII_2E_2,4,2         ; @MT_CH_5G_UNII_2E_2
	.comm	_MT_CH_5G_UNII_2E_3,4,2         ; @MT_CH_5G_UNII_2E_3
	.comm	_MT_CH_5G_UNII_3,4,2            ; @MT_CH_5G_UNII_3
	.no_dead_strip	_mt7615_get_channel_group
.subsections_via_symbols
