	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max1363_trigger_handler
_max1363_trigger_handler:               ## @max1363_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	%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), %r14
	movq	%r14, %rdi
	callq	_iio_priv
	movq	%rax, %r12
	movq	24(%rax), %rax
	movl	(%rax), %edi
	movq	_MAX1363_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bitmap_weight
	movq	%rax, %rbx
	movq	16(%r12), %rax
	leaq	(%rbx,%rbx), %r15
	cmpl	$8, (%rax)
	movq	%r15, %rdi
	cmoveq	%rbx, %rdi
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.1:
	testb	$3, %dil
	je	LBB0_2
## %bb.3:
	addq	$8, %rdi
	andq	$-4, %rdi
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %r13
	movq	16(%r12), %rax
	cmpl	$8, (%rax)
	movl	8(%r12), %edi
	cmoveq	%rbx, %r15
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	*(%r12)
	testl	%eax, %eax
	js	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_iio_push_to_buffers_with_timestamp
LBB0_8:
	movq	%r13, %rdi
	callq	_kfree
	jmp	LBB0_9
LBB0_2:
	addq	$4, %rdi
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_9:
	movl	(%r14), %edi
	callq	_iio_trigger_notify_done
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX1363_MAX_CHANNELS,4,2       ## @MAX1363_MAX_CHANNELS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_max1363_trigger_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max1363_trigger_handler
_max1363_trigger_handler:               ; @max1363_trigger_handler
	.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
	ldr	x19, [x1]
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _MAX1363_MAX_CHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX1363_MAX_CHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_bitmap_weight
	mov	x21, x0
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	lsl	x23, x0, #1
	cmp	w8, #8
	csel	x8, x0, x23, eq
	ldr	x9, [x19, #8]
	add	x10, x8, #4
	tst	x8, #0x3
	add	x11, x8, #8
	and	x11, x11, #0xfffffffffffffffc
	csel	x10, x10, x11, eq
	cmp	x9, #0
	csel	x0, x8, x10, eq
	cbz	x21, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x22, x0
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	ldr	x9, [x20]
	ldr	w0, [x20, #8]
	cmp	w8, #8
	csel	x2, x21, x23, eq
	mov	x1, x22
	blr	x9
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_iio_push_to_buffers_with_timestamp
LBB0_4:
	mov	x0, x22
	bl	_kfree
LBB0_5:
	ldr	w0, [x19]
	bl	_iio_trigger_notify_done
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX1363_MAX_CHANNELS,4,2       ; @MAX1363_MAX_CHANNELS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_max1363_trigger_handler
.subsections_via_symbols
