	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_nphy_get_chantabent_rev3   ## -- Begin function b43_nphy_get_chantabent_rev3
	.p2align	4, 0x90
_b43_nphy_get_chantabent_rev3:          ## @b43_nphy_get_chantabent_rev3
	.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, %r14
	movl	(%rdi), %eax
	cmpl	$3, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$4, %eax
	jne	LBB0_4
## %bb.3:
	movq	_b43_nphy_channeltab_phy_rev4@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_b43_nphy_channeltab_phy_rev3@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movl	4(%rdi), %eax
	addl	$-5, %eax
	cmpl	$7, %eax
	jae	LBB0_5
## %bb.6:
	movl	$95, %ecx
	btl	%eax, %ecx
	jb	LBB0_7
LBB0_5:
	movl	$1, %edi
	callq	_B43_WARN_ON
	jmp	LBB0_11
LBB0_7:
	cltq
	leaq	l_switch.table.b43_nphy_get_chantabent_rev3(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
LBB0_8:
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, (%rbx)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	$8, %rbx
	decl	%eax
	jne	LBB0_9
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_b43_nphy_channeltab_phy_rev3,8,3 ## @b43_nphy_channeltab_phy_rev3
	.comm	_b43_nphy_channeltab_phy_rev4,8,3 ## @b43_nphy_channeltab_phy_rev4
	.comm	_b43_nphy_channeltab_radio_rev5,8,3 ## @b43_nphy_channeltab_radio_rev5
	.comm	_b43_nphy_channeltab_radio_rev6,8,3 ## @b43_nphy_channeltab_radio_rev6
	.comm	_b43_nphy_channeltab_radio_rev7_9,8,3 ## @b43_nphy_channeltab_radio_rev7_9
	.comm	_b43_nphy_channeltab_radio_rev8,8,3 ## @b43_nphy_channeltab_radio_rev8
	.comm	_b43_nphy_channeltab_radio_rev11,8,3 ## @b43_nphy_channeltab_radio_rev11
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.b43_nphy_get_chantabent_rev3
l_switch.table.b43_nphy_get_chantabent_rev3:
	.quad	_b43_nphy_channeltab_radio_rev5
	.quad	_b43_nphy_channeltab_radio_rev6
	.quad	_b43_nphy_channeltab_radio_rev7_9
	.quad	_b43_nphy_channeltab_radio_rev8
	.quad	_b43_nphy_channeltab_radio_rev7_9
	.quad	_b43_nphy_channeltab_radio_rev5
	.quad	_b43_nphy_channeltab_radio_rev11

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_nphy_get_chantabent_rev3   ; -- Begin function b43_nphy_get_chantabent_rev3
	.p2align	2
_b43_nphy_get_chantabent_rev3:          ; @b43_nphy_get_chantabent_rev3
	.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	w8, [x0]
	cmp	w8, #3
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #4
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _b43_nphy_channeltab_phy_rev4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _b43_nphy_channeltab_phy_rev4@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh2:
	adrp	x8, _b43_nphy_channeltab_phy_rev3@GOTPAGE
Lloh3:
	ldr	x8, [x8, _b43_nphy_channeltab_phy_rev3@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	ldr	w8, [x0, #4]
	sub	w8, w8, #5
	cmp	w8, #7
	b.hs	LBB0_6
; %bb.5:
	mov	w9, #95
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_7
LBB0_6:
	mov	w0, #1
	bl	_B43_WARN_ON
	b	LBB0_11
LBB0_7:
Lloh4:
	adrp	x9, l_switch.table.b43_nphy_get_chantabent_rev3@PAGE
Lloh5:
	add	x9, x9, l_switch.table.b43_nphy_get_chantabent_rev3@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
LBB0_8:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x20, #8
	subs	w0, w0, #1
	b.ne	LBB0_9
LBB0_11:
	mov	x20, #0
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_b43_nphy_channeltab_phy_rev3,8,3 ; @b43_nphy_channeltab_phy_rev3
	.comm	_b43_nphy_channeltab_phy_rev4,8,3 ; @b43_nphy_channeltab_phy_rev4
	.comm	_b43_nphy_channeltab_radio_rev5,8,3 ; @b43_nphy_channeltab_radio_rev5
	.comm	_b43_nphy_channeltab_radio_rev6,8,3 ; @b43_nphy_channeltab_radio_rev6
	.comm	_b43_nphy_channeltab_radio_rev7_9,8,3 ; @b43_nphy_channeltab_radio_rev7_9
	.comm	_b43_nphy_channeltab_radio_rev8,8,3 ; @b43_nphy_channeltab_radio_rev8
	.comm	_b43_nphy_channeltab_radio_rev11,8,3 ; @b43_nphy_channeltab_radio_rev11
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.b43_nphy_get_chantabent_rev3
l_switch.table.b43_nphy_get_chantabent_rev3:
	.quad	_b43_nphy_channeltab_radio_rev5
	.quad	_b43_nphy_channeltab_radio_rev6
	.quad	_b43_nphy_channeltab_radio_rev7_9
	.quad	_b43_nphy_channeltab_radio_rev8
	.quad	_b43_nphy_channeltab_radio_rev7_9
	.quad	_b43_nphy_channeltab_radio_rev5
	.quad	_b43_nphy_channeltab_radio_rev11

.subsections_via_symbols
