	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_gphy_gain_lt_init
_b43_gphy_gain_lt_init:                 ## @b43_gphy_gain_lt_init
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	movq	16(%rbx), %rcx
	xorl	%edx, %edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$65, %eax
	movl	$64, %r13d
	cmovgel	%eax, %r13d
	subl	%eax, %r13d
	movl	%eax, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r12, %r13
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	24(%rbx), %rax
	movl	(%rax,%r12,4), %eax
	shll	$8, %eax
	xorl	%edx, %edx
	cmpl	$8, (%r14)
	movq	8(%rbx), %rcx
	sete	%dl
	shll	$4, %edx
	orl	%eax, %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	orl	(%rcx,%rax,4), %edx
	orl	$64, %edx
	leal	(%r15,%r12), %esi
	addl	$960, %esi                      ## imm = 0x3C0
	movq	%r14, %rdi
	callq	_b43_phy_write
	incq	%r12
	movq	16(%rbx), %rcx
	cmpq	%rcx, %r12
	jb	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	addl	%r12d, -44(%rbp)                ## 4-byte Folded Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	%rsi, %rdx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rsi
	jb	LBB0_2
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43_gphy_gain_lt_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_gphy_gain_lt_init
_b43_gphy_gain_lt_init:                 ; @b43_gphy_gain_lt_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x21, #0
	mov	w22, #0
	ldr	x9, [x20, #16]
	mov	w23, #64
	mov	w24, #80
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	add	w22, w22, w25
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, x8
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	cmp	w22, #64
	csel	w8, w22, w23, gt
	sub	w26, w8, w22
	mov	w27, w22
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x26, x25
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x20, #24]
	ldr	w8, [x8, x25, lsl #2]
	ldr	w9, [x19]
	cmp	w9, #8
	csel	w9, w24, w23, eq
	bfi	w9, w8, #8, #24
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x21, lsl #2]
	orr	w2, w9, w8
	add	w8, w27, w25
	add	w1, w8, #960
	mov	x0, x19
	bl	_b43_phy_write
	add	x25, x25, #1
	ldr	x9, [x20, #16]
	cmp	x25, x9
	b.lo	LBB0_6
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43_gphy_gain_lt_init
.subsections_via_symbols
