	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iproc_adc_interrupt_handler
_iproc_adc_interrupt_handler:           ## @iproc_adc_interrupt_handler
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rsi, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movl	8(%rax), %edi
	movq	_IPROC_INTERRUPT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-48(%rbp), %rdx
	callq	_regmap_read
	movl	-48(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	movq	_IPROC_ADC_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	-48(%rbp), %r14d
	movq	_IPROC_ADC_INTR@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r14d
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.1:
	movl	8(%rbx), %edi
	movq	_IPROC_ADC_CHANNEL_INTERRUPT_STATUS@GOTPCREL(%rip), %rcx
	movq	_IPROC_ADC_CHANNEL_OFFSET@GOTPCREL(%rip), %r12
	movslq	(%r12), %rax
	movslq	(%rbx), %rsi
	imulq	%rax, %rsi
	addq	(%rcx), %rsi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	-44(%rbp), %edx
	movq	_IPROC_ADC_CHANNEL_WTRMRK_INTR_MASK@GOTPCREL(%rip), %r13
	testl	%edx, (%r13)
	je	LBB0_6
## %bb.2:
	movl	8(%rbx), %edi
	movq	_IPROC_ADC_CHANNEL_STATUS@GOTPCREL(%rip), %rax
	movslq	(%r12), %rcx
	movslq	(%rbx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	leaq	-52(%rbp), %rdx
	callq	_regmap_read
	movq	_IPROC_ADC_CHANNEL_VALID_ENTERIES_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-52(%rbp), %eax
	movq	_IPROC_ADC_CHANNEL_VALID_ENTERIES@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	movq	_IPROC_ADC_CHANNEL_DATA@GOTPCREL(%rip), %rax
	movslq	(%r12), %rcx
	movslq	(%rbx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	leaq	4(%rbx), %rdx
	callq	_regmap_read
	movq	%rbx, %rdi
	addq	$12, %rdi
	callq	_complete
	jmp	LBB0_5
LBB0_4:
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
LBB0_5:
	movl	8(%rbx), %edi
	movq	_IPROC_ADC_CHANNEL_INTERRUPT_MASK@GOTPCREL(%rip), %rax
	movslq	(%r12), %rcx
	movslq	(%rbx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	movl	(%r13), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	callq	_regmap_write
	movl	-44(%rbp), %edx
LBB0_6:
	movl	8(%rbx), %edi
	movslq	(%r12), %rax
	movslq	(%rbx), %rsi
	imulq	%rax, %rsi
	movq	_IPROC_ADC_CHANNEL_INTERRUPT_STATUS@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_regmap_write
	movl	8(%rbx), %edi
	movq	_IPROC_INTERRUPT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r14d, %edx
	callq	_regmap_write
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_7:
	movl	%r12d, %eax
	addq	$24, %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	_IPROC_INTERRUPT_STATUS,8,3     ## @IPROC_INTERRUPT_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iproc_adc_interrupt_handler(),INTRPT_STS:%x\n"

	.comm	_IPROC_ADC_INTR_MASK,4,2        ## @IPROC_ADC_INTR_MASK
	.comm	_IPROC_ADC_INTR,4,2             ## @IPROC_ADC_INTR
	.comm	_IPROC_ADC_CHANNEL_INTERRUPT_STATUS,8,3 ## @IPROC_ADC_CHANNEL_INTERRUPT_STATUS
	.comm	_IPROC_ADC_CHANNEL_OFFSET,4,2   ## @IPROC_ADC_CHANNEL_OFFSET
	.comm	_IPROC_ADC_CHANNEL_WTRMRK_INTR_MASK,4,2 ## @IPROC_ADC_CHANNEL_WTRMRK_INTR_MASK
	.comm	_IPROC_ADC_CHANNEL_STATUS,8,3   ## @IPROC_ADC_CHANNEL_STATUS
	.comm	_IPROC_ADC_CHANNEL_VALID_ENTERIES_MASK,4,2 ## @IPROC_ADC_CHANNEL_VALID_ENTERIES_MASK
	.comm	_IPROC_ADC_CHANNEL_VALID_ENTERIES,4,2 ## @IPROC_ADC_CHANNEL_VALID_ENTERIES
	.comm	_IPROC_ADC_CHANNEL_DATA,8,3     ## @IPROC_ADC_CHANNEL_DATA
L_.str.1:                               ## @.str.1
	.asciz	"No data rcvd on channel %d\n"

	.comm	_IPROC_ADC_CHANNEL_INTERRUPT_MASK,8,3 ## @IPROC_ADC_CHANNEL_INTERRUPT_MASK
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_iproc_adc_interrupt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iproc_adc_interrupt_handler
_iproc_adc_interrupt_handler:           ; @iproc_adc_interrupt_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x1
	bl	_iio_priv
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x23, _IPROC_INTERRUPT_STATUS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IPROC_INTERRUPT_STATUS@GOTPAGEOFF]
	ldr	x1, [x23]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	w2, [sp, #12]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	ldr	w8, [sp, #12]
Lloh7:
	adrp	x9, _IPROC_ADC_INTR_MASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IPROC_ADC_INTR_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh10:
	adrp	x9, _IPROC_ADC_INTR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IPROC_ADC_INTR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	asr	w20, w8, w9
	cbz	w20, LBB0_7
; %bb.1:
	ldr	w0, [x19, #8]
Lloh13:
	adrp	x22, _IPROC_ADC_CHANNEL_INTERRUPT_STATUS@GOTPAGE
Lloh14:
	ldr	x22, [x22, _IPROC_ADC_CHANNEL_INTERRUPT_STATUS@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh15:
	adrp	x24, _IPROC_ADC_CHANNEL_OFFSET@GOTPAGE
Lloh16:
	ldr	x24, [x24, _IPROC_ADC_CHANNEL_OFFSET@GOTPAGEOFF]
	ldrsw	x9, [x24]
	ldrsw	x10, [x19]
	madd	x1, x10, x9, x8
	add	x2, sp, #4
	bl	_regmap_read
	ldr	w2, [sp, #4]
Lloh17:
	adrp	x25, _IPROC_ADC_CHANNEL_WTRMRK_INTR_MASK@GOTPAGE
Lloh18:
	ldr	x25, [x25, _IPROC_ADC_CHANNEL_WTRMRK_INTR_MASK@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w2
	b.eq	LBB0_6
; %bb.2:
	ldr	w0, [x19, #8]
Lloh19:
	adrp	x8, _IPROC_ADC_CHANNEL_STATUS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IPROC_ADC_CHANNEL_STATUS@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldrsw	x9, [x24]
	ldrsw	x10, [x19]
	madd	x1, x10, x9, x8
	add	x2, sp, #8
	bl	_regmap_read
	ldr	w8, [sp, #8]
Lloh22:
	adrp	x9, _IPROC_ADC_CHANNEL_VALID_ENTERIES_MASK@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IPROC_ADC_CHANNEL_VALID_ENTERIES_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh25:
	adrp	x9, _IPROC_ADC_CHANNEL_VALID_ENTERIES@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IPROC_ADC_CHANNEL_VALID_ENTERIES@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	asr	w8, w8, w9
	cbz	w8, LBB0_4
; %bb.3:
Lloh28:
	adrp	x8, _IPROC_ADC_CHANNEL_DATA@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IPROC_ADC_CHANNEL_DATA@GOTPAGEOFF]
	ldr	w0, [x19, #8]
Lloh30:
	ldr	x8, [x8]
	ldrsw	x9, [x24]
	ldrsw	x10, [x19]
	madd	x1, x10, x9, x8
	add	x2, x19, #4
	bl	_regmap_read
	add	x0, x19, #12
	bl	_complete
	b	LBB0_5
LBB0_4:
	ldr	w2, [x19]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
LBB0_5:
	ldr	w0, [x19, #8]
Lloh33:
	adrp	x8, _IPROC_ADC_CHANNEL_INTERRUPT_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IPROC_ADC_CHANNEL_INTERRUPT_MASK@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldrsw	x9, [x24]
	ldrsw	x10, [x19]
	madd	x1, x10, x9, x8
	ldr	w8, [sp, #4]
	ldr	w9, [x25]
	bic	w2, w8, w9
	bl	_regmap_write
	ldr	w2, [sp, #4]
LBB0_6:
	ldr	w0, [x19, #8]
	ldr	x8, [x22]
	ldrsw	x9, [x24]
	ldrsw	x10, [x19]
	madd	x1, x10, x9, x8
	bl	_regmap_write
	ldr	w0, [x19, #8]
	ldr	x1, [x23]
	mov	x2, x20
	bl	_regmap_write
Lloh36:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh38:
	ldr	w22, [x8]
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IPROC_INTERRUPT_STATUS,8,3     ; @IPROC_INTERRUPT_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iproc_adc_interrupt_handler(),INTRPT_STS:%x\n"

	.comm	_IPROC_ADC_INTR_MASK,4,2        ; @IPROC_ADC_INTR_MASK
	.comm	_IPROC_ADC_INTR,4,2             ; @IPROC_ADC_INTR
	.comm	_IPROC_ADC_CHANNEL_INTERRUPT_STATUS,8,3 ; @IPROC_ADC_CHANNEL_INTERRUPT_STATUS
	.comm	_IPROC_ADC_CHANNEL_OFFSET,4,2   ; @IPROC_ADC_CHANNEL_OFFSET
	.comm	_IPROC_ADC_CHANNEL_WTRMRK_INTR_MASK,4,2 ; @IPROC_ADC_CHANNEL_WTRMRK_INTR_MASK
	.comm	_IPROC_ADC_CHANNEL_STATUS,8,3   ; @IPROC_ADC_CHANNEL_STATUS
	.comm	_IPROC_ADC_CHANNEL_VALID_ENTERIES_MASK,4,2 ; @IPROC_ADC_CHANNEL_VALID_ENTERIES_MASK
	.comm	_IPROC_ADC_CHANNEL_VALID_ENTERIES,4,2 ; @IPROC_ADC_CHANNEL_VALID_ENTERIES
	.comm	_IPROC_ADC_CHANNEL_DATA,8,3     ; @IPROC_ADC_CHANNEL_DATA
l_.str.1:                               ; @.str.1
	.asciz	"No data rcvd on channel %d\n"

	.comm	_IPROC_ADC_CHANNEL_INTERRUPT_MASK,8,3 ; @IPROC_ADC_CHANNEL_INTERRUPT_MASK
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_iproc_adc_interrupt_handler
.subsections_via_symbols
