	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_format_avail_list
_iio_format_avail_list:                 ## @iio_format_avail_list
	.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
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	cmpl	$128, %edx
	jne	LBB0_6
## %bb.1:
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.2:
	leal	-1(%rcx), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%r13), %rdi
	subq	%r13, %rsi
	movl	$128, %edx
	movl	$1, %ecx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	movq	%rax, %r14
	callq	___iio_format_value
	movq	%rax, %rbx
	movq	%r14, %rax
	addq	%r13, %rbx
	movq	(%r14), %rsi
	subq	%rbx, %rsi
	jle	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%rbx), %rdi
	cmpq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str(%rip), %rax
	cmovbq	%rax, %rdx
	callq	_snprintf
	movq	%rax, %r13
	addq	%rbx, %r13
	movq	(%r14), %rsi
	cmpq	%rsi, %r13
	jge	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rax
	incq	%r12
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	addq	$4, %rbx
	cmpq	%r12, -48(%rbp)                 ## 8-byte Folded Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_3
	jmp	LBB0_14
LBB0_6:
	cmpl	$2, %ecx
	jl	LBB0_13
## %bb.7:
	shrl	%ecx
	leal	-1(%rcx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r14
	leaq	(%r15,%r13), %rdi
	subq	%r13, %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	$2, %ecx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	movq	%rax, %r15
	callq	___iio_format_value
	movq	%rax, %rbx
	movq	%r15, %rax
	addq	%r13, %rbx
	movq	(%r15), %rsi
	subq	%rbx, %rsi
	jle	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leaq	(%r14,%rbx), %rdi
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str(%rip), %rax
	cmovbq	%rax, %rdx
	callq	_snprintf
	movq	%rax, %r13
	addq	%rbx, %r13
	movq	(%r15), %rsi
	cmpq	%rsi, %r13
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rax
	incq	%r12
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	addq	$8, %rbx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%r12, %rcx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_8
	jmp	LBB0_14
LBB0_13:
	xorl	%r13d, %r13d
	jmp	LBB0_14
LBB0_11:
	movq	_EFBIG@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subq	(%rax), %r13
LBB0_14:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_EFBIG,8,3                      ## @EFBIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.no_dead_strip	_iio_format_avail_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iio_format_avail_list
_iio_format_avail_list:                 ; @iio_format_avail_list
	.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
	mov	x19, x1
	mov	x20, x0
	cmp	w2, #128
	b.ne	LBB0_6
; %bb.1:
	subs	w22, w3, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x23, #0
	mov	x21, #0
Lloh0:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
	mov	w25, w3
	ldr	x8, [x24]
Lloh2:
	adrp	x26, l_.str.1@PAGE
Lloh3:
	add	x26, x26, l_.str.1@PAGEOFF
Lloh4:
	adrp	x27, l_.str@PAGE
Lloh5:
	add	x27, x27, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x20, x21
	sub	x1, x8, x21
	mov	w2, #128
	mov	w3, #1
	mov	x4, x19
	bl	___iio_format_value
	ldr	x8, [x24]
	add	x21, x0, x21
	subs	x1, x8, x21
	b.le	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x20, x21
	cmp	x23, x22
	csel	x2, x27, x26, lo
	bl	_snprintf
	ldr	x8, [x24]
	add	x21, x0, x21
	cmp	x21, x8
	b.ge	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	add	x19, x19, #4
	cmp	x25, x23
	b.ne	LBB0_3
	b	LBB0_13
LBB0_6:
	cmp	w3, #2
	b.lt	LBB0_11
; %bb.7:
	mov	x22, x2
	mov	x23, #0
	mov	x21, #0
	lsr	w24, w3, #1
Lloh6:
	adrp	x25, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _PAGE_SIZE@GOTPAGEOFF]
	sub	w26, w24, #1
	ldr	x8, [x25]
Lloh8:
	adrp	x27, l_.str.1@PAGE
Lloh9:
	add	x27, x27, l_.str.1@PAGEOFF
Lloh10:
	adrp	x28, l_.str@PAGE
Lloh11:
	add	x28, x28, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x20, x21
	sub	x1, x8, x21
	mov	x2, x22
	mov	w3, #2
	mov	x4, x19
	bl	___iio_format_value
	ldr	x8, [x25]
	add	x21, x0, x21
	subs	x1, x8, x21
	b.le	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x20, x21
	cmp	x23, x26
	csel	x2, x28, x27, lo
	bl	_snprintf
	ldr	x8, [x25]
	add	x21, x0, x21
	cmp	x21, x8
	b.ge	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	add	x19, x19, #8
	cmp	x24, x23
	b.ne	LBB0_8
	b	LBB0_13
LBB0_11:
	mov	x21, #0
	b	LBB0_13
LBB0_12:
Lloh12:
	adrp	x8, _EFBIG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	neg	x21, x8
LBB0_13:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_EFBIG,8,3                      ; @EFBIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.no_dead_strip	_iio_format_avail_list
.subsections_via_symbols
