	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_twi_interrupt_slave
_atmel_twi_interrupt_slave:             ## @atmel_twi_interrupt_slave
	.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	%rsi, %r15
	movq	_AT91_TWI_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_at91_twi_read
	movl	%eax, %ebx
	movq	_AT91_TWI_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_at91_twi_read
	movl	%eax, %r14d
	andl	%ebx, %r14d
	je	LBB0_1
## %bb.2:
	movq	_AT91_TWI_SVACC@GOTPCREL(%rip), %r12
	testl	%r14d, (%r12)
	je	LBB0_7
## %bb.3:
	movq	_AT91_TWI_SVREAD@GOTPCREL(%rip), %rax
	movl	(%r15), %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
	movl	-44(%rbp), %edi
	movq	_AT91_TWI_THR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	callq	_writeb_relaxed
	movq	_AT91_TWI_TXRDY@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	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	_AT91_TWI_RXRDY@GOTPCREL(%rip), %rax
LBB0_6:
	movq	_AT91_TWI_IER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_AT91_TWI_EOSACC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_at91_twi_write
	movq	_AT91_TWI_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_at91_twi_write
LBB0_7:
	movq	_AT91_TWI_TXRDY@GOTPCREL(%rip), %r13
	testl	%r14d, (%r13)
	je	LBB0_9
## %bb.8:
	movl	(%r15), %edi
	movq	_I2C_SLAVE_READ_PROCESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_i2c_slave_event
	movl	-44(%rbp), %edi
	movq	_AT91_TWI_THR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	callq	_writeb_relaxed
LBB0_9:
	movq	_AT91_TWI_RXRDY@GOTPCREL(%rip), %r12
	testl	%r14d, (%r12)
	je	LBB0_11
## %bb.10:
	movq	_AT91_TWI_RHR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r15), %rdi
	callq	_readb_relaxed
	movl	%eax, -44(%rbp)
	movl	(%r15), %edi
	movq	_I2C_SLAVE_WRITE_RECEIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_i2c_slave_event
LBB0_11:
	movq	_AT91_TWI_EOSACC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	testl	%r14d, %edx
	je	LBB0_13
## %bb.12:
	movq	_AT91_TWI_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r13), %edx
	orl	(%r12), %edx
	movq	%r15, %rdi
	callq	_at91_twi_write
	movq	_AT91_TWI_IER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AT91_TWI_SVACC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_at91_twi_write
	movl	(%r15), %edi
	movq	_I2C_SLAVE_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_i2c_slave_event
LBB0_13:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_TWI_SR,4,2                ## @AT91_TWI_SR
	.comm	_AT91_TWI_IMR,4,2               ## @AT91_TWI_IMR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_AT91_TWI_SVACC,4,2             ## @AT91_TWI_SVACC
	.comm	_AT91_TWI_SVREAD,4,2            ## @AT91_TWI_SVREAD
	.comm	_I2C_SLAVE_READ_REQUESTED,4,2   ## @I2C_SLAVE_READ_REQUESTED
	.comm	_AT91_TWI_THR,8,3               ## @AT91_TWI_THR
	.comm	_AT91_TWI_IER,4,2               ## @AT91_TWI_IER
	.comm	_AT91_TWI_TXRDY,4,2             ## @AT91_TWI_TXRDY
	.comm	_AT91_TWI_EOSACC,4,2            ## @AT91_TWI_EOSACC
	.comm	_I2C_SLAVE_WRITE_REQUESTED,4,2  ## @I2C_SLAVE_WRITE_REQUESTED
	.comm	_AT91_TWI_RXRDY,4,2             ## @AT91_TWI_RXRDY
	.comm	_AT91_TWI_IDR,4,2               ## @AT91_TWI_IDR
	.comm	_I2C_SLAVE_READ_PROCESSED,4,2   ## @I2C_SLAVE_READ_PROCESSED
	.comm	_AT91_TWI_RHR,8,3               ## @AT91_TWI_RHR
	.comm	_I2C_SLAVE_WRITE_RECEIVED,4,2   ## @I2C_SLAVE_WRITE_RECEIVED
	.comm	_I2C_SLAVE_STOP,4,2             ## @I2C_SLAVE_STOP
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_atmel_twi_interrupt_slave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_twi_interrupt_slave
_atmel_twi_interrupt_slave:             ; @atmel_twi_interrupt_slave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
Lloh0:
	adrp	x8, _AT91_TWI_SR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_TWI_SR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_at91_twi_read
	mov	x20, x0
Lloh3:
	adrp	x8, _AT91_TWI_IMR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT91_TWI_IMR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_at91_twi_read
	ands	w23, w0, w20
	b.eq	LBB0_4
; %bb.1:
Lloh6:
	adrp	x21, _AT91_TWI_SVACC@GOTPAGE
Lloh7:
	ldr	x21, [x21, _AT91_TWI_SVACC@GOTPAGEOFF]
Lloh8:
	adrp	x24, _AT91_TWI_TXRDY@GOTPAGE
Lloh9:
	ldr	x24, [x24, _AT91_TWI_TXRDY@GOTPAGEOFF]
Lloh10:
	adrp	x27, _AT91_TWI_THR@GOTPAGE
Lloh11:
	ldr	x27, [x27, _AT91_TWI_THR@GOTPAGEOFF]
Lloh12:
	adrp	x26, _AT91_TWI_EOSACC@GOTPAGE
Lloh13:
	ldr	x26, [x26, _AT91_TWI_EOSACC@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh14:
	adrp	x25, _AT91_TWI_IDR@GOTPAGE
Lloh15:
	ldr	x25, [x25, _AT91_TWI_IDR@GOTPAGEOFF]
Lloh16:
	adrp	x22, _AT91_TWI_IER@GOTPAGE
Lloh17:
	ldr	x22, [x22, _AT91_TWI_IER@GOTPAGEOFF]
	tst	w8, w23
	b.eq	LBB0_7
; %bb.2:
Lloh18:
	adrp	x8, _AT91_TWI_SVREAD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AT91_TWI_SVREAD@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w0, [x19]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.3:
Lloh21:
	adrp	x8, _I2C_SLAVE_READ_REQUESTED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I2C_SLAVE_READ_REQUESTED@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
	ldr	w0, [sp, #12]
	ldr	x8, [x19, #8]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writeb_relaxed
Lloh24:
	adrp	x8, _AT91_TWI_TXRDY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AT91_TWI_TXRDY@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh26:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
Lloh28:
	adrp	x8, _I2C_SLAVE_WRITE_REQUESTED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _I2C_SLAVE_WRITE_REQUESTED@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
Lloh31:
	adrp	x8, _AT91_TWI_RXRDY@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AT91_TWI_RXRDY@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x22]
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_at91_twi_write
	ldr	w1, [x25]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_at91_twi_write
LBB0_7:
Lloh33:
	adrp	x20, _AT91_TWI_RXRDY@GOTPAGE
Lloh34:
	ldr	x20, [x20, _AT91_TWI_RXRDY@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w23
	b.eq	LBB0_9
; %bb.8:
	ldr	w0, [x19]
Lloh35:
	adrp	x8, _I2C_SLAVE_READ_PROCESSED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _I2C_SLAVE_READ_PROCESSED@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
	ldr	w0, [sp, #12]
	ldr	x8, [x19, #8]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writeb_relaxed
LBB0_9:
	ldr	w8, [x20]
	tst	w8, w23
	b.eq	LBB0_11
; %bb.10:
	ldr	x8, [x19, #8]
Lloh38:
	adrp	x9, _AT91_TWI_RHR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _AT91_TWI_RHR@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readb_relaxed
	str	w0, [sp, #12]
	ldr	w0, [x19]
Lloh41:
	adrp	x8, _I2C_SLAVE_WRITE_RECEIVED@GOTPAGE
Lloh42:
	ldr	x8, [x8, _I2C_SLAVE_WRITE_RECEIVED@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
LBB0_11:
	ldr	w8, [x26]
	tst	w8, w23
	b.eq	LBB0_13
; %bb.12:
	ldr	w1, [x25]
	ldr	w9, [x24]
	ldr	w10, [x20]
	orr	w8, w9, w8
	orr	w2, w8, w10
	mov	x0, x19
	bl	_at91_twi_write
	ldr	w1, [x22]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_at91_twi_write
	ldr	w0, [x19]
Lloh44:
	adrp	x8, _I2C_SLAVE_STOP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _I2C_SLAVE_STOP@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_i2c_slave_event
LBB0_13:
Lloh47:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh48:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_TWI_SR,4,2                ; @AT91_TWI_SR
	.comm	_AT91_TWI_IMR,4,2               ; @AT91_TWI_IMR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_AT91_TWI_SVACC,4,2             ; @AT91_TWI_SVACC
	.comm	_AT91_TWI_SVREAD,4,2            ; @AT91_TWI_SVREAD
	.comm	_I2C_SLAVE_READ_REQUESTED,4,2   ; @I2C_SLAVE_READ_REQUESTED
	.comm	_AT91_TWI_THR,8,3               ; @AT91_TWI_THR
	.comm	_AT91_TWI_IER,4,2               ; @AT91_TWI_IER
	.comm	_AT91_TWI_TXRDY,4,2             ; @AT91_TWI_TXRDY
	.comm	_AT91_TWI_EOSACC,4,2            ; @AT91_TWI_EOSACC
	.comm	_I2C_SLAVE_WRITE_REQUESTED,4,2  ; @I2C_SLAVE_WRITE_REQUESTED
	.comm	_AT91_TWI_RXRDY,4,2             ; @AT91_TWI_RXRDY
	.comm	_AT91_TWI_IDR,4,2               ; @AT91_TWI_IDR
	.comm	_I2C_SLAVE_READ_PROCESSED,4,2   ; @I2C_SLAVE_READ_PROCESSED
	.comm	_AT91_TWI_RHR,8,3               ; @AT91_TWI_RHR
	.comm	_I2C_SLAVE_WRITE_RECEIVED,4,2   ; @I2C_SLAVE_WRITE_RECEIVED
	.comm	_I2C_SLAVE_STOP,4,2             ; @I2C_SLAVE_STOP
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_atmel_twi_interrupt_slave
.subsections_via_symbols
