	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tiadc_irq_h
_tiadc_irq_h:                           ## @tiadc_irq_h
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	_REG_IRQSTATUS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rax, %rdi
	callq	_tiadc_readl
	movq	_IRQENB_FIFO1OVRRUN@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_5
## %bb.1:
	movq	_REG_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_tiadc_readl
	movq	_CNTRLREG_TSCSSENB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	notl	%r14d
	andl	%eax, %r14d
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_tiadc_writel
	movq	_IRQENB_FIFO1UNDRFLW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r12), %edx
	movl	(%r13), %esi
	movq	_IRQENB_FIFO1THRES@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_tiadc_writel
	xorl	%ebx, %ebx
	movq	_REG_ADCFSM@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_tiadc_readl
	cmpl	$16, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	cmpw	$100, %bx
	movl	%eax, %ebx
	jb	LBB0_2
LBB0_4:
	movq	_REG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CNTRLREG_TSCSSENB@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_tiadc_writel
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_IRQENB_FIFO1THRES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_6
## %bb.7:
	movq	_REG_IRQCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_tiadc_writel
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_IRQSTATUS,4,2              ## @REG_IRQSTATUS
	.comm	_IRQENB_FIFO1OVRRUN,4,2         ## @IRQENB_FIFO1OVRRUN
	.comm	_REG_CTRL,4,2                   ## @REG_CTRL
	.comm	_CNTRLREG_TSCSSENB,4,2          ## @CNTRLREG_TSCSSENB
	.comm	_IRQENB_FIFO1UNDRFLW,4,2        ## @IRQENB_FIFO1UNDRFLW
	.comm	_IRQENB_FIFO1THRES,4,2          ## @IRQENB_FIFO1THRES
	.comm	_REG_ADCFSM,4,2                 ## @REG_ADCFSM
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_REG_IRQCLR,4,2                 ## @REG_IRQCLR
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_tiadc_irq_h
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tiadc_irq_h
_tiadc_irq_h:                           ; @tiadc_irq_h
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x0, x1
	bl	_iio_priv
	mov	x19, x0
Lloh0:
	adrp	x23, _REG_IRQSTATUS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _REG_IRQSTATUS@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_tiadc_readl
Lloh2:
	adrp	x24, _IRQENB_FIFO1OVRRUN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IRQENB_FIFO1OVRRUN@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.1:
Lloh4:
	adrp	x21, _REG_CTRL@GOTPAGE
Lloh5:
	ldr	x21, [x21, _REG_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_tiadc_readl
Lloh6:
	adrp	x22, _CNTRLREG_TSCSSENB@GOTPAGE
Lloh7:
	ldr	x22, [x22, _CNTRLREG_TSCSSENB@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w20, w0, w8
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_tiadc_writel
	ldr	w1, [x23]
	ldr	w8, [x24]
Lloh8:
	adrp	x9, _IRQENB_FIFO1UNDRFLW@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IRQENB_FIFO1UNDRFLW@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _IRQENB_FIFO1THRES@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IRQENB_FIFO1THRES@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_tiadc_writel
	mov	w23, #0
Lloh14:
	adrp	x24, _REG_ADCFSM@GOTPAGE
Lloh15:
	ldr	x24, [x24, _REG_ADCFSM@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_tiadc_readl
	cmp	w0, #16
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w23, #1
	cmp	w23, #100
	mov	x23, x8
	b.lo	LBB0_2
LBB0_4:
	ldr	w1, [x21]
	ldr	w8, [x22]
	orr	w2, w8, w20
	mov	x0, x19
	bl	_tiadc_writel
Lloh16:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh18:
	adrp	x8, _IRQENB_FIFO1THRES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQENB_FIFO1THRES@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	tst	w2, w0
	b.eq	LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _REG_IRQCLR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_IRQCLR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tiadc_writel
Lloh24:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh26:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_IRQSTATUS,4,2              ; @REG_IRQSTATUS
	.comm	_IRQENB_FIFO1OVRRUN,4,2         ; @IRQENB_FIFO1OVRRUN
	.comm	_REG_CTRL,4,2                   ; @REG_CTRL
	.comm	_CNTRLREG_TSCSSENB,4,2          ; @CNTRLREG_TSCSSENB
	.comm	_IRQENB_FIFO1UNDRFLW,4,2        ; @IRQENB_FIFO1UNDRFLW
	.comm	_IRQENB_FIFO1THRES,4,2          ; @IRQENB_FIFO1THRES
	.comm	_REG_ADCFSM,4,2                 ; @REG_ADCFSM
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_REG_IRQCLR,4,2                 ; @REG_IRQCLR
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_tiadc_irq_h
.subsections_via_symbols
