	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xadc_zynq_interrupt_handler
_xadc_zynq_interrupt_handler:           ## @xadc_zynq_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movq	_XADC_ZYNQ_REG_INTSTS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-36(%rbp), %rdx
	movq	%rax, %rdi
	callq	_xadc_read_reg
	movl	4(%rbx), %eax
	orl	(%rbx), %eax
	notl	%eax
	andl	%eax, -36(%rbp)
	je	LBB0_1
## %bb.2:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	(%r12), %esi
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	callq	_xadc_write_reg
	movl	-36(%rbp), %eax
	movq	_XADC_ZYNQ_INT_DFIFO_GTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_xadc_zynq_update_intmsk
	leaq	16(%rbx), %rdi
	callq	_complete
	movl	-36(%rbp), %eax
LBB0_4:
	movq	_XADC_ZYNQ_INT_ALARM_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, -36(%rbp)
	je	LBB0_6
## %bb.5:
	orl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_xadc_zynq_update_intmsk
	movl	-36(%rbp), %edi
	callq	_xadc_zynq_transform_alarm
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_xadc_handle_events
	addq	$12, %rbx
	movq	_XADC_ZYNQ_UNMASK_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
LBB0_6:
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XADC_ZYNQ_REG_INTSTS,4,2       ## @XADC_ZYNQ_REG_INTSTS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_XADC_ZYNQ_INT_DFIFO_GTH,4,2    ## @XADC_ZYNQ_INT_DFIFO_GTH
	.comm	_XADC_ZYNQ_INT_ALARM_MASK,4,2   ## @XADC_ZYNQ_INT_ALARM_MASK
	.comm	_XADC_ZYNQ_UNMASK_TIMEOUT,4,2   ## @XADC_ZYNQ_UNMASK_TIMEOUT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_xadc_zynq_interrupt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xadc_zynq_interrupt_handler
_xadc_zynq_interrupt_handler:           ; @xadc_zynq_interrupt_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x0, x1
	bl	_iio_priv
	mov	x20, x0
Lloh0:
	adrp	x22, _XADC_ZYNQ_REG_INTSTS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _XADC_ZYNQ_REG_INTSTS@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	bl	_xadc_read_reg
	ldp	w8, w9, [x20]
	orr	w8, w9, w8
	ldr	w9, [sp, #12]
	bics	w8, w9, w8
	str	w8, [sp, #12]
	b.eq	LBB0_6
; %bb.1:
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock
	ldr	w1, [x22]
	ldr	w2, [sp, #12]
	mov	x0, x20
	bl	_xadc_write_reg
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x9, _XADC_ZYNQ_INT_DFIFO_GTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _XADC_ZYNQ_INT_DFIFO_GTH@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	tst	w1, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x2, x1
	bl	_xadc_zynq_update_intmsk
	add	x0, x20, #16
	bl	_complete
	ldr	w8, [sp, #12]
LBB0_3:
Lloh5:
	adrp	x9, _XADC_ZYNQ_INT_ALARM_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XADC_ZYNQ_INT_ALARM_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ands	w8, w8, w9
	str	w8, [sp, #12]
	b.eq	LBB0_5
; %bb.4:
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_xadc_zynq_update_intmsk
	ldr	w0, [sp, #12]
	bl	_xadc_zynq_transform_alarm
	mov	x1, x0
	mov	x0, x19
	bl	_xadc_handle_events
	add	x19, x20, #12
Lloh8:
	adrp	x8, _XADC_ZYNQ_UNMASK_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XADC_ZYNQ_UNMASK_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_schedule_delayed_work
LBB0_5:
	mov	x0, x21
	bl	_spin_unlock
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_XADC_ZYNQ_REG_INTSTS,4,2       ; @XADC_ZYNQ_REG_INTSTS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_XADC_ZYNQ_INT_DFIFO_GTH,4,2    ; @XADC_ZYNQ_INT_DFIFO_GTH
	.comm	_XADC_ZYNQ_INT_ALARM_MASK,4,2   ; @XADC_ZYNQ_INT_ALARM_MASK
	.comm	_XADC_ZYNQ_UNMASK_TIMEOUT,4,2   ; @XADC_ZYNQ_UNMASK_TIMEOUT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_xadc_zynq_interrupt_handler
.subsections_via_symbols
