	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx7d_adc_isr
_imx7d_adc_isr:                         ## @imx7d_adc_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_IMX7D_REG_ADC_INT_STATUS@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%rsi), %rdi
	callq	_readl
	movl	%eax, %ebx
	movq	_IMX7D_REG_ADC_INT_STATUS_CHANNEL_INT_STATUS@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_imx7d_adc_read_data
	movl	%eax, 16(%r14)
	leaq	12(%r14), %rdi
	callq	_complete
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
LBB0_2:
	movq	_IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT@GOTPCREL(%rip), %r12
	testl	%ebx, (%r12)
	je	LBB0_4
## %bb.3:
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
	movl	(%r12), %edi
	notl	%edi
	andl	%ebx, %edi
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	callq	_writel
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX7D_REG_ADC_INT_STATUS,8,3   ## @IMX7D_REG_ADC_INT_STATUS
	.comm	_IMX7D_REG_ADC_INT_STATUS_CHANNEL_INT_STATUS,4,2 ## @IMX7D_REG_ADC_INT_STATUS_CHANNEL_INT_STATUS
	.comm	_IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT,4,2 ## @IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ADC got conversion time out interrupt: 0x%08x\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_imx7d_adc_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx7d_adc_isr
_imx7d_adc_isr:                         ; @imx7d_adc_isr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x21, _IMX7D_REG_ADC_INT_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IMX7D_REG_ADC_INT_STATUS@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
Lloh2:
	adrp	x22, _IMX7D_REG_ADC_INT_STATUS_CHANNEL_INT_STATUS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IMX7D_REG_ADC_INT_STATUS_CHANNEL_INT_STATUS@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_imx7d_adc_read_data
	str	w0, [x19, #16]
	add	x0, x19, #12
	bl	_complete
	ldr	w8, [x22]
	bic	w20, w20, w8
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
LBB0_2:
Lloh4:
	adrp	x22, _IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	ldr	w8, [x22]
	bic	w0, w20, w8
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
LBB0_4:
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX7D_REG_ADC_INT_STATUS,8,3   ; @IMX7D_REG_ADC_INT_STATUS
	.comm	_IMX7D_REG_ADC_INT_STATUS_CHANNEL_INT_STATUS,4,2 ; @IMX7D_REG_ADC_INT_STATUS_CHANNEL_INT_STATUS
	.comm	_IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT,4,2 ; @IMX7D_REG_ADC_INT_STATUS_CHANNEL_CONV_TIME_OUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ADC got conversion time out interrupt: 0x%08x\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_imx7d_adc_isr
.subsections_via_symbols
