	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_i2c_isr
_mxs_i2c_isr:                           ## @mxs_i2c_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
	movq	%rsi, %rbx
	movq	_MXS_I2C_CTRL1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rsi), %rdi
	callq	_readl
	movq	_MXS_I2C_IRQ_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_1
## %bb.2:
	movq	_MXS_I2C_CTRL1_NO_SLAVE_ACK_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_MXS_I2C_CTRL1_EARLY_TERM_IRQ@GOTPCREL(%rip), %rcx
	movq	_MXS_I2C_CTRL1_MASTER_LOSS_IRQ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_MXS_I2C_CTRL1_SLAVE_STOP_IRQ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MXS_I2C_CTRL1_SLAVE_IRQ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_7
## %bb.5:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, 8(%rbx)
LBB0_7:
	movq	_MXS_I2C_CTRL1_CLR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MXS_I2C_CTRL1,8,3              ## @MXS_I2C_CTRL1
	.comm	_MXS_I2C_IRQ_MASK,4,2           ## @MXS_I2C_IRQ_MASK
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_MXS_I2C_CTRL1_NO_SLAVE_ACK_IRQ,4,2 ## @MXS_I2C_CTRL1_NO_SLAVE_ACK_IRQ
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_MXS_I2C_CTRL1_EARLY_TERM_IRQ,4,2 ## @MXS_I2C_CTRL1_EARLY_TERM_IRQ
	.comm	_MXS_I2C_CTRL1_MASTER_LOSS_IRQ,4,2 ## @MXS_I2C_CTRL1_MASTER_LOSS_IRQ
	.comm	_MXS_I2C_CTRL1_SLAVE_STOP_IRQ,4,2 ## @MXS_I2C_CTRL1_SLAVE_STOP_IRQ
	.comm	_MXS_I2C_CTRL1_SLAVE_IRQ,4,2    ## @MXS_I2C_CTRL1_SLAVE_IRQ
	.comm	_EIO,4,2                        ## @EIO
	.comm	_MXS_I2C_CTRL1_CLR,8,3          ## @MXS_I2C_CTRL1_CLR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_mxs_i2c_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_i2c_isr
_mxs_i2c_isr:                           ; @mxs_i2c_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
	.c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_CTRL1_SLAVE_STOP_IRQ@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _MXS_I2C_CTRL1_SLAVE_IRQ@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MXS_I2C_CTRL1_SLAVE_IRQ@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w0
	b.eq	LBB0_7
; %bb.5:
Lloh25:
	adrp	x8, _EIO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19, #8]
LBB0_7:
	ldr	x8, [x19]
Lloh27:
	adrp	x9, _MXS_I2C_CTRL1_CLR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MXS_I2C_CTRL1_CLR@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh30:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MXS_I2C_CTRL1,8,3              ; @MXS_I2C_CTRL1
	.comm	_MXS_I2C_IRQ_MASK,4,2           ; @MXS_I2C_IRQ_MASK
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_MXS_I2C_CTRL1_NO_SLAVE_ACK_IRQ,4,2 ; @MXS_I2C_CTRL1_NO_SLAVE_ACK_IRQ
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_MXS_I2C_CTRL1_EARLY_TERM_IRQ,4,2 ; @MXS_I2C_CTRL1_EARLY_TERM_IRQ
	.comm	_MXS_I2C_CTRL1_MASTER_LOSS_IRQ,4,2 ; @MXS_I2C_CTRL1_MASTER_LOSS_IRQ
	.comm	_MXS_I2C_CTRL1_SLAVE_STOP_IRQ,4,2 ; @MXS_I2C_CTRL1_SLAVE_STOP_IRQ
	.comm	_MXS_I2C_CTRL1_SLAVE_IRQ,4,2    ; @MXS_I2C_CTRL1_SLAVE_IRQ
	.comm	_EIO,4,2                        ; @EIO
	.comm	_MXS_I2C_CTRL1_CLR,8,3          ; @MXS_I2C_CTRL1_CLR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_mxs_i2c_isr
.subsections_via_symbols
