	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_phy_setupg
_b43legacy_phy_setupg:                  ## @b43legacy_phy_setupg
	.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, %r15
	movq	8(%rdi), %rax
	movq	_B43legacy_PHYTYPE_G@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_B43legacy_BUG_ON
	cmpl	$1, 16(%r15)
	jne	LBB0_10
## %bb.1:
	movq	%r15, %rdi
	movl	$1030, %esi                     ## imm = 0x406
	movl	$20249, %edx                    ## imm = 0x4F19
	callq	_b43legacy_phy_write
	movq	_B43legacy_PHY_G_CRS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$64575, %eax                    ## imm = 0xFC3F
	leal	832(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1068, %esi                     ## imm = 0x42C
	movl	$90, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1063, %esi                     ## imm = 0x427
	movl	$26, %edx
	callq	_b43legacy_phy_write
	movq	_B43legacy_ILT_FINEFREQG_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_finefreqg@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	22528(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	_B43legacy_ILT_NOISEG1_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_noiseg1@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	6144(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	_B43legacy_ILT_ROTOR_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_20
## %bb.8:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_rotor@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	8192(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write32
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
	jmp	LBB0_20
LBB0_10:
	movq	%r15, %rdi
	movl	$47768, %esi                    ## imm = 0xBA98
	movl	$30292, %edx                    ## imm = 0x7654
	callq	_b43legacy_nrssi_hw_write
	movl	16(%r15), %eax
	cmpl	$2, %eax
	jne	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movl	$1216, %esi                     ## imm = 0x4C0
	movl	$6241, %edx                     ## imm = 0x1861
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1217, %esi                     ## imm = 0x4C1
	movl	$625, %edx                      ## imm = 0x271
	jmp	LBB0_14
LBB0_12:
	jle	LBB0_15
## %bb.13:
	movq	%r15, %rdi
	movl	$1216, %esi                     ## imm = 0x4C0
	movl	$152, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1217, %esi                     ## imm = 0x4C1
	movl	$112, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1225, %esi                     ## imm = 0x4C9
	movl	$128, %edx
LBB0_14:
	callq	_b43legacy_phy_write
LBB0_15:
	movq	%r15, %rdi
	movl	$1067, %esi                     ## imm = 0x42B
	callq	_b43legacy_phy_read
	orl	$2048, %eax                     ## imm = 0x800
	movq	%r15, %rdi
	movl	$1067, %esi                     ## imm = 0x42B
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leal	16384(%rbx), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_b43legacy_ilt_write
	incl	%ebx
	cmpl	$64, %ebx
	jne	LBB0_16
## %bb.17:
	movq	_B43legacy_ILT_NOISEG2_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_20
## %bb.18:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_noiseg2@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	6144(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_19
LBB0_20:
	movl	16(%r15), %eax
	cmpl	$2, %eax
	jg	LBB0_24
## %bb.21:
	movq	_B43legacy_ILT_NOISESCALEG_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_33
## %bb.22:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_noisescaleg1@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	5120(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_23
	jmp	LBB0_32
LBB0_24:
	cmpl	$7, %eax
	jb	LBB0_29
## %bb.25:
	movq	%r15, %rdi
	movl	$1097, %esi                     ## imm = 0x449
	callq	_b43legacy_phy_read
	testl	$512, %eax                      ## imm = 0x200
	jne	LBB0_26
LBB0_29:
	movq	_B43legacy_ILT_NOISESCALEG_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_32
## %bb.30:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_noisescaleg2@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	5120(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_31
	jmp	LBB0_32
LBB0_26:
	movq	_B43legacy_ILT_NOISESCALEG_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_32
## %bb.27:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_noisescaleg3@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	5120(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_28
LBB0_32:
	movl	16(%r15), %eax
LBB0_33:
	cmpl	$2, %eax
	jne	LBB0_37
## %bb.34:
	movq	_B43legacy_ILT_SIGMASQR_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_41
## %bb.35:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_sigmasqr1@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	20480(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_36
	jmp	LBB0_41
LBB0_37:
	addl	$-3, %eax
	cmpl	$5, %eax
	ja	LBB0_41
## %bb.38:
	movq	_B43legacy_ILT_SIGMASQR_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_41
## %bb.39:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_sigmasqr2@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	20480(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_40
LBB0_41:
	cmpl	$1, 16(%r15)
	jne	LBB0_42
## %bb.48:
	movq	_B43legacy_ILT_RETARD_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_51
## %bb.49:
	xorl	%ebx, %ebx
	movq	_b43legacy_ilt_retard@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	leal	9216(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43legacy_ilt_write32
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_50
LBB0_51:
	movq	%r15, %rdi
	movl	$21508, %esi                    ## imm = 0x5404
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21509, %esi                    ## imm = 0x5405
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21510, %esi                    ## imm = 0x5406
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21511, %esi                    ## imm = 0x5407
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21512, %esi                    ## imm = 0x5408
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21513, %esi                    ## imm = 0x5409
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21514, %esi                    ## imm = 0x540A
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21515, %esi                    ## imm = 0x540B
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21516, %esi                    ## imm = 0x540C
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21517, %esi                    ## imm = 0x540D
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21518, %esi                    ## imm = 0x540E
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21519, %esi                    ## imm = 0x540F
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21520, %esi                    ## imm = 0x5410
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21521, %esi                    ## imm = 0x5411
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21522, %esi                    ## imm = 0x5412
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$21523, %esi                    ## imm = 0x5413
	movl	$32, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	callq	_b43legacy_phy_agcsetup
	movq	%r15, %rdi
	callq	_is_bcm_board_vendor
	movl	$20482, %r14d                   ## imm = 0x5002
	movl	$20481, %esi                    ## imm = 0x5001
	testq	%rax, %rax
	jne	LBB0_46
	jmp	LBB0_47
LBB0_42:
	movl	$4096, %ebx                     ## imm = 0x1000
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$2080, %edx                     ## imm = 0x820
	callq	_b43legacy_ilt_write
	incl	%ebx
	cmpl	$4129, %ebx                     ## imm = 0x1021
	jne	LBB0_43
## %bb.44:
	movq	%r15, %rdi
	callq	_b43legacy_phy_agcsetup
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_b43legacy_phy_read
	movq	%r15, %rdi
	movl	$1027, %esi                     ## imm = 0x403
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$15362, %esi                    ## imm = 0x3C02
	movl	$15, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$15363, %esi                    ## imm = 0x3C03
	movl	$20, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	callq	_is_bcm_board_vendor
	movl	$1026, %r14d                    ## imm = 0x402
	movl	$1025, %esi                     ## imm = 0x401
	testq	%rax, %rax
	je	LBB0_47
LBB0_46:
	movq	(%r15), %rax
	movq	(%rax), %rax
	cmpl	$1046, 4(%rax)                  ## imm = 0x416
	jne	LBB0_47
## %bb.52:
	cmpl	$23, (%rax)
	jne	LBB0_47
## %bb.53:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43legacy_ilt_write            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_PHYTYPE_G,8,3        ## @B43legacy_PHYTYPE_G
	.comm	_B43legacy_PHY_G_CRS,4,2        ## @B43legacy_PHY_G_CRS
	.comm	_B43legacy_ILT_FINEFREQG_SIZE,4,2 ## @B43legacy_ILT_FINEFREQG_SIZE
	.comm	_b43legacy_ilt_finefreqg,8,3    ## @b43legacy_ilt_finefreqg
	.comm	_B43legacy_ILT_NOISEG1_SIZE,4,2 ## @B43legacy_ILT_NOISEG1_SIZE
	.comm	_b43legacy_ilt_noiseg1,8,3      ## @b43legacy_ilt_noiseg1
	.comm	_B43legacy_ILT_ROTOR_SIZE,4,2   ## @B43legacy_ILT_ROTOR_SIZE
	.comm	_b43legacy_ilt_rotor,8,3        ## @b43legacy_ilt_rotor
	.comm	_B43legacy_ILT_NOISEG2_SIZE,4,2 ## @B43legacy_ILT_NOISEG2_SIZE
	.comm	_b43legacy_ilt_noiseg2,8,3      ## @b43legacy_ilt_noiseg2
	.comm	_B43legacy_ILT_NOISESCALEG_SIZE,4,2 ## @B43legacy_ILT_NOISESCALEG_SIZE
	.comm	_b43legacy_ilt_noisescaleg1,8,3 ## @b43legacy_ilt_noisescaleg1
	.comm	_b43legacy_ilt_noisescaleg3,8,3 ## @b43legacy_ilt_noisescaleg3
	.comm	_b43legacy_ilt_noisescaleg2,8,3 ## @b43legacy_ilt_noisescaleg2
	.comm	_B43legacy_ILT_SIGMASQR_SIZE,4,2 ## @B43legacy_ILT_SIGMASQR_SIZE
	.comm	_b43legacy_ilt_sigmasqr1,8,3    ## @b43legacy_ilt_sigmasqr1
	.comm	_b43legacy_ilt_sigmasqr2,8,3    ## @b43legacy_ilt_sigmasqr2
	.comm	_B43legacy_ILT_RETARD_SIZE,4,2  ## @B43legacy_ILT_RETARD_SIZE
	.comm	_b43legacy_ilt_retard,8,3       ## @b43legacy_ilt_retard
	.no_dead_strip	_b43legacy_phy_setupg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_phy_setupg
_b43legacy_phy_setupg:                  ; @b43legacy_phy_setupg
	.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
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _B43legacy_PHYTYPE_G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _B43legacy_PHYTYPE_G@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_B43legacy_BUG_ON
	ldr	w8, [x19, #16]
	mov	x0, x19
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.1:
	mov	w1, #1030
	mov	w2, #20249
	bl	_b43legacy_phy_write
Lloh3:
	adrp	x8, _B43legacy_PHY_G_CRS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43legacy_PHY_G_CRS@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_phy_read
	mov	w8, #64575
	and	w8, w0, w8
	mov	w9, #832
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1068
	mov	w2, #90
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1063
	mov	w2, #26
	bl	_b43legacy_phy_write
Lloh6:
	adrp	x20, _B43legacy_ILT_FINEFREQG_SIZE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _B43legacy_ILT_FINEFREQG_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
Lloh8:
	adrp	x22, _b43legacy_ilt_finefreqg@GOTPAGE
Lloh9:
	ldr	x22, [x22, _b43legacy_ilt_finefreqg@GOTPAGEOFF]
	mov	w23, #22528
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, w23
	mov	x0, x19
	bl	_b43legacy_ilt_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
Lloh10:
	adrp	x20, _B43legacy_ILT_NOISEG1_SIZE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _B43legacy_ILT_NOISEG1_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x21, #0
Lloh12:
	adrp	x22, _b43legacy_ilt_noiseg1@GOTPAGE
Lloh13:
	ldr	x22, [x22, _b43legacy_ilt_noiseg1@GOTPAGEOFF]
	mov	w23, #6144
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, w23
	mov	x0, x19
	bl	_b43legacy_ilt_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_6
LBB0_7:
Lloh14:
	adrp	x20, _B43legacy_ILT_ROTOR_SIZE@GOTPAGE
Lloh15:
	ldr	x20, [x20, _B43legacy_ILT_ROTOR_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.8:
	mov	x21, #0
Lloh16:
	adrp	x22, _b43legacy_ilt_rotor@GOTPAGE
Lloh17:
	ldr	x22, [x22, _b43legacy_ilt_rotor@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, #2, lsl #12            ; =8192
	mov	x0, x19
	bl	_b43legacy_ilt_write32
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_9
	b	LBB0_20
LBB0_10:
	mov	w1, #47768
	mov	w2, #30292
	bl	_b43legacy_nrssi_hw_write
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #1216
	mov	w2, #6241
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1217
	mov	w2, #625
	b	LBB0_14
LBB0_12:
	cmp	w8, #3
	b.lt	LBB0_15
; %bb.13:
	mov	x0, x19
	mov	w1, #1216
	mov	w2, #152
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1217
	mov	w2, #112
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1225
	mov	w2, #128
LBB0_14:
	bl	_b43legacy_phy_write
LBB0_15:
	mov	x0, x19
	mov	w1, #1067
	bl	_b43legacy_phy_read
	orr	w2, w0, #0x800
	mov	x0, x19
	mov	w1, #1067
	bl	_b43legacy_phy_write
	mov	w20, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	w1, w20, #4, lsl #12            ; =16384
	mov	x0, x19
	mov	x2, x20
	bl	_b43legacy_ilt_write
	add	w20, w20, #1
	cmp	w20, #64
	b.ne	LBB0_16
; %bb.17:
Lloh18:
	adrp	x20, _B43legacy_ILT_NOISEG2_SIZE@GOTPAGE
Lloh19:
	ldr	x20, [x20, _B43legacy_ILT_NOISEG2_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x21, #0
Lloh20:
	adrp	x22, _b43legacy_ilt_noiseg2@GOTPAGE
Lloh21:
	ldr	x22, [x22, _b43legacy_ilt_noiseg2@GOTPAGEOFF]
	mov	w23, #6144
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, w23
	mov	x0, x19
	bl	_b43legacy_ilt_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_19
LBB0_20:
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.gt	LBB0_24
; %bb.21:
Lloh22:
	adrp	x20, _B43legacy_ILT_NOISESCALEG_SIZE@GOTPAGE
Lloh23:
	ldr	x20, [x20, _B43legacy_ILT_NOISESCALEG_SIZE@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_33
; %bb.22:
	mov	x21, #0
Lloh24:
	adrp	x22, _b43legacy_ilt_noisescaleg1@GOTPAGE
Lloh25:
	ldr	x22, [x22, _b43legacy_ilt_noisescaleg1@GOTPAGEOFF]
	mov	w23, #5120
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, w23
	mov	x0, x19
	bl	_b43legacy_ilt_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_23
	b	LBB0_32
LBB0_24:
	cmp	w8, #7
	b.lo	LBB0_26
; %bb.25:
	mov	x0, x19
	mov	w1, #1097
	bl	_b43legacy_phy_read
	tbnz	w0, #9, LBB0_29
LBB0_26:
Lloh26:
	adrp	x20, _B43legacy_ILT_NOISESCALEG_SIZE@GOTPAGE
Lloh27:
	ldr	x20, [x20, _B43legacy_ILT_NOISESCALEG_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.27:
	mov	x21, #0
Lloh28:
	adrp	x22, _b43legacy_ilt_noisescaleg2@GOTPAGE
Lloh29:
	ldr	x22, [x22, _b43legacy_ilt_noisescaleg2@GOTPAGEOFF]
	mov	w23, #5120
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, w23
	mov	x0, x19
	bl	_b43legacy_ilt_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_28
	b	LBB0_32
LBB0_29:
Lloh30:
	adrp	x20, _B43legacy_ILT_NOISESCALEG_SIZE@GOTPAGE
Lloh31:
	ldr	x20, [x20, _B43legacy_ILT_NOISESCALEG_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.30:
	mov	x21, #0
Lloh32:
	adrp	x22, _b43legacy_ilt_noisescaleg3@GOTPAGE
Lloh33:
	ldr	x22, [x22, _b43legacy_ilt_noisescaleg3@GOTPAGEOFF]
	mov	w23, #5120
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, w23
	mov	x0, x19
	bl	_b43legacy_ilt_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_31
LBB0_32:
	ldr	w8, [x19, #16]
LBB0_33:
	cmp	w8, #2
	b.ne	LBB0_37
; %bb.34:
Lloh34:
	adrp	x20, _B43legacy_ILT_SIGMASQR_SIZE@GOTPAGE
Lloh35:
	ldr	x20, [x20, _B43legacy_ILT_SIGMASQR_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.35:
	mov	x21, #0
Lloh36:
	adrp	x22, _b43legacy_ilt_sigmasqr1@GOTPAGE
Lloh37:
	ldr	x22, [x22, _b43legacy_ilt_sigmasqr1@GOTPAGEOFF]
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, #5, lsl #12            ; =20480
	mov	x0, x19
	bl	_b43legacy_ilt_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_36
	b	LBB0_40
LBB0_37:
	sub	w8, w8, #3
Lloh38:
	adrp	x20, _B43legacy_ILT_SIGMASQR_SIZE@GOTPAGE
Lloh39:
	ldr	x20, [x20, _B43legacy_ILT_SIGMASQR_SIZE@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w8, #5
	ccmp	w9, #1, #8, ls
	b.lt	LBB0_40
; %bb.38:
	mov	x21, #0
Lloh40:
	adrp	x22, _b43legacy_ilt_sigmasqr2@GOTPAGE
Lloh41:
	ldr	x22, [x22, _b43legacy_ilt_sigmasqr2@GOTPAGEOFF]
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, #5, lsl #12            ; =20480
	mov	x0, x19
	bl	_b43legacy_ilt_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_39
LBB0_40:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.ne	LBB0_48
; %bb.41:
Lloh42:
	adrp	x20, _B43legacy_ILT_RETARD_SIZE@GOTPAGE
Lloh43:
	ldr	x20, [x20, _B43legacy_ILT_RETARD_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_44
; %bb.42:
	mov	x21, #0
Lloh44:
	adrp	x22, _b43legacy_ilt_retard@GOTPAGE
Lloh45:
	ldr	x22, [x22, _b43legacy_ilt_retard@GOTPAGEOFF]
	mov	w23, #9216
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, w23
	mov	x0, x19
	bl	_b43legacy_ilt_write32
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_43
LBB0_44:
	mov	x0, x19
	mov	w1, #21508
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21509
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21510
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21511
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21512
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21513
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21514
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21515
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21516
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21517
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21518
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21519
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21520
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21521
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21522
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #21523
	mov	w2, #32
	bl	_b43legacy_ilt_write
	mov	x0, x19
	bl	_b43legacy_phy_agcsetup
	mov	x0, x19
	bl	_is_bcm_board_vendor
	cbz	x0, LBB0_47
; %bb.45:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w9, [x8, #4]
	cmp	w9, #1046
	b.ne	LBB0_47
; %bb.46:
	ldr	w8, [x8]
	cmp	w8, #23
	b.eq	LBB0_53
LBB0_47:
	mov	w20, #20482
	mov	w1, #20481
	b	LBB0_55
LBB0_48:
	mov	w20, #4096
	mov	w21, #4129
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2080
	bl	_b43legacy_ilt_write
	add	w20, w20, #1
	cmp	w20, w21
	b.ne	LBB0_49
; %bb.50:
	mov	x0, x19
	bl	_b43legacy_phy_agcsetup
	mov	x0, x19
	mov	w1, #1024
	bl	_b43legacy_phy_read
	mov	x0, x19
	mov	w1, #1027
	mov	w2, #4096
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #15362
	mov	w2, #15
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #15363
	mov	w2, #20
	bl	_b43legacy_ilt_write
	mov	x0, x19
	bl	_is_bcm_board_vendor
	cbz	x0, LBB0_54
; %bb.51:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w9, [x8, #4]
	cmp	w9, #1046
	b.ne	LBB0_54
; %bb.52:
	ldr	w8, [x8]
	cmp	w8, #23
	b.ne	LBB0_54
LBB0_53:
	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_54:
	mov	w20, #1026
	mov	w1, #1025
LBB0_55:
	mov	x0, x19
	mov	w2, #2
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	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
	b	_b43legacy_ilt_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_PHYTYPE_G,8,3        ; @B43legacy_PHYTYPE_G
	.comm	_B43legacy_PHY_G_CRS,4,2        ; @B43legacy_PHY_G_CRS
	.comm	_B43legacy_ILT_FINEFREQG_SIZE,4,2 ; @B43legacy_ILT_FINEFREQG_SIZE
	.comm	_b43legacy_ilt_finefreqg,8,3    ; @b43legacy_ilt_finefreqg
	.comm	_B43legacy_ILT_NOISEG1_SIZE,4,2 ; @B43legacy_ILT_NOISEG1_SIZE
	.comm	_b43legacy_ilt_noiseg1,8,3      ; @b43legacy_ilt_noiseg1
	.comm	_B43legacy_ILT_ROTOR_SIZE,4,2   ; @B43legacy_ILT_ROTOR_SIZE
	.comm	_b43legacy_ilt_rotor,8,3        ; @b43legacy_ilt_rotor
	.comm	_B43legacy_ILT_NOISEG2_SIZE,4,2 ; @B43legacy_ILT_NOISEG2_SIZE
	.comm	_b43legacy_ilt_noiseg2,8,3      ; @b43legacy_ilt_noiseg2
	.comm	_B43legacy_ILT_NOISESCALEG_SIZE,4,2 ; @B43legacy_ILT_NOISESCALEG_SIZE
	.comm	_b43legacy_ilt_noisescaleg1,8,3 ; @b43legacy_ilt_noisescaleg1
	.comm	_b43legacy_ilt_noisescaleg3,8,3 ; @b43legacy_ilt_noisescaleg3
	.comm	_b43legacy_ilt_noisescaleg2,8,3 ; @b43legacy_ilt_noisescaleg2
	.comm	_B43legacy_ILT_SIGMASQR_SIZE,4,2 ; @B43legacy_ILT_SIGMASQR_SIZE
	.comm	_b43legacy_ilt_sigmasqr1,8,3    ; @b43legacy_ilt_sigmasqr1
	.comm	_b43legacy_ilt_sigmasqr2,8,3    ; @b43legacy_ilt_sigmasqr2
	.comm	_B43legacy_ILT_RETARD_SIZE,4,2  ; @B43legacy_ILT_RETARD_SIZE
	.comm	_b43legacy_ilt_retard,8,3       ; @b43legacy_ilt_retard
	.no_dead_strip	_b43legacy_phy_setupg
.subsections_via_symbols
