	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_i2c_slave_irq
_rcar_i2c_slave_irq:                    ## @rcar_i2c_slave_irq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_ICSSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rcar_i2c_read
	movzbl	%al, %ebx
	movq	_ICSIER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_rcar_i2c_read
	movl	%eax, %r14d
	andl	%ebx, %r14d
	je	LBB0_1
## %bb.2:
	movq	_SAR@GOTPCREL(%rip), %r12
	testl	%r14d, (%r12)
	je	LBB0_7
## %bb.3:
	movq	_STM@GOTPCREL(%rip), %rax
	movl	(%r13), %edi
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_I2C_SLAVE_READ_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_i2c_slave_event
	movq	_ICRXTX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
	movq	_SDE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_13
LBB0_5:
	movq	_I2C_SLAVE_WRITE_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_i2c_slave_event
	movq	_ICRXTX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rcar_i2c_read
	movq	_SDR@GOTPCREL(%rip), %rax
LBB0_6:
	movq	_ICSSR@GOTPCREL(%rip), %rbx
	movl	(%r15), %esi
	movq	_SSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	orl	(%r12), %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
	movl	(%rbx), %esi
	movzbl	(%r12), %edx
	xorl	$255, %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
LBB0_7:
	movq	_SSR@GOTPCREL(%rip), %r12
	testl	%r14d, (%r12)
	movq	_ICSSR@GOTPCREL(%rip), %rbx
	je	LBB0_9
## %bb.8:
	movl	(%r13), %edi
	movq	_I2C_SLAVE_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_i2c_slave_event
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	_SAR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
	movl	(%rbx), %esi
	movzbl	(%r12), %edx
	xorl	$255, %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
LBB0_9:
	movq	_SDR@GOTPCREL(%rip), %r15
	testl	%r14d, (%r15)
	je	LBB0_11
## %bb.10:
	movq	_ICRXTX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rcar_i2c_read
	movl	%eax, -44(%rbp)
	movl	(%r13), %edi
	movq	_I2C_SLAVE_WRITE_RECEIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_i2c_slave_event
	movq	_ICSCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_SIE@GOTPCREL(%rip), %rcx
	movq	_SDBS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_FNA@GOTPCREL(%rip), %rcx
	sarl	$31, %eax
	andl	(%rcx), %eax
	orl	%eax, %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
	movl	(%rbx), %esi
	movzbl	(%r15), %edx
	xorl	$255, %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
LBB0_11:
	movq	_SDE@GOTPCREL(%rip), %r12
	movl	$1, %r15d
	testl	%r14d, (%r12)
	je	LBB0_13
## %bb.12:
	movl	(%r13), %edi
	movq	_I2C_SLAVE_READ_PROCESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_i2c_slave_event
	movq	_ICRXTX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
	movl	(%rbx), %esi
	movzbl	(%r12), %edx
	xorl	$255, %edx
	movq	%r13, %rdi
	callq	_rcar_i2c_write
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICSSR,4,2                      ## @ICSSR
	.comm	_ICSIER,4,2                     ## @ICSIER
	.comm	_SAR,4,2                        ## @SAR
	.comm	_STM,4,2                        ## @STM
	.comm	_I2C_SLAVE_READ_REQUESTED,4,2   ## @I2C_SLAVE_READ_REQUESTED
	.comm	_ICRXTX,4,2                     ## @ICRXTX
	.comm	_SDE,4,2                        ## @SDE
	.comm	_SSR,4,2                        ## @SSR
	.comm	_I2C_SLAVE_WRITE_REQUESTED,4,2  ## @I2C_SLAVE_WRITE_REQUESTED
	.comm	_SDR,4,2                        ## @SDR
	.comm	_I2C_SLAVE_STOP,4,2             ## @I2C_SLAVE_STOP
	.comm	_I2C_SLAVE_WRITE_RECEIVED,4,2   ## @I2C_SLAVE_WRITE_RECEIVED
	.comm	_ICSCR,4,2                      ## @ICSCR
	.comm	_SIE,4,2                        ## @SIE
	.comm	_SDBS,4,2                       ## @SDBS
	.comm	_FNA,4,2                        ## @FNA
	.comm	_I2C_SLAVE_READ_PROCESSED,4,2   ## @I2C_SLAVE_READ_PROCESSED
	.no_dead_strip	_rcar_i2c_slave_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_i2c_slave_irq
_rcar_i2c_slave_irq:                    ; @rcar_i2c_slave_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x20, _ICSSR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ICSSR@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_rcar_i2c_read
	and	w26, w0, #0xff
Lloh2:
	adrp	x23, _ICSIER@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ICSIER@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rcar_i2c_read
	ands	w22, w0, w26
	b.eq	LBB0_4
; %bb.1:
Lloh4:
	adrp	x25, _SAR@GOTPAGE
Lloh5:
	ldr	x25, [x25, _SAR@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh6:
	adrp	x24, _SSR@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SSR@GOTPAGEOFF]
Lloh8:
	adrp	x21, _ICRXTX@GOTPAGE
Lloh9:
	ldr	x21, [x21, _ICRXTX@GOTPAGEOFF]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.2:
Lloh10:
	adrp	x8, _STM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w0, [x19]
	tst	w8, w26
	b.eq	LBB0_5
; %bb.3:
Lloh13:
	adrp	x8, _I2C_SLAVE_READ_REQUESTED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I2C_SLAVE_READ_REQUESTED@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
	ldr	w1, [x21]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rcar_i2c_write
Lloh16:
	adrp	x8, _SDE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SDE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_14
LBB0_5:
Lloh18:
	adrp	x8, _I2C_SLAVE_WRITE_REQUESTED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _I2C_SLAVE_WRITE_REQUESTED@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rcar_i2c_read
Lloh21:
	adrp	x8, _SDR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SDR@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x23]
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w8, w9, w8
	ldr	w9, [x25]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rcar_i2c_write
	ldr	w1, [x20]
	ldrb	w8, [x25]
	eor	w2, w8, #0xff
	mov	x0, x19
	bl	_rcar_i2c_write
LBB0_7:
Lloh23:
	adrp	x26, _SDR@GOTPAGE
Lloh24:
	ldr	x26, [x26, _SDR@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w22
	b.eq	LBB0_9
; %bb.8:
	ldr	w0, [x19]
Lloh25:
	adrp	x8, _I2C_SLAVE_STOP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _I2C_SLAVE_STOP@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
	ldr	w1, [x23]
	ldr	w8, [x25]
	ldr	w9, [x24]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rcar_i2c_write
	ldr	w1, [x20]
	ldrb	w8, [x24]
	eor	w2, w8, #0xff
	mov	x0, x19
	bl	_rcar_i2c_write
LBB0_9:
Lloh28:
	adrp	x23, _SDE@GOTPAGE
Lloh29:
	ldr	x23, [x23, _SDE@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rcar_i2c_read
	str	w0, [sp, #12]
	ldr	w0, [x19]
Lloh30:
	adrp	x8, _I2C_SLAVE_WRITE_RECEIVED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _I2C_SLAVE_WRITE_RECEIVED@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
Lloh33:
	adrp	x8, _ICSCR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ICSCR@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _SIE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SIE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _SDBS@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SDBS@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh42:
	adrp	x9, _FNA@GOTPAGE
Lloh43:
	ldr	x9, [x9, _FNA@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	and	w9, w9, w0, asr #31
	orr	w2, w8, w9
	mov	x0, x19
	bl	_rcar_i2c_write
	ldr	w1, [x20]
	ldrb	w8, [x26]
	eor	w2, w8, #0xff
	mov	x0, x19
	bl	_rcar_i2c_write
LBB0_11:
	ldr	w8, [x23]
	tst	w8, w22
	b.eq	LBB0_13
; %bb.12:
	ldr	w0, [x19]
Lloh45:
	adrp	x8, _I2C_SLAVE_READ_PROCESSED@GOTPAGE
Lloh46:
	ldr	x8, [x8, _I2C_SLAVE_READ_PROCESSED@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
	ldr	w1, [x21]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rcar_i2c_write
	ldr	w1, [x20]
	ldrb	w8, [x23]
	eor	w2, w8, #0xff
	mov	x0, x19
	bl	_rcar_i2c_write
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_ICSSR,4,2                      ; @ICSSR
	.comm	_ICSIER,4,2                     ; @ICSIER
	.comm	_SAR,4,2                        ; @SAR
	.comm	_STM,4,2                        ; @STM
	.comm	_I2C_SLAVE_READ_REQUESTED,4,2   ; @I2C_SLAVE_READ_REQUESTED
	.comm	_ICRXTX,4,2                     ; @ICRXTX
	.comm	_SDE,4,2                        ; @SDE
	.comm	_SSR,4,2                        ; @SSR
	.comm	_I2C_SLAVE_WRITE_REQUESTED,4,2  ; @I2C_SLAVE_WRITE_REQUESTED
	.comm	_SDR,4,2                        ; @SDR
	.comm	_I2C_SLAVE_STOP,4,2             ; @I2C_SLAVE_STOP
	.comm	_I2C_SLAVE_WRITE_RECEIVED,4,2   ; @I2C_SLAVE_WRITE_RECEIVED
	.comm	_ICSCR,4,2                      ; @ICSCR
	.comm	_SIE,4,2                        ; @SIE
	.comm	_SDBS,4,2                       ; @SDBS
	.comm	_FNA,4,2                        ; @FNA
	.comm	_I2C_SLAVE_READ_PROCESSED,4,2   ; @I2C_SLAVE_READ_PROCESSED
	.no_dead_strip	_rcar_i2c_slave_irq
.subsections_via_symbols
