	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getnum_str
_getnum_str:                            ## @getnum_str
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	%rsi, %rcx
	ja	LBB0_15
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%r12d, %r12d
	movb	$1, %r13b
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %r13b
	je	LBB0_14
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	$1, %r13b
	xorl	%r12d, %r12d
	cmpq	%r15, %rcx
	ja	LBB0_14
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	(%rcx), %ebx
	movl	%ebx, %edi
	callq	_isspace
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$59, %ebx
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rcx
	cmpq	%r15, %rcx
	ja	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$10, (%rcx)
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	addq	$4, %rcx
	movq	%rcx, (%r14)
	cmpq	%r15, %rcx
	jbe	LBB0_8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %r13b
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rcx
	addq	$4, %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_3
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	-48(%rbx), %eax
	cmpl	$10, %eax
	jae	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rcx
	addq	$4, %rcx
	movq	%rcx, (%r14)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rdx,%rdx,4), %edx
	leal	(%rax,%rdx,2), %edx
	movb	$1, %r12b
	xorl	%r13d, %r13d
	movq	%rdx, %rax
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r15, %rcx
	jbe	LBB0_4
	jmp	LBB0_15
LBB0_16:
	cmpl	$41, %ebx
	setne	%al
	notb	%r12b
	orb	%al, %r12b
	movl	$-1, %eax
	testb	$1, %r12b
	jne	LBB0_15
## %bb.17:
	addq	$-4, (%r14)
LBB0_14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getnum_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getnum_str
_getnum_str:                            ; @getnum_str
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	cmp	x8, x1
	b.ls	LBB0_3
; %bb.1:
	mov	w19, #0
LBB0_2:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x21, x1
	mov	x20, x0
	mov	w25, #0
	mov	w19, #0
	mov	w24, #1
	mov	w23, #10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w22, [x8]
	mov	x0, x22
	bl	_isspace
	cmp	w22, #0
	ccmp	x0, #0, #0, ne
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w24, #0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	add	x8, x8, #4
	str	x8, [x20]
	b	LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #59
	b.ne	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cmp	x8, x21
	b.hi	LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x8]
	cmp	w9, #10
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x8, #4
	str	x8, [x20]
	cmp	x8, x21
	b.ls	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w24, #0, LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	mov	w24, #1
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x21
	b.ls	LBB0_4
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w9, w22, #48
	cmp	w9, #10
	b.hs	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
	ldr	x8, [x20]
	add	x8, x8, #4
	str	x8, [x20]
	madd	w19, w19, w23, w9
	mov	w25, #1
	b	LBB0_13
LBB0_16:
	cmp	w22, #41
	cset	w8, ne
	orn	w8, w8, w25
	tbnz	w8, #0, LBB0_18
; %bb.17:
	ldr	x8, [x20]
	sub	x8, x8, #4
	str	x8, [x20]
	b	LBB0_2
LBB0_18:
	mov	w19, #-1
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getnum_str
.subsections_via_symbols
