	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspeed_i2c_is_irq_error
_aspeed_i2c_is_irq_error:               ## @aspeed_i2c_is_irq_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ASPEED_I2CD_INTR_ARBIT_LOSS@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_2:
	movq	_ASPEED_I2CD_INTR_SDA_DL_TIMEOUT@GOTPCREL(%rip), %rax
	movq	_ASPEED_I2CD_INTR_SCL_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%edi, %ecx
	je	LBB0_4
## %bb.3:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	movq	_ASPEED_I2CD_INTR_ABNORMAL@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_5
## %bb.6:
	movq	_EPROTO@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASPEED_I2CD_INTR_ARBIT_LOSS,4,2 ## @ASPEED_I2CD_INTR_ARBIT_LOSS
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ASPEED_I2CD_INTR_SDA_DL_TIMEOUT,4,2 ## @ASPEED_I2CD_INTR_SDA_DL_TIMEOUT
	.comm	_ASPEED_I2CD_INTR_SCL_TIMEOUT,4,2 ## @ASPEED_I2CD_INTR_SCL_TIMEOUT
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ASPEED_I2CD_INTR_ABNORMAL,4,2  ## @ASPEED_I2CD_INTR_ABNORMAL
	.comm	_EPROTO,4,2                     ## @EPROTO
	.no_dead_strip	_aspeed_i2c_is_irq_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspeed_i2c_is_irq_error
_aspeed_i2c_is_irq_error:               ; @aspeed_i2c_is_irq_error
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ASPEED_I2CD_INTR_ARBIT_LOSS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASPEED_I2CD_INTR_ARBIT_LOSS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh5:
	adrp	x8, _ASPEED_I2CD_INTR_SDA_DL_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASPEED_I2CD_INTR_SDA_DL_TIMEOUT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ASPEED_I2CD_INTR_SCL_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ASPEED_I2CD_INTR_SCL_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh13:
	adrp	x8, _ASPEED_I2CD_INTR_ABNORMAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ASPEED_I2CD_INTR_ABNORMAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.5:
Lloh16:
	adrp	x8, _EPROTO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ASPEED_I2CD_INTR_ARBIT_LOSS,4,2 ; @ASPEED_I2CD_INTR_ARBIT_LOSS
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ASPEED_I2CD_INTR_SDA_DL_TIMEOUT,4,2 ; @ASPEED_I2CD_INTR_SDA_DL_TIMEOUT
	.comm	_ASPEED_I2CD_INTR_SCL_TIMEOUT,4,2 ; @ASPEED_I2CD_INTR_SCL_TIMEOUT
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ASPEED_I2CD_INTR_ABNORMAL,4,2  ; @ASPEED_I2CD_INTR_ABNORMAL
	.comm	_EPROTO,4,2                     ; @EPROTO
	.no_dead_strip	_aspeed_i2c_is_irq_error
.subsections_via_symbols
