	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solo_i2c_isr                   ## -- Begin function solo_i2c_isr
	.p2align	4, 0x90
_solo_i2c_isr:                          ## @solo_i2c_isr
	.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
	movq	%rdi, %r14
	movq	_SOLO_IIC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_solo_reg_read
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	movq	_SOLO_IIC_STATE_TRNS@GOTPCREL(%rip), %rcx
	movq	_SOLO_IIC_STATE_SIG_ERR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_CHK_FLAGS
	testq	%rax, %rax
	je	LBB0_1
LBB0_2:
	movq	%r14, %rdi
	callq	_solo_i2c_stop
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, (%r14)
	js	LBB0_2
## %bb.3:
	movl	8(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_11
## %bb.5:
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.6:
	movq	24(%r14), %rax
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.7:
	movl	$130, 8(%r14)
	jmp	LBB0_8
LBB0_11:
	movq	_SOLO_IIC_RXD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_solo_reg_read
	movq	16(%r14), %rcx
	movq	24(%r14), %rdx
	movq	8(%rdx), %rdx
	movq	%rax, (%rdx,%rcx,8)
	incq	%rcx
	movq	%rcx, 16(%r14)
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_solo_i2c_handle_read           ## TAILCALL
LBB0_12:
	movq	%r14, %rdi
	callq	_solo_i2c_stop
	jmp	LBB0_13
LBB0_9:
	movl	$128, 8(%r14)
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_solo_i2c_handle_write          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOLO_IIC_CTRL,4,2              ## @SOLO_IIC_CTRL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SOLO_IIC_STATE_TRNS,4,2        ## @SOLO_IIC_STATE_TRNS
	.comm	_SOLO_IIC_STATE_SIG_ERR,4,2     ## @SOLO_IIC_STATE_SIG_ERR
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_SOLO_IIC_RXD,4,2               ## @SOLO_IIC_RXD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solo_i2c_isr                   ; -- Begin function solo_i2c_isr
	.p2align	2
_solo_i2c_isr:                          ; @solo_i2c_isr
	.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
Lloh0:
	adrp	x8, _SOLO_IIC_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOLO_IIC_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_solo_reg_read
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _SOLO_IIC_STATE_TRNS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SOLO_IIC_STATE_TRNS@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _SOLO_IIC_STATE_SIG_ERR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SOLO_IIC_STATE_SIG_ERR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_CHK_FLAGS
	cbz	x0, LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_solo_i2c_stop
Lloh12:
	adrp	x8, _ENXIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_1
; %bb.4:
	ldr	w8, [x19, #8]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.5:
	cmp	w8, #130
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #129
	b.ne	LBB0_11
; %bb.7:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.8:
	mov	w8, #130
	str	w8, [x19, #8]
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x8, _SOLO_IIC_RXD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SOLO_IIC_RXD@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_solo_reg_read
	ldp	x9, x8, [x19, #16]
	ldr	x8, [x8, #8]
	str	x0, [x8, x9, lsl #3]
	add	x8, x9, #1
	str	x8, [x19, #16]
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_solo_i2c_handle_read
LBB0_11:
	neg	w20, w20
	mov	x0, x19
	bl	_solo_i2c_stop
	b	LBB0_2
LBB0_12:
	mov	w8, #128
	str	w8, [x19, #8]
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_solo_i2c_handle_write
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SOLO_IIC_CTRL,4,2              ; @SOLO_IIC_CTRL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SOLO_IIC_STATE_TRNS,4,2        ; @SOLO_IIC_STATE_TRNS
	.comm	_SOLO_IIC_STATE_SIG_ERR,4,2     ; @SOLO_IIC_STATE_SIG_ERR
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_SOLO_IIC_RXD,4,2               ; @SOLO_IIC_RXD
.subsections_via_symbols
