	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_simple_dummy_event_handler
_iio_simple_dummy_event_handler:        ## @iio_simple_dummy_event_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	%rsi, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	cmpq	$3, %rdx
	ja	LBB0_8
## %bb.1:
	movq	_IIO_VOLTAGE@GOTPCREL(%rip), %rsi
	movq	_IIO_EV_TYPE_THRESH@GOTPCREL(%rip), %r8
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rdx,4), %rax
	addq	%rdi, %rax
	jmpq	*%rax
LBB0_2:
	movl	12(%rbx), %eax
	cmpl	4(%rbx), %eax
	jle	LBB0_8
## %bb.3:
	movq	_IIO_MOD_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_ACTIVITY@GOTPCREL(%rip), %rsi
	jmp	LBB0_7
LBB0_4:
	movl	8(%rbx), %eax
	cmpl	4(%rbx), %eax
	jge	LBB0_8
## %bb.5:
	movq	_IIO_MOD_WALKING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_ACTIVITY@GOTPCREL(%rip), %rsi
	movq	_IIO_EV_DIR_FALLING@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_IIO_NO_MOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_STEPS@GOTPCREL(%rip), %rsi
	movq	_IIO_EV_TYPE_CHANGE@GOTPCREL(%rip), %r8
	movq	_IIO_EV_DIR_NONE@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rsi), %edi
	movl	(%rcx), %ecx
	movl	(%r8), %r8d
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_IIO_EVENT_CODE
	addq	$16, %rsp
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_iio_push_event
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"id %x event %x\n"

	.comm	_IIO_VOLTAGE,4,2                ## @IIO_VOLTAGE
	.comm	_IIO_EV_DIR_RISING,4,2          ## @IIO_EV_DIR_RISING
	.comm	_IIO_EV_TYPE_THRESH,4,2         ## @IIO_EV_TYPE_THRESH
	.comm	_IIO_ACTIVITY,4,2               ## @IIO_ACTIVITY
	.comm	_IIO_MOD_RUNNING,4,2            ## @IIO_MOD_RUNNING
	.comm	_IIO_MOD_WALKING,4,2            ## @IIO_MOD_WALKING
	.comm	_IIO_EV_DIR_FALLING,4,2         ## @IIO_EV_DIR_FALLING
	.comm	_IIO_STEPS,4,2                  ## @IIO_STEPS
	.comm	_IIO_NO_MOD,4,2                 ## @IIO_NO_MOD
	.comm	_IIO_EV_DIR_NONE,4,2            ## @IIO_EV_DIR_NONE
	.comm	_IIO_EV_TYPE_CHANGE,4,2         ## @IIO_EV_TYPE_CHANGE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_iio_simple_dummy_event_handler
.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_event_handler
_iio_simple_dummy_event_handler:        ; @iio_simple_dummy_event_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
	mov	x19, x1
	mov	x0, x1
	bl	_iio_priv
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldp	w3, w2, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #16]
	ldr	w2, [x8]
	cmp	w2, #3
	b.hi	LBB0_8
; %bb.1:
Lloh2:
	adrp	x8, _IIO_VOLTAGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IIO_VOLTAGE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _IIO_EV_TYPE_THRESH@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IIO_EV_TYPE_THRESH@GOTPAGEOFF]
Lloh6:
	adrp	x10, _IIO_EV_DIR_RISING@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IIO_EV_DIR_RISING@GOTPAGEOFF]
Lloh8:
	adrp	x11, lJTI0_0@PAGE
Lloh9:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x2]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	ldr	w8, [x20, #12]
	ldr	w9, [x20, #4]
	cmp	w8, w9
	b.le	LBB0_8
; %bb.3:
Lloh10:
	adrp	x8, _IIO_MOD_RUNNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IIO_MOD_RUNNING@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _IIO_ACTIVITY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IIO_ACTIVITY@GOTPAGEOFF]
Lloh15:
	adrp	x9, _IIO_EV_TYPE_THRESH@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IIO_EV_TYPE_THRESH@GOTPAGEOFF]
Lloh17:
	adrp	x10, _IIO_EV_DIR_RISING@GOTPAGE
Lloh18:
	ldr	x10, [x10, _IIO_EV_DIR_RISING@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	ldp	w9, w8, [x20, #4]
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.5:
Lloh19:
	adrp	x8, _IIO_MOD_WALKING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IIO_MOD_WALKING@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _IIO_ACTIVITY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IIO_ACTIVITY@GOTPAGEOFF]
Lloh24:
	adrp	x9, _IIO_EV_TYPE_THRESH@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IIO_EV_TYPE_THRESH@GOTPAGEOFF]
Lloh26:
	adrp	x10, _IIO_EV_DIR_FALLING@GOTPAGE
Lloh27:
	ldr	x10, [x10, _IIO_EV_DIR_FALLING@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh28:
	adrp	x8, _IIO_NO_MOD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IIO_NO_MOD@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
Lloh31:
	adrp	x8, _IIO_STEPS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IIO_STEPS@GOTPAGEOFF]
Lloh33:
	adrp	x9, _IIO_EV_TYPE_CHANGE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IIO_EV_TYPE_CHANGE@GOTPAGEOFF]
Lloh35:
	adrp	x10, _IIO_EV_DIR_NONE@GOTPAGE
Lloh36:
	ldr	x10, [x10, _IIO_EV_DIR_NONE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldr	w3, [x10]
	ldr	w4, [x9]
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_IIO_EVENT_CODE
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_iio_push_event
LBB0_8:
Lloh37:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"id %x event %x\n"

	.comm	_IIO_VOLTAGE,4,2                ; @IIO_VOLTAGE
	.comm	_IIO_EV_DIR_RISING,4,2          ; @IIO_EV_DIR_RISING
	.comm	_IIO_EV_TYPE_THRESH,4,2         ; @IIO_EV_TYPE_THRESH
	.comm	_IIO_ACTIVITY,4,2               ; @IIO_ACTIVITY
	.comm	_IIO_MOD_RUNNING,4,2            ; @IIO_MOD_RUNNING
	.comm	_IIO_MOD_WALKING,4,2            ; @IIO_MOD_WALKING
	.comm	_IIO_EV_DIR_FALLING,4,2         ; @IIO_EV_DIR_FALLING
	.comm	_IIO_STEPS,4,2                  ; @IIO_STEPS
	.comm	_IIO_NO_MOD,4,2                 ; @IIO_NO_MOD
	.comm	_IIO_EV_DIR_NONE,4,2            ; @IIO_EV_DIR_NONE
	.comm	_IIO_EV_TYPE_CHANGE,4,2         ; @IIO_EV_TYPE_CHANGE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_iio_simple_dummy_event_handler
.subsections_via_symbols
