	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efm32_i2c_send_next_byte
_efm32_i2c_send_next_byte:              ## @efm32_i2c_send_next_byte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rdx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	%rax, %rdi
	shlq	$4, %rdi
	cmpq	(%rdx,%rdi), %rcx
	jge	LBB0_1
## %bb.3:
	movq	_REG_TXDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rdx,%rdi), %rax
	leaq	1(%rcx), %rdx
	movq	%rdx, 8(%rbx)
	movl	(%rax,%rcx,4), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_efm32_i2c_write32              ## TAILCALL
LBB0_1:
	movq	$0, 8(%rbx)
	incq	%rax
	movq	%rax, (%rbx)
	movslq	16(%rbx), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_efm32_i2c_send_next_msg        ## TAILCALL
LBB0_4:
	movq	_REG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_CMD_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_efm32_i2c_write32
	addq	$20, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_complete                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_CMD,4,2                    ## @REG_CMD
	.comm	_REG_CMD_STOP,4,2               ## @REG_CMD_STOP
	.comm	_REG_TXDATA,4,2                 ## @REG_TXDATA
	.no_dead_strip	_efm32_i2c_send_next_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efm32_i2c_send_next_byte
_efm32_i2c_send_next_byte:              ; @efm32_i2c_send_next_byte
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x9, [x0, #24]
	ldp	x10, x8, [x0]
	lsl	x11, x10, #4
	ldr	x11, [x9, x11]
	cmp	x8, x11
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x11, _REG_TXDATA@GOTPAGE
Lloh1:
	ldr	x11, [x11, _REG_TXDATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x11]
	add	x9, x9, x10, lsl #4
	ldr	x9, [x9, #8]
	add	x10, x8, #1
	str	x10, [x19, #8]
	ldr	w2, [x9, x8, lsl #2]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_efm32_i2c_write32
LBB0_2:
	add	x8, x10, #1
	stp	x8, xzr, [x19]
	ldrsw	x9, [x19, #16]
	cmp	x8, x9
	b.hs	LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_efm32_i2c_send_next_msg
LBB0_4:
Lloh3:
	adrp	x8, _REG_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _REG_CMD_STOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_CMD_STOP@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_efm32_i2c_write32
	add	x0, x19, #20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_complete
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_CMD,4,2                    ; @REG_CMD
	.comm	_REG_CMD_STOP,4,2               ; @REG_CMD_STOP
	.comm	_REG_TXDATA,4,2                 ; @REG_TXDATA
	.no_dead_strip	_efm32_i2c_send_next_byte
.subsections_via_symbols
