	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_read_band_sprom
_lpphy_read_band_sprom:                 ## @lpphy_read_band_sprom
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	8(%rdi), %rbx
	movl	(%rdi), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movl	168(%r14), %eax
	movl	%eax, 96(%rbx)
	movl	164(%r14), %eax
	movl	%eax, 88(%rbx)
	movups	148(%r14), %xmm0
	movups	%xmm0, 72(%rbx)
	movl	144(%r14), %eax
	movq	64(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	140(%r14), %eax
	movl	%eax, 4(%rcx)
	movl	136(%r14), %eax
	movl	%eax, 8(%rcx)
	movq	128(%r14), %rax
	movq	%rax, 24(%rbx)
	cmpq	$0, 120(%r14)
	je	LBB0_3
## %bb.2:
	movl	(%r14), %edx
	leaq	16(%rbx), %r8
	leal	(%rdx,%rdx), %edi
	andl	$30, %edi
	movq	%rax, %r9
	subq	%rdi, %r9
	movq	16(%rbx), %rdi
	movq	%r9, (%rdi)
	movq	%rdx, %rdi
	shrq	$3, %rdi
	andl	$30, %edi
	movq	%rax, %r10
	subq	%rdi, %r10
	movq	16(%rbx), %rdi
	movq	%r10, 8(%rdi)
	movq	%rdx, %rdi
	shrq	$7, %rdi
	andl	$30, %edi
	movq	%rax, %rsi
	subq	%rdi, %rsi
	movq	16(%rbx), %rdi
	movq	%rsi, 16(%rdi)
	movq	%rdx, %rdi
	shrq	$11, %rdi
	andl	$30, %edi
	movq	%rax, %rcx
	subq	%rdi, %rcx
	movq	16(%rbx), %rdi
	movq	%rcx, 24(%rdi)
	movq	16(%rbx), %rdi
	movq	%r9, 32(%rdi)
	movq	16(%rbx), %rdi
	movq	%r10, 40(%rdi)
	movq	16(%rbx), %rdi
	movq	%rsi, 48(%rdi)
	movq	16(%rbx), %rsi
	movq	%rcx, 56(%rsi)
	movq	%rdx, %rcx
	shrq	$15, %rcx
	andl	$30, %ecx
	movq	%rax, %rsi
	subq	%rcx, %rsi
	movq	16(%rbx), %rcx
	movq	%rsi, 64(%rcx)
	movq	%rdx, %rcx
	shrq	$19, %rcx
	andl	$30, %ecx
	movq	%rax, %rsi
	subq	%rcx, %rsi
	movq	16(%rbx), %rcx
	movq	%rsi, 72(%rcx)
	movq	%rdx, %rcx
	shrq	$23, %rcx
	andl	$30, %ecx
	movq	%rax, %rsi
	subq	%rcx, %rsi
	movq	16(%rbx), %rcx
	movq	%rsi, 80(%rcx)
	movq	%rdx, %rcx
	shrq	$27, %rcx
	andl	$-2, %ecx
	movq	%rax, %rsi
	subq	%rcx, %rsi
	movq	16(%rbx), %rcx
	movq	%rsi, 88(%rcx)
	sarl	$30, %edx
	andl	$30, %edx
	subq	%rdx, %rax
	movq	16(%rbx), %rcx
	movq	%rax, 96(%rcx)
	movq	16(%rbx), %rcx
	movq	%rax, 104(%rcx)
	movl	$14, %esi
	jmp	LBB0_5
LBB0_4:
	movups	92(%r14), %xmm0
	movups	%xmm0, 88(%rbx)
	movups	76(%r14), %xmm0
	movups	%xmm0, 72(%rbx)
	movl	72(%r14), %eax
	movq	64(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	68(%r14), %eax
	movl	%eax, 4(%rcx)
	movl	64(%r14), %eax
	movl	%eax, 8(%rcx)
	movl	60(%r14), %eax
	movq	56(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	56(%r14), %eax
	movl	%eax, 4(%rcx)
	movl	52(%r14), %eax
	movl	%eax, 8(%rcx)
	movl	48(%r14), %eax
	movq	48(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	44(%r14), %eax
	movl	%eax, 4(%rcx)
	movl	40(%r14), %eax
	movl	%eax, 8(%rcx)
	movq	32(%r14), %rax
	movl	4(%r14), %ecx
	movq	%rax, 40(%rbx)
	leal	(%rcx,%rcx), %edx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	32(%rbx), %rdx
	movq	%rsi, 32(%rdx)
	movq	%rcx, %rdx
	shrq	$3, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	32(%rbx), %rdx
	movq	%rsi, 40(%rdx)
	movq	%rcx, %rdx
	shrq	$7, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	32(%rbx), %rdx
	movq	%rsi, 48(%rdx)
	movq	%rcx, %rdx
	shrq	$11, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	32(%rbx), %rdx
	movq	%rsi, 56(%rdx)
	movq	%rcx, %rdx
	shrq	$15, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	32(%rbx), %rdx
	movq	%rsi, 64(%rdx)
	movq	%rcx, %rdx
	shrq	$19, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	32(%rbx), %rdx
	movq	%rsi, 72(%rdx)
	movq	%rcx, %rdx
	shrq	$23, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	32(%rbx), %rdx
	movq	%rsi, 80(%rdx)
	shrq	$27, %rcx
	andl	$-2, %ecx
	subq	%rcx, %rax
	movq	32(%rbx), %rcx
	movq	%rax, 88(%rcx)
	movq	24(%r14), %rax
	movl	8(%r14), %ecx
	movq	%rax, 24(%rbx)
	leal	(%rcx,%rcx), %edx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	16(%rbx), %rdx
	movq	%rsi, 32(%rdx)
	movq	%rcx, %rdx
	shrq	$3, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	16(%rbx), %rdx
	movq	%rsi, 40(%rdx)
	movq	%rcx, %rdx
	shrq	$7, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	16(%rbx), %rdx
	movq	%rsi, 48(%rdx)
	movq	%rcx, %rdx
	shrq	$11, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	16(%rbx), %rdx
	movq	%rsi, 56(%rdx)
	movq	%rcx, %rdx
	shrq	$15, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	16(%rbx), %rdx
	movq	%rsi, 64(%rdx)
	movq	%rcx, %rdx
	shrq	$19, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	16(%rbx), %rdx
	movq	%rsi, 72(%rdx)
	movq	%rcx, %rdx
	shrq	$23, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	16(%rbx), %rdx
	movq	%rsi, 80(%rdx)
	shrq	$27, %rcx
	andl	$-2, %ecx
	subq	%rcx, %rax
	movq	16(%rbx), %rcx
	movq	%rax, 88(%rcx)
	movq	16(%r14), %rax
	movl	12(%r14), %ecx
	movq	%rax, 8(%rbx)
	leal	(%rcx,%rcx), %edx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	(%rbx), %rdx
	movq	%rsi, 32(%rdx)
	movq	%rcx, %rdx
	shrq	$3, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	(%rbx), %rdx
	movq	%rsi, 40(%rdx)
	movq	%rcx, %rdx
	shrq	$7, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	(%rbx), %rdx
	movq	%rsi, 48(%rdx)
	movq	%rcx, %rdx
	shrq	$11, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	(%rbx), %rdx
	movq	%rsi, 56(%rdx)
	movq	%rcx, %rdx
	shrq	$15, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	(%rbx), %rdx
	movq	%rsi, 64(%rdx)
	movq	%rcx, %rdx
	shrq	$19, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	(%rbx), %rdx
	movq	%rsi, 72(%rdx)
	movq	%rcx, %rdx
	shrq	$23, %rdx
	andl	$30, %edx
	movq	%rax, %rsi
	subq	%rdx, %rsi
	movq	(%rbx), %rdx
	movq	%rsi, 80(%rdx)
	shrq	$27, %rcx
	andl	$-2, %ecx
	subq	%rcx, %rax
	movl	$11, %esi
	movq	%rbx, %r8
	jmp	LBB0_5
LBB0_3:
	leaq	16(%rbx), %r8
	movq	16(%rbx), %rcx
	movq	%rax, %rdx
	subq	112(%r14), %rdx
	movq	%rax, (%rcx)
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	16(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	16(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	16(%rbx), %rax
	movq	%rdx, 32(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 40(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 48(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 56(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 64(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 72(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 80(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 88(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 96(%rax)
	movq	16(%rbx), %rax
	movq	%rdx, 104(%rax)
	movl	$14, %esi
	movq	%rdx, %rax
LBB0_5:
	movq	(%r8), %rcx
	movq	%rax, (%rcx,%rsi,8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.no_dead_strip	_lpphy_read_band_sprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpphy_read_band_sprom
_lpphy_read_band_sprom:                 ; @lpphy_read_band_sprom
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	x19, x8, [x0, #8]
	ldr	x20, [x8]
	ldr	w0, [x0]
	bl	_b43_current_band
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldp	w9, w8, [x20, #164]
	str	w8, [x19, #96]
	str	w9, [x19, #88]
	ldur	q0, [x20, #148]
	stur	q0, [x19, #72]
	ldr	w8, [x20, #144]
	ldr	x9, [x19, #64]
	str	w8, [x9]
	ldr	w8, [x20, #140]
	str	w8, [x9, #4]
	ldr	w8, [x20, #136]
	str	w8, [x9, #8]
	ldp	x9, x8, [x20, #120]
	str	x8, [x19, #24]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	w9, [x20]
	ldr	x10, [x19, #16]!
	lsl	w11, w9, #1
	and	x11, x11, #0x1e
	sub	x11, x8, x11
	str	x11, [x10]
	lsr	x10, x9, #3
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x12, [x19]
	str	x10, [x12, #8]
	lsr	x12, x9, #7
	and	x12, x12, #0x1e
	sub	x12, x8, x12
	ldr	x13, [x19]
	str	x12, [x13, #16]
	lsr	x13, x9, #11
	and	x13, x13, #0x1e
	sub	x13, x8, x13
	ldr	x14, [x19]
	str	x13, [x14, #24]
	ldr	x14, [x19]
	str	x11, [x14, #32]
	ldr	x11, [x19]
	str	x10, [x11, #40]
	ldr	x10, [x19]
	str	x12, [x10, #48]
	ldr	x10, [x19]
	str	x13, [x10, #56]
	lsr	x10, x9, #15
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #64]
	lsr	x10, x9, #19
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #72]
	lsr	x10, x9, #23
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #80]
	lsr	x10, x9, #27
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #88]
	asr	w9, w9, #30
	and	w9, w9, #0x1e
	sub	x8, x8, x9
	b	LBB0_5
LBB0_3:
	ldur	q0, [x20, #92]
	stur	q0, [x19, #88]
	ldur	q0, [x20, #76]
	stur	q0, [x19, #72]
	ldr	w8, [x20, #72]
	ldr	x9, [x19, #64]
	str	w8, [x9]
	ldr	w8, [x20, #68]
	str	w8, [x9, #4]
	ldr	w8, [x20, #64]
	str	w8, [x9, #8]
	ldr	w8, [x20, #60]
	ldp	x10, x9, [x19, #48]
	str	w8, [x9]
	ldr	w8, [x20, #56]
	str	w8, [x9, #4]
	ldr	w8, [x20, #52]
	str	w8, [x9, #8]
	ldr	w8, [x20, #48]
	str	w8, [x10]
	ldr	w8, [x20, #44]
	str	w8, [x10, #4]
	ldr	w8, [x20, #40]
	str	w8, [x10, #8]
	ldr	x8, [x20, #32]
	str	x8, [x19, #40]
	ldp	w9, w10, [x20, #4]
	lsl	w11, w9, #1
	and	x11, x11, #0x1e
	sub	x11, x8, x11
	ldr	x12, [x19, #32]
	str	x11, [x12, #32]
	lsr	x11, x9, #3
	and	x11, x11, #0x1e
	sub	x11, x8, x11
	ldr	x12, [x19, #32]
	str	x11, [x12, #40]
	lsr	x11, x9, #7
	and	x11, x11, #0x1e
	sub	x11, x8, x11
	ldr	x12, [x19, #32]
	str	x11, [x12, #48]
	lsr	x11, x9, #11
	and	x11, x11, #0x1e
	sub	x11, x8, x11
	ldr	x12, [x19, #32]
	str	x11, [x12, #56]
	lsr	x11, x9, #15
	and	x11, x11, #0x1e
	sub	x11, x8, x11
	ldr	x12, [x19, #32]
	str	x11, [x12, #64]
	lsr	x11, x9, #19
	and	x11, x11, #0x1e
	sub	x11, x8, x11
	ldr	x12, [x19, #32]
	str	x11, [x12, #72]
	lsr	x11, x9, #23
	and	x11, x11, #0x1e
	sub	x11, x8, x11
	ldr	x12, [x19, #32]
	str	x11, [x12, #80]
	lsr	x9, x9, #27
	and	x9, x9, #0x1e
	sub	x8, x8, x9
	ldr	x9, [x19, #32]
	str	x8, [x9, #88]
	ldr	x8, [x20, #24]
	str	x8, [x19, #24]
	lsl	w9, w10, #1
	and	x9, x9, #0x1e
	sub	x9, x8, x9
	ldr	x11, [x19, #16]
	str	x9, [x11, #32]
	lsr	x9, x10, #3
	and	x9, x9, #0x1e
	sub	x9, x8, x9
	ldr	x11, [x19, #16]
	str	x9, [x11, #40]
	lsr	x9, x10, #7
	and	x9, x9, #0x1e
	sub	x9, x8, x9
	ldr	x11, [x19, #16]
	str	x9, [x11, #48]
	lsr	x9, x10, #11
	and	x9, x9, #0x1e
	sub	x9, x8, x9
	ldr	x11, [x19, #16]
	str	x9, [x11, #56]
	lsr	x9, x10, #15
	and	x9, x9, #0x1e
	sub	x9, x8, x9
	ldr	x11, [x19, #16]
	str	x9, [x11, #64]
	lsr	x9, x10, #19
	and	x9, x9, #0x1e
	sub	x9, x8, x9
	ldr	x11, [x19, #16]
	str	x9, [x11, #72]
	lsr	x9, x10, #23
	and	x9, x9, #0x1e
	sub	x9, x8, x9
	ldr	x11, [x19, #16]
	str	x9, [x11, #80]
	lsr	x9, x10, #27
	and	x9, x9, #0x1e
	sub	x8, x8, x9
	ldr	x9, [x19, #16]
	str	x8, [x9, #88]
	ldr	x8, [x20, #16]
	ldr	w9, [x20, #12]
	str	x8, [x19, #8]
	lsl	w10, w9, #1
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #32]
	lsr	x10, x9, #3
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #40]
	lsr	x10, x9, #7
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #48]
	lsr	x10, x9, #11
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #56]
	lsr	x10, x9, #15
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #64]
	lsr	x10, x9, #19
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #72]
	lsr	x10, x9, #23
	and	x10, x10, #0x1e
	sub	x10, x8, x10
	ldr	x11, [x19]
	str	x10, [x11, #80]
	lsr	x9, x9, #27
	and	x9, x9, #0x1e
	sub	x8, x8, x9
	mov	w9, #11
	b	LBB0_6
LBB0_4:
	ldr	x9, [x19, #16]!
	ldr	x10, [x20, #112]
	str	x8, [x9]
	ldr	x9, [x19]
	str	x8, [x9, #8]
	ldr	x9, [x19]
	str	x8, [x9, #16]
	ldr	x9, [x19]
	str	x8, [x9, #24]
	sub	x8, x8, x10
	ldr	x9, [x19]
	str	x8, [x9, #32]
	ldr	x9, [x19]
	str	x8, [x9, #40]
	ldr	x9, [x19]
	str	x8, [x9, #48]
	ldr	x9, [x19]
	str	x8, [x9, #56]
	ldr	x9, [x19]
	str	x8, [x9, #64]
	ldr	x9, [x19]
	str	x8, [x9, #72]
	ldr	x9, [x19]
	str	x8, [x9, #80]
	ldr	x9, [x19]
	str	x8, [x9, #88]
LBB0_5:
	ldr	x9, [x19]
	str	x8, [x9, #96]
	ldr	x9, [x19]
	str	x8, [x9, #104]
	mov	w9, #14
LBB0_6:
	ldr	x10, [x19]
	str	x8, [x10, x9, lsl #3]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.no_dead_strip	_lpphy_read_band_sprom
.subsections_via_symbols
