	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iio_str_to_fixpoint            ## -- Begin function iio_str_to_fixpoint
	.p2align	4, 0x90
_iio_str_to_fixpoint:                   ## @iio_str_to_fixpoint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	je	LBB0_20
## %bb.1:
	movb	(%rdi), %r8b
	leal	-43(%r8), %eax
	xorl	%r9d, %r9d
	testb	$-3, %al
	sete	%r9b
	movb	(%rdi,%r9), %al
	testb	%al, %al
	je	LBB0_16
## %bb.2:
	addq	%r9, %rdi
	incq	%rdi
	xorl	%r9d, %r9d
	movl	$1, %r11d
	xorl	%r10d, %r10d
	jmp	LBB0_3
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	$-48, %eax
	imull	%esi, %eax
	addl	%r9d, %eax
	movslq	%esi, %rsi
	imulq	$1717986919, %rsi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$34, %rsi
	addl	%ebx, %esi
	xorl	%r11d, %r11d
	movl	%eax, %r9d
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rdi), %eax
	incq	%rdi
	testb	%al, %al
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-48(%rax), %ebx
	cmpb	$9, %bl
	ja	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movsbl	%al, %eax
	testl	%r11d, %r11d
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(%r10,%r10,4), %ebx
	leal	(%rax,%rbx,2), %r10d
	addl	$-48, %r10d
	movl	$1, %r11d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$10, %al
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r11d, %r11d
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r11d, %r11d
	cmpb	$46, %al
	je	LBB0_12
	jmp	LBB0_8
LBB0_20:
	movl	$0, (%rcx)
	xorl	%esi, %esi
	popq	%rbx
	popq	%rbp
	jmp	_kstrtoint                      ## TAILCALL
LBB0_16:
	xorl	%r9d, %r9d
	movl	$0, %r10d
	cmpb	$45, %r8b
	je	LBB0_17
	jmp	LBB0_18
LBB0_7:
	cmpb	$0, (%rdi)
	je	LBB0_13
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_19
LBB0_13:
	cmpb	$45, %r8b
	jne	LBB0_18
## %bb.14:
	testl	%r10d, %r10d
	je	LBB0_17
## %bb.15:
	negl	%r10d
	jmp	LBB0_18
LBB0_17:
	negl	%r9d
	xorl	%r10d, %r10d
LBB0_18:
	movl	%r10d, (%rdx)
	movl	%r9d, (%rcx)
	xorl	%eax, %eax
LBB0_19:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iio_str_to_fixpoint            ; -- Begin function iio_str_to_fixpoint
	.p2align	2
_iio_str_to_fixpoint:                   ; @iio_str_to_fixpoint
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_9
; %bb.1:
	ldrb	w10, [x0]
	cmp	w10, #45
	mov	w8, #43
	ccmp	w10, w8, #4, ne
	cset	w11, eq
	ldrb	w16, [x0, x11]
	cbz	w16, LBB0_10
; %bb.2:
	mov	w8, #0
	mov	w9, #0
	add	x11, x11, x0
	add	x11, x11, #1
	mov	w12, #1
	mov	w13, #26215
	movk	w13, #26214, lsl #16
	mov	w14, #10
	mov	w15, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w16, w17, #48
	madd	w16, w16, w1, w8
	smull	x0, w1, w13
	lsr	x4, x0, #63
	asr	x0, x0, #34
	add	w0, w0, w4
	madd	w17, w9, w14, w17
	sub	w17, w17, #48
	cmp	w15, #0
	csel	w1, w0, w1, eq
	csel	w9, w9, w17, eq
	csel	w8, w16, w8, eq
	csel	w15, wzr, w12, eq
	ldrb	w16, [x11], #1
	cbz	w16, LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w17, w16
	sub	w16, w16, #48
	and	w16, w16, #0xff
	cmp	w16, #9
	b.ls	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w17, #10
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w15, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w17, #46
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w15, #0
	ldrb	w16, [x11], #1
	cbnz	w16, LBB0_4
	b	LBB0_13
LBB0_9:
	str	wzr, [x3]
	b	_kstrtoint
LBB0_10:
	mov	w8, #0
	mov	w9, #0
	cmp	w10, #45
	b.eq	LBB0_16
	b	LBB0_17
LBB0_11:
	ldrb	w11, [x11]
	cbz	w11, LBB0_13
LBB0_12:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_13:
	cmp	w10, #45
	b.ne	LBB0_17
; %bb.14:
	cbz	w9, LBB0_16
; %bb.15:
	neg	w9, w9
	b	LBB0_17
LBB0_16:
	mov	w9, #0
	neg	w8, w8
LBB0_17:
	mov	w0, #0
	str	w9, [x2]
	str	w8, [x3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
