	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv64xxx_i2c_intr
_mv64xxx_i2c_intr:                      ## @mv64xxx_i2c_intr
	.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, %rbx
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rsi, %rdi
	callq	_spin_lock_irqsave
	movq	_MV64XXX_I2C_REG_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_MV64XXX_I2C_REG_CONTROL_IFLG@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_3
## %bb.1:
	movq	_MV64XXX_I2C_REG_STATUS@GOTPCREL(%rip), %r13
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mv64xxx_i2c_fsm
	movq	%rbx, %rdi
	callq	_mv64xxx_i2c_do_action
	movl	(%r15), %r14d
	movq	_MV64XXX_I2C_REG_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	testl	%eax, (%r12)
	jne	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_MV64XXX_I2C_REG_CONTROL,8,3    ## @MV64XXX_I2C_REG_CONTROL
	.comm	_MV64XXX_I2C_REG_CONTROL_IFLG,4,2 ## @MV64XXX_I2C_REG_CONTROL_IFLG
	.comm	_MV64XXX_I2C_REG_STATUS,8,3     ## @MV64XXX_I2C_REG_STATUS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_mv64xxx_i2c_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv64xxx_i2c_intr
_mv64xxx_i2c_intr:                      ; @mv64xxx_i2c_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x1
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x21, _MV64XXX_I2C_REG_CONTROL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MV64XXX_I2C_REG_CONTROL@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh5:
	adrp	x22, _MV64XXX_I2C_REG_CONTROL_IFLG@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MV64XXX_I2C_REG_CONTROL_IFLG@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh7:
	adrp	x23, _MV64XXX_I2C_REG_STATUS@GOTPAGE
Lloh8:
	ldr	x23, [x23, _MV64XXX_I2C_REG_STATUS@GOTPAGEOFF]
Lloh9:
	adrp	x24, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x24, [x24, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl
	mov	x1, x0
	mov	x0, x19
	bl	_mv64xxx_i2c_fsm
	mov	x0, x19
	bl	_mv64xxx_i2c_do_action
	ldr	w20, [x24]
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_MV64XXX_I2C_REG_CONTROL,8,3    ; @MV64XXX_I2C_REG_CONTROL
	.comm	_MV64XXX_I2C_REG_CONTROL_IFLG,4,2 ; @MV64XXX_I2C_REG_CONTROL_IFLG
	.comm	_MV64XXX_I2C_REG_STATUS,8,3     ; @MV64XXX_I2C_REG_STATUS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_mv64xxx_i2c_intr
.subsections_via_symbols
