	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __iio_format_value
___iio_format_value:                    ## @__iio_format_value
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	addl	$-128, %edx
	cmpl	$6, %edx
	ja	LBB0_19
## %bb.1:
	movq	%r8, %r12
	movq	%rsi, %r15
	leaq	L_.str.3(%rip), %r9
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_12:
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	testl	%r8d, %r8d
	js	LBB0_13
## %bb.14:
	leaq	L_.str.6(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	jmp	LBB0_15
LBB0_7:
	leaq	L_.str.2(%rip), %r9
LBB0_8:
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	testl	%r8d, %r8d
	js	LBB0_9
## %bb.10:
	leaq	L_.str.4(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	jmp	LBB0_11
LBB0_2:
	testl	%ecx, %ecx
	jle	LBB0_19
## %bb.3:
	movl	%ecx, %r13d
	decq	%r13
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	movq	%r15, %rsi
	subq	%rbx, %rsi
	movl	(%r12,%r14,4), %ecx
	leaq	L_.str.7(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%eax, %ebx
	movslq	%ebx, %rax
	cmpq	%r15, %rax
	jae	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r14), %rax
	cmpq	%r14, %r13
	movq	%rax, %r14
	jne	LBB0_4
	jmp	LBB0_19
LBB0_6:
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
LBB0_17:
	movslq	(%r12), %rax
	imulq	$1000000000, %rax, %rdi         ## imm = 0x3B9ACA00
	movl	4(%r12), %esi
	callq	_shift_right
	jmp	LBB0_18
LBB0_16:
	movslq	(%r12), %rax
	imulq	$1000000000, %rax, %rdi         ## imm = 0x3B9ACA00
	movl	4(%r12), %esi
	callq	_div_s64
	movl	4(%r12), %ecx
	movl	%ecx, -44(%rbp)
LBB0_18:
	leaq	-44(%rbp), %rdx
	movl	$1000000000, %esi               ## imm = 0x3B9ACA00
	movq	%rax, %rdi
	callq	_div_s64_rem
	movl	-44(%rbp), %ecx
	movl	%ecx, %r8d
	negl	%r8d
	cmovsl	%ecx, %r8d
	leaq	L_.str.6(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%ecx, %eax
	negl	%eax
	cmovsl	%ecx, %eax
	negl	%r8d
	leaq	L_.str.1(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%eax, %ecx
LBB0_11:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
LBB0_13:
	movl	%ecx, %eax
	negl	%eax
	cmovsl	%ecx, %eax
	negl	%r8d
	leaq	L_.str.5(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%eax, %ecx
LBB0_15:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_17
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	"-%d.%06u%s"

L_.str.2:                               ## @.str.2
	.asciz	" dB"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"%d.%06u%s"

L_.str.5:                               ## @.str.5
	.asciz	"-%d.%09u"

L_.str.6:                               ## @.str.6
	.asciz	"%d.%09u"

L_.str.7:                               ## @.str.7
	.asciz	"%d "

	.no_dead_strip	___iio_format_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __iio_format_value
___iio_format_value:                    ; @__iio_format_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	sub	w9, w2, #128
	cmp	w9, #6
	b.hi	LBB0_10
; %bb.1:
	mov	x21, x4
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, l_.str.3@PAGE
Lloh1:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldp	w3, w8, [x21]
	tbnz	w8, #31, LBB0_17
; %bb.3:
	str	x8, [sp]
Lloh4:
	adrp	x2, l_.str.6@PAGE
Lloh5:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_18
LBB0_4:
Lloh6:
	adrp	x8, l_.str.2@PAGE
Lloh7:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_5:
	ldp	w3, w9, [x21]
	tbnz	w9, #31, LBB0_16
; %bb.6:
	stp	x9, x8, [sp]
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_7:
	cmp	w3, #1
	b.lt	LBB0_10
; %bb.8:
	mov	w24, #0
	mov	w8, w3
	sub	x23, x8, #1
Lloh10:
	adrp	x22, l_.str.7@PAGE
Lloh11:
	add	x22, x22, l_.str.7@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w24
	add	x0, x20, x8
	sub	x1, x19, x8
	ldr	w3, [x21], #4
	mov	x2, x22
	bl	_snprintf
	add	w0, w0, w24
	sxtw	x8, w0
	cmp	x8, x19
	ccmp	x23, #0, #4, lo
	sub	x23, x23, #1
	mov	x24, x0
	b.ne	LBB0_9
	b	LBB0_15
LBB0_10:
	mov	w0, #0
	b	LBB0_15
LBB0_11:
	ldr	w3, [x21]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, 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
	add	sp, sp, #96
	b	_snprintf
LBB0_12:
	mov	w8, #51712
	movk	w8, #15258, lsl #16
	ldp	w9, w1, [x21]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	mul	x0, x9, x8
	bl	_shift_right
	b	LBB0_14
LBB0_13:
	mov	w8, #51712
	movk	w8, #15258, lsl #16
	ldp	w9, w1, [x21]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	mul	x0, x9, x8
	bl	_div_s64
	ldr	w8, [x21, #4]
	str	w8, [sp, #28]
LBB0_14:
	add	x2, sp, #28
	mov	w1, #51712
	movk	w1, #15258, lsl #16
	bl	_div_s64_rem
	mov	x3, x0
	ldr	w8, [sp, #28]
	cmp	w8, #0
	cneg	w8, w8, mi
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.6@PAGE
Lloh15:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_snprintf
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_15:
                                        ; kill: def $w0 killed $w0 killed $x0
	b	LBB0_19
LBB0_16:
	cmp	w3, #0
	cneg	w3, w3, mi
	neg	w9, w9
	stp	x9, x8, [sp]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_17:
	cmp	w3, #0
	cneg	w3, w3, mi
	neg	w8, w8
	str	x8, [sp]
Lloh18:
	adrp	x2, l_.str.5@PAGE
Lloh19:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
LBB0_19:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	"-%d.%06u%s"

l_.str.2:                               ; @.str.2
	.asciz	" dB"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"%d.%06u%s"

l_.str.5:                               ; @.str.5
	.asciz	"-%d.%09u"

l_.str.6:                               ; @.str.6
	.asciz	"%d.%09u"

l_.str.7:                               ; @.str.7
	.asciz	"%d "

	.no_dead_strip	___iio_format_value
.subsections_via_symbols
