	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_sar_adc_irq
_meson_sar_adc_irq:                     ## @meson_sar_adc_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movl	4(%rax), %edi
	movq	_MESON_SAR_ADC_REG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	movq	_MESON_SAR_ADC_REG0_FIFO_COUNT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-20(%rbp), %esi
	callq	_FIELD_GET
	movl	%eax, %ebx
	movq	_MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-20(%rbp), %esi
	callq	_FIELD_GET
	cmpl	%eax, %ebx
	jae	LBB0_2
## %bb.1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_complete
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MESON_SAR_ADC_REG0,4,2         ## @MESON_SAR_ADC_REG0
	.comm	_MESON_SAR_ADC_REG0_FIFO_COUNT_MASK,4,2 ## @MESON_SAR_ADC_REG0_FIFO_COUNT_MASK
	.comm	_MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK,4,2 ## @MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_meson_sar_adc_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_sar_adc_irq
_meson_sar_adc_irq:                     ; @meson_sar_adc_irq
	.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, #4]
Lloh0:
	adrp	x8, _MESON_SAR_ADC_REG0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MESON_SAR_ADC_REG0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
Lloh3:
	adrp	x8, _MESON_SAR_ADC_REG0_FIFO_COUNT_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MESON_SAR_ADC_REG0_FIFO_COUNT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [sp, #12]
	bl	_FIELD_GET
	mov	x20, x0
Lloh6:
	adrp	x8, _MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [sp, #12]
	bl	_FIELD_GET
	cmp	w20, w0
	b.hs	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_complete
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MESON_SAR_ADC_REG0,4,2         ; @MESON_SAR_ADC_REG0
	.comm	_MESON_SAR_ADC_REG0_FIFO_COUNT_MASK,4,2 ; @MESON_SAR_ADC_REG0_FIFO_COUNT_MASK
	.comm	_MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK,4,2 ; @MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_meson_sar_adc_irq
.subsections_via_symbols
