	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpga_write
_fpga_write:                            ## @fpga_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
	cmpq	$0, (%rsi)
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movq	(%rdi), %rbx
	leaq	-28(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$4, %esi
	movq	%r15, %rdx
	callq	_uiomove
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	-28(%rbp), %ecx
	xorl	%edx, %edx
	callq	_bus_space_write_4
	cmpq	$0, (%r15)
	jg	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fpga_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpga_write
_fpga_write:                            ; @fpga_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x1]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x20, [x0]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	w1, #4
	mov	x2, x19
	bl	_uiomove
	ldp	w1, w0, [x20]
	ldr	w3, [sp, #12]
	mov	w2, #0
	bl	_bus_space_write_4
	ldr	x8, [x19]
	cmp	x8, #0
	b.gt	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fpga_write
.subsections_via_symbols
