	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function riic_rdrf_isr
_riic_rdrf_isr:                         ## @riic_rdrf_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rsi), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	_RIIC_INIT_MSG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movq	32(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_RIIC_ICDRR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	callq	_readb
	jmp	LBB0_10
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.5:
	cmpq	$0, 24(%rbx)
	je	LBB0_7
## %bb.6:
	movq	_ICIER_SPIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RIIC_ICIER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_riic_clear_set_bit
	movq	_ICCR2_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RIIC_ICCR2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	callq	_writeb
LBB0_7:
	movq	_ICMR3_ACKBT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_8:
	movq	_ICMR3_ACKBT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
LBB0_9:
	movq	_RIIC_ICMR3@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_riic_clear_set_bit
	movq	_RIIC_ICDRR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	callq	_readb
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	addq	$4, %rcx
	movq	%rcx, 8(%rbx)
	decl	(%rbx)
LBB0_10:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_RIIC_INIT_MSG,4,2              ## @RIIC_INIT_MSG
	.comm	_RIIC_ICDRR,8,3                 ## @RIIC_ICDRR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_ICIER_SPIE,4,2                 ## @ICIER_SPIE
	.comm	_RIIC_ICIER,4,2                 ## @RIIC_ICIER
	.comm	_ICCR2_SP,4,2                   ## @ICCR2_SP
	.comm	_RIIC_ICCR2,8,3                 ## @RIIC_ICCR2
	.comm	_ICMR3_ACKBT,4,2                ## @ICMR3_ACKBT
	.comm	_RIIC_ICMR3,4,2                 ## @RIIC_ICMR3
	.no_dead_strip	_riic_rdrf_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function riic_rdrf_isr
_riic_rdrf_isr:                         ; @riic_rdrf_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
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x9, _RIIC_INIT_MSG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RIIC_INIT_MSG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _RIIC_ICDRR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RIIC_ICDRR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	b	LBB0_10
LBB0_3:
Lloh6:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _ICIER_SPIE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ICIER_SPIE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _RIIC_ICIER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RIIC_ICIER@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_riic_clear_set_bit
Lloh14:
	adrp	x8, _ICCR2_SP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ICCR2_SP@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
Lloh17:
	adrp	x9, _RIIC_ICCR2@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RIIC_ICCR2@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writeb
LBB0_7:
	mov	w1, #0
Lloh20:
	adrp	x8, _ICMR3_ACKBT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ICMR3_ACKBT@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	b	LBB0_9
LBB0_8:
	mov	w2, #0
Lloh23:
	adrp	x8, _ICMR3_ACKBT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ICMR3_ACKBT@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
LBB0_9:
Lloh26:
	adrp	x8, _RIIC_ICMR3@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RIIC_ICMR3@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_riic_clear_set_bit
	ldr	x8, [x19, #16]
Lloh29:
	adrp	x9, _RIIC_ICDRR@GOTPAGE
Lloh30:
	ldr	x9, [x9, _RIIC_ICDRR@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb
	ldr	x8, [x19, #8]
	str	w0, [x8], #4
	str	x8, [x19, #8]
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
LBB0_10:
Lloh32:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_RIIC_INIT_MSG,4,2              ; @RIIC_INIT_MSG
	.comm	_RIIC_ICDRR,8,3                 ; @RIIC_ICDRR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_ICIER_SPIE,4,2                 ; @ICIER_SPIE
	.comm	_RIIC_ICIER,4,2                 ; @RIIC_ICIER
	.comm	_ICCR2_SP,4,2                   ; @ICCR2_SP
	.comm	_RIIC_ICCR2,8,3                 ; @RIIC_ICCR2
	.comm	_ICMR3_ACKBT,4,2                ; @ICMR3_ACKBT
	.comm	_RIIC_ICMR3,4,2                 ; @RIIC_ICMR3
	.no_dead_strip	_riic_rdrf_isr
.subsections_via_symbols
