	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_shm_write32          ## -- Begin function b43legacy_shm_write32
	.p2align	4, 0x90
_b43legacy_shm_write32:                 ## @b43legacy_shm_write32
	.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	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_B43legacy_SHM_SHARED@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_3
## %bb.1:
	movl	%ebx, %edi
	andl	$1, %edi
	callq	_B43legacy_WARN_ON
	movl	%ebx, %eax
	sarq	$2, %rbx
	testb	$3, %al
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_b43legacy_shm_control_word
	movq	_B43legacy_MMIO_SHM_DATA_UNALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	shrl	$16, %edx
	movq	%r15, %rdi
	callq	_b43legacy_write16
	incq	%rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_b43legacy_shm_control_word
	movq	_B43legacy_MMIO_SHM_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	%r14w, %edx
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43legacy_write16              ## TAILCALL
LBB0_3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_b43legacy_shm_control_word
	movq	_B43legacy_MMIO_SHM_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43legacy_write32              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_SHM_SHARED,8,3       ## @B43legacy_SHM_SHARED
	.comm	_B43legacy_MMIO_SHM_DATA_UNALIGNED,4,2 ## @B43legacy_MMIO_SHM_DATA_UNALIGNED
	.comm	_B43legacy_MMIO_SHM_DATA,4,2    ## @B43legacy_MMIO_SHM_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_shm_write32          ; -- Begin function b43legacy_shm_write32
	.p2align	2
_b43legacy_shm_write32:                 ; @b43legacy_shm_write32
	.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, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _B43legacy_SHM_SHARED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43legacy_SHM_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.1:
	and	w0, w22, #0x1
	bl	_B43legacy_WARN_ON
	tst	x22, #0x3
	asr	x22, x22, #2
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_b43legacy_shm_control_word
Lloh3:
	adrp	x8, _B43legacy_MMIO_SHM_DATA_UNALIGNED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43legacy_MMIO_SHM_DATA_UNALIGNED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	lsr	w2, w19, #16
	mov	x0, x20
	bl	_b43legacy_write16
	add	x2, x22, #1
	mov	x0, x20
	mov	x1, x21
	bl	_b43legacy_shm_control_word
Lloh6:
	adrp	x8, _B43legacy_MMIO_SHM_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43legacy_MMIO_SHM_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	and	w2, w19, #0xffff
	mov	x0, x20
	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	_b43legacy_write16
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_b43legacy_shm_control_word
Lloh9:
	adrp	x8, _B43legacy_MMIO_SHM_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43legacy_MMIO_SHM_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	_b43legacy_write32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_SHM_SHARED,8,3       ; @B43legacy_SHM_SHARED
	.comm	_B43legacy_MMIO_SHM_DATA_UNALIGNED,4,2 ; @B43legacy_MMIO_SHM_DATA_UNALIGNED
	.comm	_B43legacy_MMIO_SHM_DATA,4,2    ; @B43legacy_MMIO_SHM_DATA
.subsections_via_symbols
