	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm3510_write_ram
_bcm3510_write_ram:                     ## @bcm3510_write_ram
	.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	%ecx, %r15d
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	%esi, %edx
	sarl	$8, %edx
	movl	$169, %esi
	callq	_bcm3510_writeB
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	shlq	$32, %r12
	movq	%r13, %rdi
	movl	$170, %esi
	movq	%r12, %rdx
	callq	_bcm3510_writeB
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.3:
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %ecx
	movq	%r13, %rdi
	movl	$171, %esi
	callq	_bcm3510_writeB
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_4
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bcm3510_write_ram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm3510_write_ram
_bcm3510_write_ram:                     ; @bcm3510_write_ram
	.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	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	asr	w2, w1, #8
	mov	w1, #169
	mov	x3, #0
	bl	_bcm3510_writeB
	tbnz	w0, #31, LBB0_7
; %bb.1:
	lsl	x2, x22, #32
	mov	x0, x20
	mov	w1, #170
	mov	x3, #0
	bl	_bcm3510_writeB
	tbnz	w0, #31, LBB0_7
; %bb.2:
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w22, w21
                                        ; implicit-def: $x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	and	x9, x21, #0xffffffff00000000
	orr	x21, x9, x8
	mov	x0, x20
	mov	w1, #171
	mov	x3, x21
	bl	_bcm3510_writeB
	tbnz	w0, #31, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #4
	subs	x22, x22, #1
	b.ne	LBB0_4
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bcm3510_write_ram
.subsections_via_symbols
