	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il3945_hw_reg_get_ch_grp_idx
_il3945_hw_reg_get_ch_grp_idx:          ## @il3945_hw_reg_get_ch_grp_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	%rsi, %rdi
	callq	_il_is_channel_a_band
	movl	(%rbx), %esi
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$1, %ebx
	cmpl	4(%r14), %esi
	jle	LBB0_5
## %bb.3:
	movl	$2, %ebx
	cmpl	8(%r14), %esi
	jle	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	cmpl	12(%r14), %esi
	setg	%bl
	addl	$3, %ebx
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_D_POWER
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Chnl %d mapped to grp %d\n"

	.no_dead_strip	_il3945_hw_reg_get_ch_grp_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il3945_hw_reg_get_ch_grp_idx
_il3945_hw_reg_get_ch_grp_idx:          ; @il3945_hw_reg_get_ch_grp_idx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x20, [x8]
	mov	x0, x1
	bl	_il_is_channel_a_band
	ldr	w1, [x19]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x20, #4]
	cmp	w1, w8
	b.le	LBB0_5
; %bb.2:
	ldr	w8, [x20, #8]
	cmp	w1, w8
	b.le	LBB0_6
; %bb.3:
	ldr	w8, [x20, #12]
	cmp	w1, w8
	mov	w8, #3
	cinc	w19, w8, gt
	b	LBB0_7
LBB0_4:
	mov	w19, #0
	b	LBB0_7
LBB0_5:
	mov	w19, #1
	b	LBB0_7
LBB0_6:
	mov	w19, #2
LBB0_7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_D_POWER
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Chnl %d mapped to grp %d\n"

	.no_dead_strip	_il3945_hw_reg_get_ch_grp_idx
.subsections_via_symbols
