	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_device_add_channel_sysfs
_iio_device_add_channel_sysfs:          ## @iio_device_add_channel_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rsi)
	js	LBB0_12
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_IIO_SEPARATE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	44(%rsi), %rcx
	callq	_iio_device_add_info_mask_type
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_13
## %bb.2:
	movl	(%r14), %edx
	leaq	40(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_iio_device_add_info_mask_type_avail
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_30
## %bb.3:
	movq	_IIO_SHARED_BY_TYPE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	36(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_iio_device_add_info_mask_type
	testl	%eax, %eax
	js	LBB0_29
## %bb.4:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edx
	leaq	32(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_iio_device_add_info_mask_type_avail
	testl	%eax, %eax
	js	LBB0_29
## %bb.5:
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_IIO_SHARED_BY_DIR@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	28(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_iio_device_add_info_mask_type
	testl	%eax, %eax
	js	LBB0_29
## %bb.6:
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edx
	leaq	24(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_iio_device_add_info_mask_type_avail
	testl	%eax, %eax
	js	LBB0_29
## %bb.7:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_IIO_SHARED_BY_ALL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	20(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_iio_device_add_info_mask_type
	testl	%eax, %eax
	js	LBB0_29
## %bb.8:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edx
	leaq	16(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_iio_device_add_info_mask_type_avail
	testl	%eax, %eax
	js	LBB0_29
## %bb.9:
	addl	%r12d, %r14d
	addl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	addl	-64(%rbp), %r14d                ## 4-byte Folded Reload
	addl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	addl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	addl	-52(%rbp), %r14d                ## 4-byte Folded Reload
	addl	%eax, %r14d
	movq	8(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_30
## %bb.10:
	movq	24(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.11:
	leaq	4(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_18
LBB0_12:
	xorl	%r14d, %r14d
	jmp	LBB0_30
LBB0_13:
	movl	%r12d, %r14d
	jmp	LBB0_30
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=1
	cmpl	$0, (%r13)
	je	LBB0_23
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	56(%r13), %rdi
	addq	$32, %r13
	incl	%r12d
	testq	%rdi, %rdi
	je	LBB0_30
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_iio_read_channel_ext_info@GOTPCREL(%rip), %rdx
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_iio_write_channel_ext_info@GOTPCREL(%rip), %rcx
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	(%r13), %r9d
	movq	%rbx, %rsi
	movl	%r12d, %r8d
	pushq	%r15
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	___iio_add_chan_devattr
	addq	$16, %rsp
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_16
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	testl	%eax, %eax
	jne	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	incl	%r14d
	jmp	LBB0_17
LBB0_29:
	movl	%eax, %r14d
LBB0_30:
	movl	%r14d, %eax
	addq	$24, %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
	.comm	_iio_read_channel_ext_info,4,2  ## @iio_read_channel_ext_info
	.comm	_iio_write_channel_ext_info,4,2 ## @iio_write_channel_ext_info
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_iio_device_add_channel_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_channel_sysfs
_iio_device_add_channel_sysfs:          ; @iio_device_add_channel_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	x8, [x1]
	tbnz	x8, #63, LBB0_12
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _IIO_SEPARATE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IIO_SEPARATE@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, x1, #44
	bl	_iio_device_add_info_mask_type
	mov	x21, x0
	tbnz	w0, #31, LBB0_25
; %bb.2:
	ldr	w2, [x22]
	add	x3, x19, #40
	mov	x0, x20
	mov	x1, x19
	bl	_iio_device_add_info_mask_type_avail
	mov	x22, x0
	tbnz	w0, #31, LBB0_13
; %bb.3:
Lloh2:
	adrp	x24, _IIO_SHARED_BY_TYPE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IIO_SHARED_BY_TYPE@GOTPAGEOFF]
	ldr	w2, [x24]
	add	x3, x19, #36
	mov	x0, x20
	mov	x1, x19
	bl	_iio_device_add_info_mask_type
	mov	x23, x0
	tbnz	w0, #31, LBB0_14
; %bb.4:
	ldr	w2, [x24]
	add	x3, x19, #32
	mov	x0, x20
	mov	x1, x19
	bl	_iio_device_add_info_mask_type_avail
	mov	x24, x0
	tbnz	w0, #31, LBB0_15
; %bb.5:
Lloh4:
	adrp	x26, _IIO_SHARED_BY_DIR@GOTPAGE
Lloh5:
	ldr	x26, [x26, _IIO_SHARED_BY_DIR@GOTPAGEOFF]
	ldr	w2, [x26]
	add	x3, x19, #28
	mov	x0, x20
	mov	x1, x19
	bl	_iio_device_add_info_mask_type
	mov	x25, x0
	tbnz	w0, #31, LBB0_21
; %bb.6:
	ldr	w2, [x26]
	add	x3, x19, #24
	mov	x0, x20
	mov	x1, x19
	bl	_iio_device_add_info_mask_type_avail
	mov	x26, x0
	tbnz	w0, #31, LBB0_22
; %bb.7:
Lloh6:
	adrp	x28, _IIO_SHARED_BY_ALL@GOTPAGE
Lloh7:
	ldr	x28, [x28, _IIO_SHARED_BY_ALL@GOTPAGEOFF]
	ldr	w2, [x28]
	add	x3, x19, #20
	mov	x0, x20
	mov	x1, x19
	bl	_iio_device_add_info_mask_type
	mov	x27, x0
	tbnz	w0, #31, LBB0_23
; %bb.8:
	ldr	w2, [x28]
	add	x3, x19, #16
	mov	x0, x20
	mov	x1, x19
	bl	_iio_device_add_info_mask_type_avail
	tbnz	w0, #31, LBB0_24
; %bb.9:
	add	w8, w22, w21
	add	w8, w8, w23
	add	w8, w8, w24
	add	w8, w8, w25
	add	w8, w8, w26
	add	w8, w8, w27
	add	w24, w8, w0
	ldr	x25, [x19, #8]
	cbz	x25, LBB0_15
; %bb.10:
	ldr	x0, [x25, #24]
	cbz	x0, LBB0_15
; %bb.11:
	mov	w22, #0
	add	x23, x20, #4
Lloh8:
	adrp	x26, _iio_read_channel_ext_info@GOTPAGE
Lloh9:
	ldr	x26, [x26, _iio_read_channel_ext_info@GOTPAGEOFF]
Lloh10:
	adrp	x27, _iio_write_channel_ext_info@GOTPAGE
Lloh11:
	ldr	x27, [x27, _iio_write_channel_ext_info@GOTPAGEOFF]
Lloh12:
	adrp	x28, _EBUSY@GOTPAGE
Lloh13:
	ldr	x28, [x28, _EBUSY@GOTPAGEOFF]
	b	LBB0_18
LBB0_12:
	mov	w21, #0
	b	LBB0_25
LBB0_13:
	mov	x21, x22
	b	LBB0_25
LBB0_14:
	mov	x21, x23
	b	LBB0_25
LBB0_15:
	mov	x21, x24
	b	LBB0_25
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x25]
	cbz	w8, LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x25, #56]
	add	x25, x25, #32
	add	w22, w22, #1
	mov	x21, x24
	cbz	x0, LBB0_25
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x25, #8]
	cmp	x8, #0
	csel	x2, xzr, x26, eq
	cmp	x9, #0
	csel	x3, xzr, x27, eq
	ldr	w5, [x25]
	mov	x1, x19
	mov	x4, x22
	mov	x6, x23
	mov	x7, x20
	bl	___iio_add_chan_devattr
	mov	x21, x0
	ldr	w8, [x28]
	cmn	w0, w8
	b.eq	LBB0_16
LBB0_19:                                ;   in Loop: Header=BB0_18 Depth=1
	cbnz	w21, LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	add	w24, w24, #1
	b	LBB0_17
LBB0_21:
	mov	x21, x25
	b	LBB0_25
LBB0_22:
	mov	x21, x26
	b	LBB0_25
LBB0_23:
	mov	x21, x27
	b	LBB0_25
LBB0_24:
	mov	x21, x0
LBB0_25:
	mov	x0, x21
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.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
	.comm	_iio_read_channel_ext_info,4,2  ; @iio_read_channel_ext_info
	.comm	_iio_write_channel_ext_info,4,2 ; @iio_write_channel_ext_info
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_iio_device_add_channel_sysfs
.subsections_via_symbols
