	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_gphy_dc_lt_init            ## -- Begin function b43_gphy_dc_lt_init
	.p2align	4, 0x90
_b43_gphy_dc_lt_init:                   ## @b43_gphy_dc_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movq	_B43_DC_LT_SIZE@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpl	$32, (%r12)
	setne	%dil
	callq	_BUILD_BUG_ON
	movl	32(%r13), %eax
	imull	16(%r13), %eax
	xorl	%edi, %edi
	cmpl	$65, %eax
	setge	%dil
	callq	_B43_WARN_ON
	movl	(%r13), %ebx
	movl	%r14d, %eax
	orl	%ebx, %eax
	je	LBB0_17
## %bb.1:
	movq	%r15, %rdi
	callq	_b43_mac_suspend
	cmpl	$0, (%r12)
	jle	LBB0_16
## %bb.2:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43warn
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movq	_B43_DC_LT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax), %ecx
	cmpl	%ecx, %ebx
	jge	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	btl	%ebx, %eax
	jae	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
	cltd
	idivl	16(%r13)
                                        ## kill: def $edx killed $edx def $rdx
	movslq	%eax, %rsi
	shlq	$2, %rsi
	addq	40(%r13), %rsi
	shlq	$2, %rdx
	addq	24(%r13), %rdx
	movq	%r15, %rdi
	callq	_b43_calibrate_lo_setting
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %r12d
	shll	$4, %r12d
	orl	8(%rax), %r12d
	movq	%rax, %rdi
	callq	_kfree
	movl	%ebx, %eax
	shrl	%eax
	movq	8(%r13), %rcx
	movl	(%rcx,%rax,4), %edx
	testb	$1, %bl
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	andl	$65280, %edx                    ## imm = 0xFF00
	movzbl	%r12b, %esi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%dl, %edx
	shll	$8, %r12d
	movzwl	%r12w, %esi
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	%edx, %esi
	movl	%esi, (%rcx,%rax,4)
	movl	$1, %r12d
	jmp	LBB0_11
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	testl	%r12d, %r12d
	movq	_B43_DC_LT_SIZE@GOTPCREL(%rip), %r14
	je	LBB0_16
## %bb.13:
	testl	%eax, %eax
	jle	LBB0_16
## %bb.14:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edx
	leal	928(%rbx), %esi
	movq	%r15, %rdi
	callq	_b43_phy_write
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_mac_enable                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_DC_LT_SIZE,4,2             ## @B43_DC_LT_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LO: Could not calibrate DC table entry\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_gphy_dc_lt_init            ; -- Begin function b43_gphy_dc_lt_init
	.p2align	2
_b43_gphy_dc_lt_init:                   ; @b43_gphy_dc_lt_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
Lloh0:
	adrp	x23, _B43_DC_LT_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _B43_DC_LT_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #32
	cset	w0, ne
	bl	_BUILD_BUG_ON
	ldr	w8, [x22, #16]
	ldr	w9, [x22, #32]
	mul	w8, w9, w8
	cmp	w8, #64
	cset	w0, gt
	bl	_B43_WARN_ON
	ldr	w24, [x22]
	orr	w8, w20, w24
	cbz	w8, LBB0_12
; %bb.1:
	mov	x0, x19
	bl	_b43_mac_suspend
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.2:
	mov	w25, #0
	mov	w26, #0
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	mov	x1, x21
	bl	_b43warn
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
	ldr	w8, [x23]
	cmp	w25, w8, lsl #1
	b.ge	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w20, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	lsr	w8, w24, w25
	tbz	w8, #0, LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22, #16]
	sdiv	w9, w25, w8
	msub	w8, w8, w9, w25
	ldr	x10, [x22, #40]
	add	x1, x10, w9, sxtw #2
	ldr	x9, [x22, #24]
	add	x2, x9, w8, uxtw #2
	mov	x0, x19
	bl	_b43_calibrate_lo_setting
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x0, #8]
	ldr	w9, [x0]
	orr	w26, w8, w9, lsl #4
	bl	_kfree
	lsr	w8, w25, #1
	ldr	x9, [x22, #8]
	ldr	w10, [x9, w8, uxtw #2]
	tbnz	w25, #0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w10, w10, #0xff00
	bfxil	w10, w26, #0, #8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w10, w10, #0xff
	bfi	w10, w26, #8, #8
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w10, [x9, x8, lsl #2]
	mov	w26, #1
	b	LBB0_4
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	cbz	w26, LBB0_17
; %bb.14:
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x20, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w2, [x8, x20, lsl #2]
	add	w1, w20, #928
	mov	x0, x19
	bl	_b43_phy_write
	add	x20, x20, #1
	ldrsw	x8, [x23]
	cmp	x20, x8
	b.lt	LBB0_16
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_b43_mac_enable
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_DC_LT_SIZE,4,2             ; @B43_DC_LT_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LO: Could not calibrate DC table entry\n"

.subsections_via_symbols
