	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_value
_parse_value:                           ## @parse_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
	movl	%esi, %r15d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strspn
	cltq
	leaq	(%rbx,%rax), %rdi
	movb	(%rbx,%rax), %r12b
	leaq	-56(%rbp), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %r14d
	movq	-56(%rbp), %r13
	cmpb	$46, (%r13)
	movb	%r12b, -41(%rbp)                ## 1-byte Spill
	jne	LBB0_6
## %bb.2:
	movsbl	1(%r13), %edi
	callq	_av_isdigit
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	addq	$2, %r13
	movl	$10000, %r12d                   ## imm = 0x2710
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movsbl	-1(%r13), %ebx
	addl	$-48, %ebx
	imull	%r12d, %ebx
	addl	%eax, %ebx
	movsbl	(%r13), %edi
	callq	_av_isdigit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r12d, %rax
	imulq	$1717986919, %rax, %r12         ## imm = 0x66666667
	movq	%r12, %rcx
	shrq	$63, %rcx
	sarq	$34, %r12
	addl	%ecx, %r12d
	addl	$-10, %eax
	incq	%r13
	cmpl	$-19, %eax
	jb	LBB0_4
LBB0_6:
	movl	%r14d, %eax
	negl	%eax
	cmovsl	%r14d, %eax
	movq	_INT32_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%ebx, %ecx
	movslq	%ecx, %rcx
	imulq	$351843721, %rcx, %rcx          ## imm = 0x14F8B589
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$45, %rcx
	addl	%edx, %ecx
	cmpl	%ecx, %eax
	jg	LBB0_8
## %bb.7:
	imull	$100000, %r14d, %eax            ## imm = 0x186A0
	movl	%ebx, %r15d
	negl	%r15d
	cmpb	$45, -41(%rbp)                  ## 1-byte Folded Reload
	cmovnel	%ebx, %r15d
	addl	%eax, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" \t"

	.comm	_INT32_MAX,4,2                  ## @INT32_MAX
	.no_dead_strip	_parse_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_value
_parse_value:                           ; @parse_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strspn
	add	x0, x20, w0, sxtw
	ldrb	w21, [x0]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	mov	x20, x0
	mov	w22, #0
	ldr	x23, [sp, #8]
	ldrb	w8, [x23]
	cmp	w8, #46
	b.ne	LBB0_9
; %bb.2:
	ldrsb	w0, [x23, #1]
	bl	_av_isdigit
	cbz	x0, LBB0_8
; %bb.3:
	ldrsb	w8, [x23, #1]
	mov	w9, #10000
	mov	w10, #44288
	movk	w10, #65528, lsl #16
	madd	w22, w8, w9, w10
	ldrsb	w0, [x23, #2]
	bl	_av_isdigit
	cbz	x0, LBB0_9
; %bb.4:
	ldrsb	w8, [x23, #2]
	mov	w9, #1000
	madd	w8, w8, w9, w22
	mov	w9, #-48000
	add	w22, w8, w9
	ldrsb	w0, [x23, #3]
	bl	_av_isdigit
	cbz	x0, LBB0_9
; %bb.5:
	ldrsb	w8, [x23, #3]
	mov	w9, #100
	madd	w8, w8, w9, w22
	mov	w9, #-4800
	add	w22, w8, w9
	ldrsb	w0, [x23, #4]
	bl	_av_isdigit
	cbz	x0, LBB0_9
; %bb.6:
	ldrsb	w8, [x23, #4]
	mov	w9, #10
	madd	w8, w8, w9, w22
	sub	w22, w8, #480
	ldrsb	w0, [x23, #5]
	bl	_av_isdigit
	cbz	x0, LBB0_9
; %bb.7:
	ldrsb	w8, [x23, #5]
	add	w8, w8, w22
	sub	w22, w8, #48
	ldrsb	w0, [x23, #6]
	bl	_av_isdigit
	b	LBB0_9
LBB0_8:
	mov	w22, #0
LBB0_9:
	cmp	w20, #0
	cneg	w8, w20, mi
Lloh2:
	adrp	x9, _INT32_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INT32_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	sub	w9, w9, w22
	mov	w10, #46473
	movk	w10, #5368, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #45
	add	w9, w9, w10
	cmp	w8, w9
	b.gt	LBB0_11
; %bb.10:
	mov	w8, #34464
	movk	w8, #1, lsl #16
	cmp	w21, #45
	cneg	w9, w22, eq
	madd	w19, w20, w8, w9
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" \t"

	.comm	_INT32_MAX,4,2                  ; @INT32_MAX
	.no_dead_strip	_parse_value
.subsections_via_symbols
