	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_ram_write
_b43_ram_write:                         ## @b43_ram_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testb	$3, %r15b
	setne	%dil
	callq	_B43_WARN_ON
	movq	_B43_MMIO_MACCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_b43_read32
	movq	_B43_MACCTL_BE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	callq	_swab32
	movl	%eax, %r14d
LBB0_2:
	movq	_B43_MMIO_RAM_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_b43_write32
	movq	_B43_MMIO_RAM_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_write32                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_MMIO_MACCTL,4,2            ## @B43_MMIO_MACCTL
	.comm	_B43_MACCTL_BE,4,2              ## @B43_MACCTL_BE
	.comm	_B43_MMIO_RAM_CONTROL,4,2       ## @B43_MMIO_RAM_CONTROL
	.comm	_B43_MMIO_RAM_DATA,4,2          ## @B43_MMIO_RAM_DATA
	.no_dead_strip	_b43_ram_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_ram_write
_b43_ram_write:                         ; @b43_ram_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	x21, x1
	mov	x20, x0
	tst	w1, #0x3
	cset	w0, ne
	bl	_B43_WARN_ON
Lloh0:
	adrp	x8, _B43_MMIO_MACCTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_MMIO_MACCTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_read32
Lloh3:
	adrp	x8, _B43_MACCTL_BE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_MACCTL_BE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_swab32
	mov	x19, x0
LBB0_2:
Lloh6:
	adrp	x8, _B43_MMIO_RAM_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_MMIO_RAM_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_b43_write32
Lloh9:
	adrp	x8, _B43_MMIO_RAM_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_MMIO_RAM_DATA@GOTPAGEOFF]
Lloh11:
	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_write32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_MMIO_MACCTL,4,2            ; @B43_MMIO_MACCTL
	.comm	_B43_MACCTL_BE,4,2              ; @B43_MACCTL_BE
	.comm	_B43_MMIO_RAM_CONTROL,4,2       ; @B43_MMIO_RAM_CONTROL
	.comm	_B43_MMIO_RAM_DATA,4,2          ; @B43_MMIO_RAM_DATA
	.no_dead_strip	_b43_ram_write
.subsections_via_symbols
