	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_lcnphy_load_tx_iir_filter
_wlc_lcnphy_load_tx_iir_filter:         ## @wlc_lcnphy_load_tx_iir_filter
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_9
## %bb.1:
	movq	_LCNPHY_NUM_TX_DIG_FILTERS_OFDM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	$-1, %rcx
	testl	%eax, %eax
	jle	LBB0_18
## %bb.2:
	movq	_LCNPHY_txdigfiltcoeffs_ofdm@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rbx,8), %rdi
	cmpq	%rdx, (%rdi)
	je	LBB0_4
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_3
	jmp	LBB0_18
LBB0_9:
	movq	_LCNPHY_NUM_TX_DIG_FILTERS_CCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	$-1, %rcx
	testl	%eax, %eax
	jle	LBB0_18
## %bb.10:
	movq	_LCNPHY_txdigfiltcoeffs_cck@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rbx,8), %rdi
	cmpq	%rdx, (%rdi)
	je	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_11
	jmp	LBB0_18
LBB0_4:
	movq	_LCNPHY_NUM_DIG_FILT_COEFFS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_8
## %bb.5:
	movq	(%rsi,%rbx,8), %rax
	movq	8(%rax), %rdx
	movq	%r14, %rdi
	movl	$2319, %esi                     ## imm = 0x90F
	callq	_write_phy_reg
	cmpl	$2, (%r12)
	jl	LBB0_8
## %bb.6:
	movl	$1, %r13d
	movq	%r15, %r12
	leaq	l___const.wlc_lcnphy_load_tx_iir_filter.addr_ofdm(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%r15,%r13,4), %esi
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax,%r13,8), %rdx
	incq	%r13
	movq	%r14, %rdi
	callq	_write_phy_reg
	movq	_LCNPHY_NUM_DIG_FILT_COEFFS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jl	LBB0_7
	jmp	LBB0_8
LBB0_12:
	movq	_LCNPHY_NUM_DIG_FILT_COEFFS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_8
## %bb.13:
	movq	(%rsi,%rbx,8), %rax
	movq	8(%rax), %rdx
	movq	%r14, %rdi
	movl	$2320, %esi                     ## imm = 0x910
	callq	_write_phy_reg
	cmpl	$2, (%r12)
	jl	LBB0_8
## %bb.14:
	movl	$1, %r13d
	movq	%r15, %r12
	leaq	l___const.wlc_lcnphy_load_tx_iir_filter.addr(%rip), %r15
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%r15,%r13,4), %esi
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax,%r13,8), %rdx
	incq	%r13
	movq	%r14, %rdi
	callq	_write_phy_reg
	movq	_LCNPHY_NUM_DIG_FILT_COEFFS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jl	LBB0_15
LBB0_8:
	movq	%rbx, %rcx
LBB0_18:
	xorl	%eax, %eax
	cmpq	$-1, %rcx
	sete	%al
	negl	%eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.wlc_lcnphy_load_tx_iir_filter.addr
l___const.wlc_lcnphy_load_tx_iir_filter.addr:
	.long	2320                            ## 0x910
	.long	2334                            ## 0x91e
	.long	2335                            ## 0x91f
	.long	2340                            ## 0x924
	.long	2341                            ## 0x925
	.long	2342                            ## 0x926
	.long	2336                            ## 0x920
	.long	2337                            ## 0x921
	.long	2343                            ## 0x927
	.long	2344                            ## 0x928
	.long	2345                            ## 0x929
	.long	2338                            ## 0x922
	.long	2339                            ## 0x923
	.long	2352                            ## 0x930
	.long	2353                            ## 0x931
	.long	2354                            ## 0x932

	.p2align	4                               ## @__const.wlc_lcnphy_load_tx_iir_filter.addr_ofdm
l___const.wlc_lcnphy_load_tx_iir_filter.addr_ofdm:
	.long	2319                            ## 0x90f
	.long	2304                            ## 0x900
	.long	2305                            ## 0x901
	.long	2310                            ## 0x906
	.long	2311                            ## 0x907
	.long	2312                            ## 0x908
	.long	2306                            ## 0x902
	.long	2307                            ## 0x903
	.long	2313                            ## 0x909
	.long	2314                            ## 0x90a
	.long	2315                            ## 0x90b
	.long	2308                            ## 0x904
	.long	2309                            ## 0x905
	.long	2316                            ## 0x90c
	.long	2317                            ## 0x90d
	.long	2318                            ## 0x90e

	.comm	_LCNPHY_NUM_TX_DIG_FILTERS_CCK,4,2 ## @LCNPHY_NUM_TX_DIG_FILTERS_CCK
	.comm	_LCNPHY_txdigfiltcoeffs_cck,8,3 ## @LCNPHY_txdigfiltcoeffs_cck
	.comm	_LCNPHY_NUM_DIG_FILT_COEFFS,4,2 ## @LCNPHY_NUM_DIG_FILT_COEFFS
	.comm	_LCNPHY_NUM_TX_DIG_FILTERS_OFDM,4,2 ## @LCNPHY_NUM_TX_DIG_FILTERS_OFDM
	.comm	_LCNPHY_txdigfiltcoeffs_ofdm,8,3 ## @LCNPHY_txdigfiltcoeffs_ofdm
	.no_dead_strip	_wlc_lcnphy_load_tx_iir_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_lcnphy_load_tx_iir_filter
_wlc_lcnphy_load_tx_iir_filter:         ; @wlc_lcnphy_load_tx_iir_filter
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	cbz	w1, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _LCNPHY_NUM_TX_DIG_FILTERS_OFDM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LCNPHY_NUM_TX_DIG_FILTERS_OFDM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x20, #0
Lloh3:
	adrp	x21, _LCNPHY_txdigfiltcoeffs_ofdm@GOTPAGE
Lloh4:
	ldr	x21, [x21, _LCNPHY_txdigfiltcoeffs_ofdm@GOTPAGEOFF]
	ldr	x9, [x21]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x20, lsl #3]
	ldr	x10, [x10]
	cmp	x10, x2
	b.eq	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x8, x20
	b.ne	LBB0_3
	b	LBB0_9
LBB0_5:
Lloh5:
	adrp	x8, _LCNPHY_NUM_TX_DIG_FILTERS_CCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LCNPHY_NUM_TX_DIG_FILTERS_CCK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x20, #0
Lloh8:
	adrp	x21, _LCNPHY_txdigfiltcoeffs_cck@GOTPAGE
Lloh9:
	ldr	x21, [x21, _LCNPHY_txdigfiltcoeffs_cck@GOTPAGEOFF]
	ldr	x9, [x21]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x20, lsl #3]
	ldr	x10, [x10]
	cmp	x10, x2
	b.eq	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	cmp	x8, x20
	b.ne	LBB0_7
LBB0_9:
	mov	x20, #-1
LBB0_10:
	cmn	x20, #1
	csetm	w0, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh10:
	adrp	x22, _LCNPHY_NUM_DIG_FILT_COEFFS@GOTPAGE
Lloh11:
	ldr	x22, [x22, _LCNPHY_NUM_DIG_FILT_COEFFS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.12:
	ldr	x8, [x9, x20, lsl #3]
	ldr	x2, [x8, #8]
	mov	x0, x19
	mov	w1, #2319
	bl	_write_phy_reg
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.13:
	mov	x23, #0
Lloh12:
	adrp	x24, l___const.wlc_lcnphy_load_tx_iir_filter.addr_ofdm@PAGE
Lloh13:
	add	x24, x24, l___const.wlc_lcnphy_load_tx_iir_filter.addr_ofdm@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x9, x24, x23, lsl #2
	ldr	w1, [x9, #4]
	ldr	x8, [x8, x20, lsl #3]
	add	x8, x8, x23, lsl #3
	ldr	x2, [x8, #16]
	mov	x0, x19
	bl	_write_phy_reg
	ldrsw	x8, [x22]
	add	x9, x23, #2
	add	x23, x23, #1
	cmp	x9, x8
	b.lt	LBB0_14
	b	LBB0_10
LBB0_15:
Lloh14:
	adrp	x22, _LCNPHY_NUM_DIG_FILT_COEFFS@GOTPAGE
Lloh15:
	ldr	x22, [x22, _LCNPHY_NUM_DIG_FILT_COEFFS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.16:
	ldr	x8, [x9, x20, lsl #3]
	ldr	x2, [x8, #8]
	mov	x0, x19
	mov	w1, #2320
	bl	_write_phy_reg
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.17:
	mov	x23, #0
Lloh16:
	adrp	x24, l___const.wlc_lcnphy_load_tx_iir_filter.addr@PAGE
Lloh17:
	add	x24, x24, l___const.wlc_lcnphy_load_tx_iir_filter.addr@PAGEOFF
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x9, x24, x23, lsl #2
	ldr	w1, [x9, #4]
	ldr	x8, [x8, x20, lsl #3]
	add	x8, x8, x23, lsl #3
	ldr	x2, [x8, #16]
	mov	x0, x19
	bl	_write_phy_reg
	ldrsw	x8, [x22]
	add	x9, x23, #2
	add	x23, x23, #1
	cmp	x9, x8
	b.lt	LBB0_18
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.wlc_lcnphy_load_tx_iir_filter.addr
l___const.wlc_lcnphy_load_tx_iir_filter.addr:
	.long	2320                            ; 0x910
	.long	2334                            ; 0x91e
	.long	2335                            ; 0x91f
	.long	2340                            ; 0x924
	.long	2341                            ; 0x925
	.long	2342                            ; 0x926
	.long	2336                            ; 0x920
	.long	2337                            ; 0x921
	.long	2343                            ; 0x927
	.long	2344                            ; 0x928
	.long	2345                            ; 0x929
	.long	2338                            ; 0x922
	.long	2339                            ; 0x923
	.long	2352                            ; 0x930
	.long	2353                            ; 0x931
	.long	2354                            ; 0x932

	.p2align	2                               ; @__const.wlc_lcnphy_load_tx_iir_filter.addr_ofdm
l___const.wlc_lcnphy_load_tx_iir_filter.addr_ofdm:
	.long	2319                            ; 0x90f
	.long	2304                            ; 0x900
	.long	2305                            ; 0x901
	.long	2310                            ; 0x906
	.long	2311                            ; 0x907
	.long	2312                            ; 0x908
	.long	2306                            ; 0x902
	.long	2307                            ; 0x903
	.long	2313                            ; 0x909
	.long	2314                            ; 0x90a
	.long	2315                            ; 0x90b
	.long	2308                            ; 0x904
	.long	2309                            ; 0x905
	.long	2316                            ; 0x90c
	.long	2317                            ; 0x90d
	.long	2318                            ; 0x90e

	.comm	_LCNPHY_NUM_TX_DIG_FILTERS_CCK,4,2 ; @LCNPHY_NUM_TX_DIG_FILTERS_CCK
	.comm	_LCNPHY_txdigfiltcoeffs_cck,8,3 ; @LCNPHY_txdigfiltcoeffs_cck
	.comm	_LCNPHY_NUM_DIG_FILT_COEFFS,4,2 ; @LCNPHY_NUM_DIG_FILT_COEFFS
	.comm	_LCNPHY_NUM_TX_DIG_FILTERS_OFDM,4,2 ; @LCNPHY_NUM_TX_DIG_FILTERS_OFDM
	.comm	_LCNPHY_txdigfiltcoeffs_ofdm,8,3 ; @LCNPHY_txdigfiltcoeffs_ofdm
	.no_dead_strip	_wlc_lcnphy_load_tx_iir_filter
.subsections_via_symbols
