	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_nphy_get_rf_ctl_over_rev7  ## -- Begin function b43_nphy_get_rf_ctl_over_rev7
	.p2align	4, 0x90
_b43_nphy_get_rf_ctl_over_rev7:         ## @b43_nphy_get_rf_ctl_over_rev7
	.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
	cmpl	$3, %edx
	jae	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movslq	%edx, %rax
	leaq	l_switch.table.b43_nphy_get_rf_ctl_over_rev7(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, (%rbx)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rbx
	decq	%rax
	jne	LBB0_3
	jmp	LBB0_7
LBB0_6:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43err
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tbl_rf_control_override_rev7_over0,8,3 ## @tbl_rf_control_override_rev7_over0
	.comm	_tbl_rf_control_override_rev7_over1,8,3 ## @tbl_rf_control_override_rev7_over1
	.comm	_tbl_rf_control_override_rev7_over2,8,3 ## @tbl_rf_control_override_rev7_over2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid override value %d\n"

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.b43_nphy_get_rf_ctl_over_rev7
l_switch.table.b43_nphy_get_rf_ctl_over_rev7:
	.quad	_tbl_rf_control_override_rev7_over0
	.quad	_tbl_rf_control_override_rev7_over1
	.quad	_tbl_rf_control_override_rev7_over2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_nphy_get_rf_ctl_over_rev7  ; -- Begin function b43_nphy_get_rf_ctl_over_rev7
	.p2align	2
_b43_nphy_get_rf_ctl_over_rev7:         ; @b43_nphy_get_rf_ctl_over_rev7
	.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
	cmp	w2, #3
	b.hs	LBB0_5
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, l_switch.table.b43_nphy_get_rf_ctl_over_rev7@PAGE
Lloh1:
	add	x8, x8, l_switch.table.b43_nphy_get_rf_ctl_over_rev7@PAGEOFF
	ldr	x8, [x8, w2, sxtw #3]
	ldr	x19, [x8]
	mov	x0, x19
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w8, w0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	cmp	x9, x20
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #8
	subs	x8, x8, #1
	b.ne	LBB0_3
	b	LBB0_6
LBB0_5:
	ldr	w0, [x0]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43err
LBB0_6:
	mov	x19, #0
LBB0_7:
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_tbl_rf_control_override_rev7_over0,8,3 ; @tbl_rf_control_override_rev7_over0
	.comm	_tbl_rf_control_override_rev7_over1,8,3 ; @tbl_rf_control_override_rev7_over1
	.comm	_tbl_rf_control_override_rev7_over2,8,3 ; @tbl_rf_control_override_rev7_over2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid override value %d\n"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.b43_nphy_get_rf_ctl_over_rev7
l_switch.table.b43_nphy_get_rf_ctl_over_rev7:
	.quad	_tbl_rf_control_override_rev7_over0
	.quad	_tbl_rf_control_override_rev7_over1
	.quad	_tbl_rf_control_override_rev7_over2

.subsections_via_symbols
