	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_device_add_event_sysfs
_iio_device_add_event_sysfs:            ## @iio_device_add_event_sysfs
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rsi)
	jle	LBB0_7
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r13
	xorl	%r12d, %r12d
	movl	$12, %r14d
	xorl	%ecx, %ecx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	8(%r15), %rax
	movl	-12(%rax,%r14), %ebx
	movl	-8(%rax,%r14), %r8d
	movq	_IIO_SEPARATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	8(%rax,%r14), %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	callq	_iio_device_add_event
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IIO_SHARED_BY_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	8(%r15), %rax
	addq	%r14, %rax
	addq	$4, %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_iio_device_add_event
	testl	%eax, %eax
	js	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_IIO_SHARED_BY_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	8(%r15), %rax
	addq	%r14, %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_iio_device_add_event
	movq	%r13, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IIO_SHARED_BY_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	8(%r15), %rax
	addq	%r14, %rax
	addq	$-4, %rax
	movq	%rax, (%rsp)
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_iio_device_add_event
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	%r13d, %ebx
	addl	%eax, %ebx
	incq	%r12
	movslq	(%r15), %rax
	addq	$24, %r14
	movl	%ebx, %ecx
	cmpq	%rax, %r12
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jl	LBB0_2
	jmp	LBB0_11
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_9:
	movl	%r13d, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_SEPARATE,4,2               ## @IIO_SEPARATE
	.comm	_IIO_SHARED_BY_TYPE,4,2         ## @IIO_SHARED_BY_TYPE
	.comm	_IIO_SHARED_BY_DIR,4,2          ## @IIO_SHARED_BY_DIR
	.comm	_IIO_SHARED_BY_ALL,4,2          ## @IIO_SHARED_BY_ALL
	.no_dead_strip	_iio_device_add_event_sysfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iio_device_add_event_sysfs
_iio_device_add_event_sysfs:            ; @iio_device_add_event_sysfs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	mov	x28, #0
	mov	x22, #0
	mov	w19, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, x28
	ldp	w23, w24, [x8]
Lloh0:
	adrp	x9, _IIO_SEPARATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IIO_SEPARATE@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x9]
	add	x6, x8, #20
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_iio_device_add_event
	mov	x25, x0
	tbnz	w0, #31, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh3:
	adrp	x8, _IIO_SHARED_BY_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IIO_SHARED_BY_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	ldr	x8, [x20, #8]
	add	x8, x8, x28
	add	x6, x8, #16
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_iio_device_add_event
	mov	x26, x0
	tbnz	w0, #31, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh6:
	adrp	x8, _IIO_SHARED_BY_DIR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IIO_SHARED_BY_DIR@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	ldr	x8, [x20, #8]
	add	x8, x8, x28
	add	x6, x8, #12
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_iio_device_add_event
	mov	x27, x0
	tbnz	w0, #31, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh9:
	adrp	x8, _IIO_SHARED_BY_ALL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IIO_SHARED_BY_ALL@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	ldr	x8, [x20, #8]
	add	x8, x8, x28
	add	x6, x8, #8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_iio_device_add_event
	tbnz	w0, #31, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w25, w19
	add	w8, w8, w26
	add	w8, w8, w27
	add	w19, w8, w0
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x28, x28, #24
	cmp	x22, x8
	b.lt	LBB0_2
	b	LBB0_12
LBB0_7:
	mov	w19, #0
	b	LBB0_12
LBB0_8:
	mov	x19, x25
	b	LBB0_12
LBB0_9:
	mov	x19, x26
	b	LBB0_12
LBB0_10:
	mov	x19, x27
	b	LBB0_12
LBB0_11:
	mov	x19, x0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_SEPARATE,4,2               ; @IIO_SEPARATE
	.comm	_IIO_SHARED_BY_TYPE,4,2         ; @IIO_SHARED_BY_TYPE
	.comm	_IIO_SHARED_BY_DIR,4,2          ; @IIO_SHARED_BY_DIR
	.comm	_IIO_SHARED_BY_ALL,4,2          ; @IIO_SHARED_BY_ALL
	.no_dead_strip	_iio_device_add_event_sysfs
.subsections_via_symbols
