	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_lptab_write                ## -- Begin function b43_lptab_write
	.p2align	4, 0x90
_b43_lptab_write:                       ## @b43_lptab_write
	.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
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	_B43_LPTAB_TYPEMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %ebx
	andl	%esi, %ebx
	notl	%r12d
	andl	%esi, %r12d
	xorl	%edi, %edi
	cmpl	$65536, %r12d                   ## imm = 0x10000
	setge	%dil
	callq	_B43_WARN_ON
	cmpl	$130, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_7
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_8
## %bb.3:
	movl	%r14d, %edi
	andl	$-256, %edi
	jmp	LBB0_4
LBB0_6:
	movl	%r14d, %edi
	andl	$-65536, %edi                   ## imm = 0xFFFF0000
LBB0_4:
	callq	_B43_WARN_ON
	movq	_B43_LPPHY_TABLE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	jmp	LBB0_5
LBB0_7:
	movq	_B43_LPPHY_TABLE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_b43_phy_write
	movq	_B43_LPPHY_TABLEDATAHI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	sarl	$16, %edx
	movq	%r15, %rdi
LBB0_5:
	callq	_b43_phy_write
	movq	_B43_LPPHY_TABLEDATALO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
LBB0_8:
	movl	$1, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_B43_WARN_ON                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_LPTAB_TYPEMASK,4,2         ## @B43_LPTAB_TYPEMASK
	.comm	_B43_LPPHY_TABLE_ADDR,4,2       ## @B43_LPPHY_TABLE_ADDR
	.comm	_B43_LPPHY_TABLEDATALO,4,2      ## @B43_LPPHY_TABLEDATALO
	.comm	_B43_LPPHY_TABLEDATAHI,4,2      ## @B43_LPPHY_TABLEDATAHI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_lptab_write                ; -- Begin function b43_lptab_write
	.p2align	2
_b43_lptab_write:                       ; @b43_lptab_write
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _B43_LPTAB_TYPEMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_LPTAB_TYPEMASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w22, w8, w1
	bic	w21, w1, w8
	cmp	w21, #16, lsl #12               ; =65536
	cset	w0, ge
	bl	_B43_WARN_ON
	cmp	w22, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w22, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w22, #128
	b.ne	LBB0_8
; %bb.3:
	and	w0, w19, #0xffffff00
	b	LBB0_5
LBB0_4:
	and	w0, w19, #0xffff0000
LBB0_5:
	bl	_B43_WARN_ON
Lloh3:
	adrp	x8, _B43_LPPHY_TABLE_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_LPPHY_TABLE_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _B43_LPPHY_TABLE_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_LPPHY_TABLE_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_b43_phy_write
Lloh9:
	adrp	x8, _B43_LPPHY_TABLEDATAHI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_LPPHY_TABLEDATAHI@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	asr	w2, w19, #16
	mov	x0, x20
LBB0_7:
	bl	_b43_phy_write
Lloh12:
	adrp	x8, _B43_LPPHY_TABLEDATALO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_LPPHY_TABLEDATALO@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_b43_phy_write
LBB0_8:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_B43_WARN_ON
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_LPTAB_TYPEMASK,4,2         ; @B43_LPTAB_TYPEMASK
	.comm	_B43_LPPHY_TABLE_ADDR,4,2       ; @B43_LPPHY_TABLE_ADDR
	.comm	_B43_LPPHY_TABLEDATALO,4,2      ; @B43_LPPHY_TABLEDATALO
	.comm	_B43_LPPHY_TABLEDATAHI,4,2      ; @B43_LPPHY_TABLEDATAHI
.subsections_via_symbols
