	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_tx_fifo
_fill_tx_fifo:                          ## @fill_tx_fifo
	.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
	cmpl	$3, %esi
	jl	LBB0_4
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	decl	%ebx
	movq	_I2C_TFR@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	24(%r14), %rsi
	callq	_writeb
	addq	$4, 16(%r14)
	movq	(%r14), %rax
	decq	%rax
	movq	%rax, (%r14)
	incl	8(%r14)
	decl	%ebx
	cmpl	$1, %ebx
	jg	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_TFR,8,3                    ## @I2C_TFR
	.no_dead_strip	_fill_tx_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_tx_fifo
_fill_tx_fifo:                          ; @fill_tx_fifo
	.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
	cmp	w1, #3
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	sub	w20, w1, #1
Lloh0:
	adrp	x21, _I2C_TFR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I2C_TFR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x8, x9, [x19, #16]
	ldr	w0, [x8]
	ldr	x8, [x21]
	add	x1, x8, x9
	bl	_writeb
	ldr	x8, [x19, #16]
	add	x8, x8, #4
	str	x8, [x19, #16]
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	ldr	w9, [x19, #8]
	add	w9, w9, #1
	str	w9, [x19, #8]
	sub	w20, w20, #1
	cmp	w20, #1
	b.gt	LBB0_2
LBB0_4:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_TFR,8,3                    ; @I2C_TFR
	.no_dead_strip	_fill_tx_fifo
.subsections_via_symbols
