	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_get_chnl_group
__rtl8821ae_get_chnl_group:             ## @_rtl8821ae_get_chnl_group
	.cfi_startproc
## %bb.0:
	movl	%edi, %edx
	cmpl	$14, %edi
	jg	LBB0_5
## %bb.1:
	leal	-1(%rdx), %ecx
	xorl	%eax, %eax
	cmpl	$2, %ecx
	jb	LBB0_20
## %bb.2:
	leal	-3(%rdx), %ecx
	movl	$1, %eax
	cmpl	$3, %ecx
	jb	LBB0_20
## %bb.3:
	leal	-6(%rdx), %ecx
	movl	$2, %eax
	cmpl	$3, %ecx
	jb	LBB0_20
## %bb.4:
	addl	$-9, %edx
	cmpl	$3, %edx
	movl	$4, %eax
	sbbl	$0, %eax
	retq
LBB0_5:
	leal	-36(%rdx), %ecx
	xorl	%eax, %eax
	cmpl	$7, %ecx
	jb	LBB0_20
## %bb.6:
	leal	-44(%rdx), %ecx
	movl	$1, %eax
	cmpl	$5, %ecx
	jb	LBB0_20
## %bb.7:
	leal	-50(%rdx), %ecx
	movl	$2, %eax
	cmpl	$9, %ecx
	jb	LBB0_20
## %bb.8:
	leal	-60(%rdx), %ecx
	movl	$3, %eax
	cmpl	$5, %ecx
	jb	LBB0_20
## %bb.9:
	leal	-100(%rdx), %ecx
	movl	$4, %eax
	cmpl	$7, %ecx
	jb	LBB0_20
## %bb.10:
	leal	-108(%rdx), %ecx
	movl	$5, %eax
	cmpl	$7, %ecx
	jb	LBB0_20
## %bb.11:
	leal	-116(%rdx), %ecx
	movl	$6, %eax
	cmpl	$7, %ecx
	jb	LBB0_20
## %bb.12:
	leal	-124(%rdx), %ecx
	movl	$7, %eax
	cmpl	$7, %ecx
	jb	LBB0_20
## %bb.13:
	leal	-132(%rdx), %ecx
	movl	$8, %eax
	cmpl	$7, %ecx
	jb	LBB0_20
## %bb.14:
	leal	-140(%rdx), %ecx
	movl	$9, %eax
	cmpl	$5, %ecx
	jb	LBB0_20
## %bb.15:
	leal	-149(%rdx), %ecx
	movl	$10, %eax
	cmpl	$7, %ecx
	jb	LBB0_20
## %bb.16:
	leal	-157(%rdx), %ecx
	movl	$11, %eax
	cmpl	$5, %ecx
	jb	LBB0_20
## %bb.17:
	leal	-165(%rdx), %ecx
	movl	$12, %eax
	cmpl	$7, %ecx
	jb	LBB0_20
## %bb.18:
	leal	-173(%rdx), %ecx
	movl	$13, %eax
	cmpl	$5, %ecx
	jb	LBB0_20
## %bb.19:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_WARN_ONCE
	xorl	%eax, %eax
	popq	%rbp
LBB0_20:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtl8821ae: 5G, Channel %d in Group not found\n"

	.no_dead_strip	__rtl8821ae_get_chnl_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_get_chnl_group
__rtl8821ae_get_chnl_group:             ; @_rtl8821ae_get_chnl_group
	.cfi_startproc
; %bb.0:
	mov	x2, x0
	cmp	w0, #14
	b.gt	LBB0_2
; %bb.1:
	sub	w8, w2, #1
	sub	w9, w2, #3
	mov	w10, #1
	sub	w11, w2, #6
	mov	w12, #2
	sub	w13, w2, #9
	cmp	w13, #3
	mov	w13, #3
	cinc	w13, w13, hs
	cmp	w11, #3
	csel	w11, w12, w13, lo
	cmp	w9, #3
	csel	w9, w10, w11, lo
	cmp	w8, #2
	csel	w0, wzr, w9, lo
	ret
LBB0_2:
	sub	w8, w2, #36
	cmp	w8, #7
	b.hs	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	sub	w8, w2, #44
	cmp	w8, #5
	b.hs	LBB0_6
; %bb.5:
	mov	w0, #1
	ret
LBB0_6:
	sub	w8, w2, #50
	cmp	w8, #9
	b.hs	LBB0_8
; %bb.7:
	mov	w0, #2
	ret
LBB0_8:
	sub	w8, w2, #60
	cmp	w8, #5
	b.hs	LBB0_10
; %bb.9:
	mov	w0, #3
	ret
LBB0_10:
	sub	w8, w2, #100
	cmp	w8, #7
	b.hs	LBB0_12
; %bb.11:
	mov	w0, #4
	ret
LBB0_12:
	sub	w8, w2, #108
	cmp	w8, #7
	b.hs	LBB0_14
; %bb.13:
	mov	w0, #5
	ret
LBB0_14:
	sub	w8, w2, #116
	cmp	w8, #7
	b.hs	LBB0_16
; %bb.15:
	mov	w0, #6
	ret
LBB0_16:
	sub	w8, w2, #124
	cmp	w8, #7
	b.hs	LBB0_18
; %bb.17:
	mov	w0, #7
	ret
LBB0_18:
	sub	w8, w2, #132
	cmp	w8, #7
	b.hs	LBB0_20
; %bb.19:
	mov	w0, #8
	ret
LBB0_20:
	sub	w8, w2, #140
	cmp	w8, #5
	b.hs	LBB0_22
; %bb.21:
	mov	w0, #9
	ret
LBB0_22:
	sub	w8, w2, #149
	cmp	w8, #7
	b.hs	LBB0_24
; %bb.23:
	mov	w0, #10
	ret
LBB0_24:
	sub	w8, w2, #157
	cmp	w8, #5
	b.hs	LBB0_26
; %bb.25:
	mov	w0, #11
	ret
LBB0_26:
	sub	w8, w2, #165
	cmp	w8, #7
	b.hs	LBB0_28
; %bb.27:
	mov	w0, #12
	ret
LBB0_28:
	sub	w8, w2, #173
	cmp	w8, #5
	b.hs	LBB0_30
; %bb.29:
	mov	w0, #13
	ret
LBB0_30:
	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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtl8821ae: 5G, Channel %d in Group not found\n"

	.no_dead_strip	__rtl8821ae_get_chnl_group
.subsections_via_symbols
