	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iproc_adc_interrupt_thread
_iproc_adc_interrupt_thread:            ## @iproc_adc_interrupt_thread
	.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, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movl	(%rax), %edi
	movq	_IPROC_INTERRUPT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_regmap_read
	movl	(%rbx), %edi
	movq	_IPROC_INTERRUPT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_regmap_read
	movl	-12(%rbp), %eax
	andl	-16(%rbp), %eax
	movq	_IPROC_ADC_INTR_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IPROC_ADC_INTR@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPROC_INTERRUPT_STATUS,4,2     ## @IPROC_INTERRUPT_STATUS
	.comm	_IPROC_INTERRUPT_MASK,4,2       ## @IPROC_INTERRUPT_MASK
	.comm	_IPROC_ADC_INTR_MASK,4,2        ## @IPROC_ADC_INTR_MASK
	.comm	_IPROC_ADC_INTR,4,2             ## @IPROC_ADC_INTR
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_iproc_adc_interrupt_thread
.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_thread
_iproc_adc_interrupt_thread:            ; @iproc_adc_interrupt_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x0, x1
	bl	_iio_priv
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _IPROC_INTERRUPT_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPROC_INTERRUPT_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _IPROC_INTERRUPT_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPROC_INTERRUPT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_regmap_read
	ldp	w9, w8, [sp, #8]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _IPROC_ADC_INTR_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IPROC_ADC_INTR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh9:
	adrp	x9, _IPROC_ADC_INTR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPROC_ADC_INTR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh12:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
Lloh14:
	adrp	x10, _IRQ_WAKE_THREAD@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IRQ_WAKE_THREAD@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPROC_INTERRUPT_STATUS,4,2     ; @IPROC_INTERRUPT_STATUS
	.comm	_IPROC_INTERRUPT_MASK,4,2       ; @IPROC_INTERRUPT_MASK
	.comm	_IPROC_ADC_INTR_MASK,4,2        ; @IPROC_ADC_INTR_MASK
	.comm	_IPROC_ADC_INTR,4,2             ; @IPROC_ADC_INTR
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_iproc_adc_interrupt_thread
.subsections_via_symbols
