	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_get_ipa_gaintbl_nphy
_wlc_phy_get_ipa_gaintbl_nphy:          ## @wlc_phy_get_ipa_gaintbl_nphy
	.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	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_CHSPEC_IS2G
	movq	%rax, %r14
	movl	4(%rbx), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movl	(%rbx), %eax
	addl	$-3, %eax
	cmpl	$5, %eax
	ja	LBB0_19
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_nphy_tpc_txgain_ipa_2g_2057rev4n6@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_5:
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movl	(%rbx), %ecx
	xorl	%eax, %eax
	cmpl	$8, %ecx
	ja	LBB0_24
## %bb.7:
	movl	$88, %edx
	btl	%ecx, %edx
	jae	LBB0_14
## %bb.8:
	movq	_nphy_tpc_txgain_ipa_5g_2057@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_9:
	movl	4(%rbx), %edi
	movl	$6, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_BCMA_CHIP_ID_BCM47162@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.18:
	movq	_nphy_tpc_txgain_ipa_rev6@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_12:
	movq	_nphy_tpc_txgain_ipa_5g@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_13:
	movq	_nphy_tpc_txgain_ipa_2g_2057rev7@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_14:
	movl	$384, %edx                      ## imm = 0x180
	btl	%ecx, %edx
	jae	LBB0_24
## %bb.15:
	movq	_nphy_tpc_txgain_ipa_5g_2057rev7@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_16:
	movl	4(%rbx), %edi
	movl	$5, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	je	LBB0_22
LBB0_11:
	movq	_nphy_tpc_txgain_ipa_rev5@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_20:
	movq	_nphy_tpc_txgain_ipa_2g_2057rev3@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_21:
	movq	_nphy_tpc_txgain_ipa_2g_2057rev5@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_22:
	movq	_nphy_tpc_txgain_ipa@GOTPCREL(%rip), %rax
LBB0_23:
	movq	(%rax), %rax
LBB0_24:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_4
	.long	L0_0_set_21
	.long	L0_0_set_4
	.long	L0_0_set_13
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_nphy_tpc_txgain_ipa_2g_2057rev4n6,8,3 ## @nphy_tpc_txgain_ipa_2g_2057rev4n6
	.comm	_nphy_tpc_txgain_ipa_2g_2057rev3,8,3 ## @nphy_tpc_txgain_ipa_2g_2057rev3
	.comm	_nphy_tpc_txgain_ipa_2g_2057rev5,8,3 ## @nphy_tpc_txgain_ipa_2g_2057rev5
	.comm	_nphy_tpc_txgain_ipa_2g_2057rev7,8,3 ## @nphy_tpc_txgain_ipa_2g_2057rev7
	.comm	_nphy_tpc_txgain_ipa_rev6,8,3   ## @nphy_tpc_txgain_ipa_rev6
	.comm	_BCMA_CHIP_ID_BCM47162,8,3      ## @BCMA_CHIP_ID_BCM47162
	.comm	_nphy_tpc_txgain_ipa_rev5,8,3   ## @nphy_tpc_txgain_ipa_rev5
	.comm	_nphy_tpc_txgain_ipa,8,3        ## @nphy_tpc_txgain_ipa
	.comm	_nphy_tpc_txgain_ipa_5g_2057,8,3 ## @nphy_tpc_txgain_ipa_5g_2057
	.comm	_nphy_tpc_txgain_ipa_5g_2057rev7,8,3 ## @nphy_tpc_txgain_ipa_5g_2057rev7
	.comm	_nphy_tpc_txgain_ipa_5g,8,3     ## @nphy_tpc_txgain_ipa_5g
	.no_dead_strip	_wlc_phy_get_ipa_gaintbl_nphy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_get_ipa_gaintbl_nphy
_wlc_phy_get_ipa_gaintbl_nphy:          ; @wlc_phy_get_ipa_gaintbl_nphy
	.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, x0
	ldr	w0, [x0, #16]
	bl	_CHSPEC_IS2G
	mov	x20, x0
	ldr	w0, [x19, #4]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x20, LBB0_5
; %bb.1:
	cbz	x0, LBB0_9
; %bb.2:
	ldr	w8, [x19]
	sub	w8, w8, #3
	cmp	w8, #5
	b.hi	LBB0_17
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh2:
	adrp	x8, _nphy_tpc_txgain_ipa_2g_2057rev4n6@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_2g_2057rev4n6@GOTPAGEOFF]
	b	LBB0_21
LBB0_5:
	cbz	x0, LBB0_11
; %bb.6:
	mov	x0, #0
	ldr	w8, [x19]
	cmp	w8, #8
	b.hi	LBB0_22
; %bb.7:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #88
	tst	w8, w9
	b.eq	LBB0_13
; %bb.8:
Lloh4:
	adrp	x8, _nphy_tpc_txgain_ipa_5g_2057@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_5g_2057@GOTPAGEOFF]
	b	LBB0_21
LBB0_9:
	ldr	w0, [x19, #4]
	mov	w1, #6
	bl	_NREV_IS
	cbz	x0, LBB0_15
; %bb.10:
Lloh6:
	adrp	x8, _nphy_tpc_txgain_ipa_rev6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_rev6@GOTPAGEOFF]
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _BCMA_CHIP_ID_BCM47162@GOTPAGE
Lloh9:
	ldr	x10, [x10, _BCMA_CHIP_ID_BCM47162@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _nphy_tpc_txgain_ipa_rev5@GOTPAGE
Lloh12:
	ldr	x11, [x11, _nphy_tpc_txgain_ipa_rev5@GOTPAGEOFF]
	cmp	x9, x10
	csel	x8, x11, x8, eq
	b	LBB0_21
LBB0_11:
Lloh13:
	adrp	x8, _nphy_tpc_txgain_ipa_5g@GOTPAGE
Lloh14:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_5g@GOTPAGEOFF]
	b	LBB0_21
LBB0_12:
Lloh15:
	adrp	x8, _nphy_tpc_txgain_ipa_2g_2057rev7@GOTPAGE
Lloh16:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_2g_2057rev7@GOTPAGEOFF]
	b	LBB0_21
LBB0_13:
	tst	w8, #0x180
	b.eq	LBB0_22
; %bb.14:
Lloh17:
	adrp	x8, _nphy_tpc_txgain_ipa_5g_2057rev7@GOTPAGE
Lloh18:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_5g_2057rev7@GOTPAGEOFF]
	b	LBB0_21
LBB0_15:
	ldr	w0, [x19, #4]
	mov	w1, #5
	bl	_NREV_IS
	cbz	x0, LBB0_20
; %bb.16:
Lloh19:
	adrp	x8, _nphy_tpc_txgain_ipa_rev5@GOTPAGE
Lloh20:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_rev5@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:
	mov	x0, #0
	b	LBB0_22
LBB0_18:
Lloh21:
	adrp	x8, _nphy_tpc_txgain_ipa_2g_2057rev3@GOTPAGE
Lloh22:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_2g_2057rev3@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
Lloh23:
	adrp	x8, _nphy_tpc_txgain_ipa_2g_2057rev5@GOTPAGE
Lloh24:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa_2g_2057rev5@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
Lloh25:
	adrp	x8, _nphy_tpc_txgain_ipa@GOTPAGE
Lloh26:
	ldr	x8, [x8, _nphy_tpc_txgain_ipa@GOTPAGEOFF]
LBB0_21:
	ldr	x0, [x8]
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
                                        ; -- End function
	.comm	_nphy_tpc_txgain_ipa_2g_2057rev4n6,8,3 ; @nphy_tpc_txgain_ipa_2g_2057rev4n6
	.comm	_nphy_tpc_txgain_ipa_2g_2057rev3,8,3 ; @nphy_tpc_txgain_ipa_2g_2057rev3
	.comm	_nphy_tpc_txgain_ipa_2g_2057rev5,8,3 ; @nphy_tpc_txgain_ipa_2g_2057rev5
	.comm	_nphy_tpc_txgain_ipa_2g_2057rev7,8,3 ; @nphy_tpc_txgain_ipa_2g_2057rev7
	.comm	_nphy_tpc_txgain_ipa_rev6,8,3   ; @nphy_tpc_txgain_ipa_rev6
	.comm	_BCMA_CHIP_ID_BCM47162,8,3      ; @BCMA_CHIP_ID_BCM47162
	.comm	_nphy_tpc_txgain_ipa_rev5,8,3   ; @nphy_tpc_txgain_ipa_rev5
	.comm	_nphy_tpc_txgain_ipa,8,3        ; @nphy_tpc_txgain_ipa
	.comm	_nphy_tpc_txgain_ipa_5g_2057,8,3 ; @nphy_tpc_txgain_ipa_5g_2057
	.comm	_nphy_tpc_txgain_ipa_5g_2057rev7,8,3 ; @nphy_tpc_txgain_ipa_5g_2057rev7
	.comm	_nphy_tpc_txgain_ipa_5g,8,3     ; @nphy_tpc_txgain_ipa_5g
	.no_dead_strip	_wlc_phy_get_ipa_gaintbl_nphy
.subsections_via_symbols
