	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_read_channel_info_avail
_iio_read_channel_info_avail:           ## @iio_read_channel_info_avail
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_dev_to_iio_dev
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_to_iio_dev_attr
	movq	(%rbx), %r10
	movl	(%rax), %r9d
	movl	4(%rax), %esi
	leaq	-40(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	leaq	-32(%rbp), %r8
	movq	%rbx, %rdi
	callq	*(%r10)
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	cmpl	$128, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.3:
	movq	-40(%rbp), %rsi
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %ecx
	movq	%r14, %rdi
	callq	_iio_format_avail_list
	jmp	LBB0_6
LBB0_4:
	movq	-40(%rbp), %rsi
	movl	-28(%rbp), %edx
	movq	%r14, %rdi
	callq	_iio_format_avail_range
	jmp	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iio_read_channel_info_avail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iio_read_channel_info_avail
_iio_read_channel_info_avail:           ; @iio_read_channel_info_avail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_dev_to_iio_dev
	mov	x21, x0
	mov	x0, x20
	bl	_to_iio_dev_attr
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldp	w5, w1, [x0]
	add	x2, sp, #8
	mov	x3, sp
	add	x4, sp, #4
	mov	x0, x21
	blr	x8
	tbnz	w0, #31, LBB0_6
; %bb.1:
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #129
	b.ne	LBB0_5
; %bb.3:
	ldr	x1, [sp, #8]
	ldp	w2, w3, [sp]
	mov	x0, x19
	bl	_iio_format_avail_list
	b	LBB0_6
LBB0_4:
	ldr	x1, [sp, #8]
	ldr	w2, [sp]
	mov	x0, x19
	bl	_iio_format_avail_range
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iio_read_channel_info_avail
.subsections_via_symbols
