	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_simple_dummy_trigger_h
_iio_simple_dummy_trigger_h:            ## @iio_simple_dummy_trigger_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), %r15
	movl	12(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	callq	_bitmap_empty
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	callq	_bitmap_weight
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%r12d, %r12d
	movq	_fakedata@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	movl	%ebx, %edx
	callq	_find_next_bit
	movq	(%r13), %rcx
	movslq	%eax, %rbx
	movl	(%rcx,%rbx,4), %eax
	movl	%eax, (%r14,%r12,4)
	incq	%r12
	incl	%ebx
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	callq	_bitmap_weight
	cltq
	cmpq	%rax, %r12
	jl	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_iio_get_time_ns
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_iio_push_to_buffers_with_timestamp
	movq	%r14, %rdi
	callq	_kfree
LBB0_6:
	movl	(%r15), %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	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_fakedata,8,3                   ## @fakedata
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_iio_simple_dummy_trigger_h
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iio_simple_dummy_trigger_h
_iio_simple_dummy_trigger_h:            ; @iio_simple_dummy_trigger_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
	ldr	x19, [x1]
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldp	w1, w0, [x19, #4]
	bl	_bitmap_empty
	cbnz	w0, LBB0_5
; %bb.2:
	ldp	w1, w0, [x19, #4]
	bl	_bitmap_weight
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x22, #0
	mov	w21, #0
Lloh3:
	adrp	x23, _fakedata@GOTPAGE
Lloh4:
	ldr	x23, [x23, _fakedata@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x19, #4]
	mov	x2, x21
	bl	_find_next_bit
	ldr	x8, [x23]
	ldr	w8, [x8, w0, sxtw #2]
	str	w8, [x20, x22, lsl #2]
	add	x22, x22, #1
	add	w21, w0, #1
	ldp	w1, w0, [x19, #4]
	bl	_bitmap_weight
	cmp	x22, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_iio_push_to_buffers_with_timestamp
	mov	x0, x20
	bl	_kfree
LBB0_6:
	ldr	w0, [x19]
	bl	_iio_trigger_notify_done
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh7:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_fakedata,8,3                   ; @fakedata
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_iio_simple_dummy_trigger_h
.subsections_via_symbols
