	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_ipa_set_tx_digi_filts_nphy
_wlc_phy_ipa_set_tx_digi_filts_nphy:    ## @wlc_phy_ipa_set_tx_digi_filts_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_NPHY_NUM_DIG_FILT_COEFFS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	xorl	%ebx, %ebx
	movq	_NPHY_IPA_REV4_txdigi_filtcoeffs@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	leal	390(%rbx), %esi
	movq	%r12, %rdi
	callq	_write_phy_reg
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.3:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	leal	405(%rbx), %esi
	movq	%r12, %rdi
	callq	_write_phy_reg
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.6:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	16(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	leal	709(%rbx), %esi
	movq	%r12, %rdi
	callq	_write_phy_reg
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	(%r12), %rcx
	movq	_WL_CHANSPEC_BW_40@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.10:
	testl	%eax, %eax
	jle	LBB0_21
## %bb.11:
	xorl	%ebx, %ebx
	movq	_NPHY_IPA_REV4_txdigi_filtcoeffs@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	24(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	leal	390(%rbx), %esi
	movq	%r12, %rdi
	callq	_write_phy_reg
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_12
	jmp	LBB0_21
LBB0_13:
	movl	8(%r12), %edi
	callq	_CHSPEC_IS5G
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	cmpl	$0, (%r14)
	jle	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	movq	_NPHY_IPA_REV4_txdigi_filtcoeffs@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	40(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	leal	390(%rbx), %esi
	movq	%r12, %rdi
	callq	_write_phy_reg
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_16
LBB0_17:
	movl	8(%r12), %edi
	callq	_CHSPEC_CHANNEL
	cmpl	$14, %eax
	jne	LBB0_21
## %bb.18:
	cmpl	$0, (%r14)
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	movq	_NPHY_IPA_REV4_txdigi_filtcoeffs@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	48(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	leal	709(%rbx), %esi
	movq	%r12, %rdi
	callq	_write_phy_reg
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPHY_NUM_DIG_FILT_COEFFS,4,2   ## @NPHY_NUM_DIG_FILT_COEFFS
	.comm	_NPHY_IPA_REV4_txdigi_filtcoeffs,8,3 ## @NPHY_IPA_REV4_txdigi_filtcoeffs
	.comm	_WL_CHANSPEC_BW_40,8,3          ## @WL_CHANSPEC_BW_40
	.no_dead_strip	_wlc_phy_ipa_set_tx_digi_filts_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_ipa_set_tx_digi_filts_nphy
_wlc_phy_ipa_set_tx_digi_filts_nphy:    ; @wlc_phy_ipa_set_tx_digi_filts_nphy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x20, _NPHY_NUM_DIG_FILT_COEFFS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NPHY_NUM_DIG_FILT_COEFFS@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x21, _NPHY_IPA_REV4_txdigi_filtcoeffs@GOTPAGE
Lloh3:
	ldr	x21, [x21, _NPHY_IPA_REV4_txdigi_filtcoeffs@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w2, [x8, x22, lsl #2]
	add	w1, w22, #390
	mov	x0, x19
	bl	_write_phy_reg
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_2
; %bb.3:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w2, [x8, x22, lsl #2]
	add	w1, w22, #405
	mov	x0, x19
	bl	_write_phy_reg
	add	x22, x22, #1
	ldrsw	x9, [x20]
	cmp	x22, x9
	b.lt	LBB0_5
; %bb.6:
	mov	x8, x9
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.7:
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
	ldr	w2, [x8, x22, lsl #2]
	add	w1, w22, #709
	mov	x0, x19
	bl	_write_phy_reg
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_8
; %bb.9:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_10:
	ldr	x9, [x19]
Lloh4:
	adrp	x10, _WL_CHANSPEC_BW_40@GOTPAGE
Lloh5:
	ldr	x10, [x10, _WL_CHANSPEC_BW_40@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.11:
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.12:
	mov	x22, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #24]
	ldr	w2, [x8, x22, lsl #2]
	add	w1, w22, #390
	mov	x0, x19
	bl	_write_phy_reg
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_13
	b	LBB0_20
LBB0_14:
	ldr	w0, [x19, #8]
	bl	_CHSPEC_IS5G
	ldr	w8, [x20]
	cmp	x0, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_17
; %bb.15:
	mov	x22, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #40]
	ldr	w2, [x8, x22, lsl #2]
	add	w1, w22, #390
	mov	x0, x19
	bl	_write_phy_reg
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_16
LBB0_17:
	ldr	w0, [x19, #8]
	bl	_CHSPEC_CHANNEL
	ldr	w8, [x20]
	cmp	w0, #14
	ccmp	w8, #1, #8, eq
	b.lt	LBB0_20
; %bb.18:
	mov	x22, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #48]
	ldr	w2, [x8, x22, lsl #2]
	add	w1, w22, #709
	mov	x0, x19
	bl	_write_phy_reg
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_19
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NPHY_NUM_DIG_FILT_COEFFS,4,2   ; @NPHY_NUM_DIG_FILT_COEFFS
	.comm	_NPHY_IPA_REV4_txdigi_filtcoeffs,8,3 ; @NPHY_IPA_REV4_txdigi_filtcoeffs
	.comm	_WL_CHANSPEC_BW_40,8,3          ; @WL_CHANSPEC_BW_40
	.no_dead_strip	_wlc_phy_ipa_set_tx_digi_filts_nphy
.subsections_via_symbols
