	.file	"extr_i2c-bcm-iproc.c_bcm_iproc_i2c_isr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bcm_iproc_i2c_isr, @function
bcm_iproc_i2c_isr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR IS_OFFSET[rip]
	call	iproc_i2c_rd_reg@PLT
	mov	esi, eax
	and	esi, DWORD PTR ISR_MASK_SLAVE[rip]
	jne	.L8
	and	eax, DWORD PTR ISR_MASK[rip]
	mov	r12d, eax
	mov	eax, DWORD PTR IRQ_NONE[rip]
	jne	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, r12d
	mov	rdi, rbp
	call	bcm_iproc_i2c_process_m_event@PLT
	mov	esi, DWORD PTR IS_OFFSET[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	iproc_i2c_wr_reg@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	bcm_iproc_i2c_slave_isr@PLT
	test	eax, eax
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	cmove	eax, DWORD PTR IRQ_NONE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bcm_iproc_i2c_isr, .-bcm_iproc_i2c_isr
	.comm	IS_OFFSET,4,4
	.comm	ISR_MASK_SLAVE,4,4
	.comm	ISR_MASK,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_i2c-bcm-iproc.c_bcm_iproc_i2c_isr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcm_iproc_i2c_isr, %function
bcm_iproc_i2c_isr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L11
	mov	r0, r1
	mov	r5, r1
	ldr	r1, [r6]
	bl	iproc_i2c_rd_reg
	ldr	r3, .L11+4
	ldr	r1, [r3]
	ands	r1, r0, r1
	bne	.L10
	ldr	r3, .L11+8
	ldr	r4, [r3]
	ands	r4, r0, r4
	bne	.L5
.L8:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L5:
	mov	r1, r4
	mov	r0, r5
	bl	bcm_iproc_i2c_process_m_event
	mov	r2, r4
	mov	r0, r5
	ldr	r1, [r6]
	bl	iproc_i2c_wr_reg
.L7:
	ldr	r3, .L11+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r5
	bl	bcm_iproc_i2c_slave_isr
	cmp	r0, #0
	beq	.L8
	b	.L7
.L12:
	.align	2
.L11:
	.word	IS_OFFSET
	.word	ISR_MASK_SLAVE
	.word	ISR_MASK
	.word	IRQ_NONE
	.word	IRQ_HANDLED
	.size	bcm_iproc_i2c_isr, .-bcm_iproc_i2c_isr
	.comm	IS_OFFSET,4,4
	.comm	ISR_MASK_SLAVE,4,4
	.comm	ISR_MASK,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
