	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad799x_trigger_handler
_ad799x_trigger_handler:                ## @ad799x_trigger_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_1
## %bb.2:
	movl	$112, %ecx
	btl	%eax, %ecx
	jb	LBB0_5
## %bb.3:
	movl	$137, %ecx
	btl	%eax, %ecx
	jae	LBB0_6
## %bb.4:
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	_AD799X_CHANNEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	orl	4(%rbx), %esi
	jmp	LBB0_8
LBB0_5:
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	_AD799X_CHANNEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	_AD7998_CONV_RES_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_AD7997_8_READ_SEQUENCE@GOTPCREL(%rip), %rax
	movq	_AD7998_CONV_RES_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_7:
	orl	(%rax), %esi
LBB0_8:
	movl	16(%rbx), %edi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	callq	_i2c_smbus_read_i2c_block_data
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movl	8(%rbx), %ebx
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_iio_push_to_buffers_with_timestamp
LBB0_10:
	movl	8(%r14), %edi
	callq	_iio_trigger_notify_done
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	xorl	%esi, %esi
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_AD799X_CHANNEL_SHIFT,4,2       ## @AD799X_CHANNEL_SHIFT
	.comm	_AD7998_CONV_RES_REG,4,2        ## @AD7998_CONV_RES_REG
	.comm	_AD7997_8_READ_SEQUENCE,4,2     ## @AD7997_8_READ_SEQUENCE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ad799x_trigger_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad799x_trigger_handler
_ad799x_trigger_handler:                ; @ad799x_trigger_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x1]
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_10
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	tst	w8, #0x70
	b.ne	LBB0_4
; %bb.2:
	mov	w9, #137
	tst	w8, w9
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x20, #4]
	ldr	x9, [x19]
	ldr	w9, [x9]
Lloh0:
	adrp	x10, _AD799X_CHANNEL_SHIFT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AD799X_CHANNEL_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AD799X_CHANNEL_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AD799X_CHANNEL_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh6:
	adrp	x9, _AD7998_CONV_RES_REG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AD7998_CONV_RES_REG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w8, w9
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _AD7997_8_READ_SEQUENCE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AD7997_8_READ_SEQUENCE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _AD7998_CONV_RES_REG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AD7998_CONV_RES_REG@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
LBB0_6:
	orr	w1, w9, w8
LBB0_7:
	ldp	w2, w0, [x20, #12]
	ldr	w3, [x20, #8]
	bl	_i2c_smbus_read_i2c_block_data
	tbnz	w0, #31, LBB0_9
; %bb.8:
	ldr	w20, [x20, #8]
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_iio_push_to_buffers_with_timestamp
LBB0_9:
	ldr	w0, [x19, #8]
	bl	_iio_trigger_notify_done
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w1, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AD799X_CHANNEL_SHIFT,4,2       ; @AD799X_CHANNEL_SHIFT
	.comm	_AD7998_CONV_RES_REG,4,2        ; @AD7998_CONV_RES_REG
	.comm	_AD7997_8_READ_SEQUENCE,4,2     ; @AD7997_8_READ_SEQUENCE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ad799x_trigger_handler
.subsections_via_symbols
