	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_buffer_add_channel_sysfs
_iio_buffer_add_channel_sysfs:          ## @iio_buffer_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	_IIO_SEPARATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rdi
	movq	_iio_show_scan_index@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%r15
	pushq	%rbx
	callq	___iio_add_chan_devattr
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	_iio_show_fixed_type@GOTPCREL(%rip), %rdx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%rbx
	callq	___iio_add_chan_devattr
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	(%r14), %rax
	movq	_IIO_TIMESTAMP@GOTPCREL(%rip), %rcx
	movl	8(%r14), %r8d
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movq	_iio_scan_el_ts_show@GOTPCREL(%rip), %rdx
	movq	_iio_scan_el_ts_store@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	movq	_iio_scan_el_show@GOTPCREL(%rip), %rdx
	movq	_iio_scan_el_store@GOTPCREL(%rip), %rcx
LBB0_5:
	movq	%r14, %rsi
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%rbx
	callq	___iio_add_chan_devattr
	addq	$16, %rsp
	movl	%eax, %ecx
	testl	%eax, %eax
	movl	$3, %eax
	cmovnel	%ecx, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index"

	.comm	_iio_show_scan_index,4,2        ## @iio_show_scan_index
	.comm	_IIO_SEPARATE,4,2               ## @IIO_SEPARATE
L_.str.1:                               ## @.str.1
	.asciz	"type"

	.comm	_iio_show_fixed_type,4,2        ## @iio_show_fixed_type
	.comm	_IIO_TIMESTAMP,8,3              ## @IIO_TIMESTAMP
L_.str.2:                               ## @.str.2
	.asciz	"en"

	.comm	_iio_scan_el_show,4,2           ## @iio_scan_el_show
	.comm	_iio_scan_el_store,4,2          ## @iio_scan_el_store
	.comm	_iio_scan_el_ts_show,4,2        ## @iio_scan_el_ts_show
	.comm	_iio_scan_el_ts_store,4,2       ## @iio_scan_el_ts_store
	.no_dead_strip	_iio_buffer_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_buffer_add_channel_sysfs
_iio_buffer_add_channel_sysfs:          ; @iio_buffer_add_channel_sysfs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _IIO_SEPARATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IIO_SEPARATE@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x2, _iio_show_scan_index@GOTPAGE
Lloh6:
	ldr	x2, [x2, _iio_show_scan_index@GOTPAGEOFF]
	mov	x3, #0
	mov	w4, #0
	mov	x6, x20
	mov	x7, x19
	bl	___iio_add_chan_devattr
	cbnz	w0, LBB0_6
; %bb.1:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh9:
	adrp	x2, _iio_show_fixed_type@GOTPAGE
Lloh10:
	ldr	x2, [x2, _iio_show_fixed_type@GOTPAGEOFF]
	mov	x1, x21
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	mov	x6, x20
	mov	x7, x19
	bl	___iio_add_chan_devattr
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x21]
Lloh11:
	adrp	x9, _IIO_TIMESTAMP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IIO_TIMESTAMP@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w4, [x21, #8]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh16:
	adrp	x2, _iio_scan_el_ts_show@GOTPAGE
Lloh17:
	ldr	x2, [x2, _iio_scan_el_ts_show@GOTPAGEOFF]
Lloh18:
	adrp	x3, _iio_scan_el_ts_store@GOTPAGE
Lloh19:
	ldr	x3, [x3, _iio_scan_el_ts_store@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh20:
	adrp	x2, _iio_scan_el_show@GOTPAGE
Lloh21:
	ldr	x2, [x2, _iio_scan_el_show@GOTPAGEOFF]
Lloh22:
	adrp	x3, _iio_scan_el_store@GOTPAGE
Lloh23:
	ldr	x3, [x3, _iio_scan_el_store@GOTPAGEOFF]
LBB0_5:
	mov	x1, x21
	mov	w5, #0
	mov	x6, x20
	mov	x7, x19
	bl	___iio_add_chan_devattr
	mov	w8, #3
	cmp	w0, #0
	csel	w0, w8, w0, eq
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index"

	.comm	_iio_show_scan_index,4,2        ; @iio_show_scan_index
	.comm	_IIO_SEPARATE,4,2               ; @IIO_SEPARATE
l_.str.1:                               ; @.str.1
	.asciz	"type"

	.comm	_iio_show_fixed_type,4,2        ; @iio_show_fixed_type
	.comm	_IIO_TIMESTAMP,8,3              ; @IIO_TIMESTAMP
l_.str.2:                               ; @.str.2
	.asciz	"en"

	.comm	_iio_scan_el_show,4,2           ; @iio_scan_el_show
	.comm	_iio_scan_el_store,4,2          ; @iio_scan_el_store
	.comm	_iio_scan_el_ts_show,4,2        ; @iio_scan_el_ts_show
	.comm	_iio_scan_el_ts_store,4,2       ; @iio_scan_el_ts_store
	.no_dead_strip	_iio_buffer_add_channel_sysfs
.subsections_via_symbols
