	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function strtoint
_strtoint:                              ## @strtoint
	.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
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	cmpl	$1, %edx
	je	LBB0_7
## %bb.2:
	movq	_MAX_BASE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jl	LBB0_7
## %bb.3:
	movq	%rdi, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movb	(%rdi), %bl
	testb	%bl, %bl
	je	LBB0_13
## %bb.4:
	movl	%ecx, %r13d
	movq	%rsi, %r15
	incq	%r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%bl, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%r12), %ebx
	incq	%r12
	testb	%bl, %bl
	jne	LBB0_5
	jmp	LBB0_13
LBB0_7:
	movq	_UU_ERROR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_8:
	cmpb	$43, %bl
	je	LBB0_11
## %bb.9:
	cmpb	$45, %bl
	jne	LBB0_16
## %bb.10:
	xorl	%r14d, %r14d
	testl	%r13d, %r13d
	sete	%r14b
	movl	$1, %edx
	jmp	LBB0_12
LBB0_11:
	xorl	%edx, %edx
	xorl	%r14d, %r14d
LBB0_12:
	movb	(%r12), %bl
	testb	%bl, %bl
	jne	LBB0_17
LBB0_13:
	movq	_UU_ERROR_EMPTY@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %edi
	callq	_uu_set_error
	movl	$-1, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	decq	%r12
	xorl	%r14d, %r14d
	xorl	%edx, %edx
LBB0_17:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	jne	LBB0_20
## %bb.18:
	cmpb	$48, %bl
	jne	LBB0_26
## %bb.19:
	movb	1(%r12), %al
	addb	$-88, %al
	xorl	%ecx, %ecx
	testb	$-33, %al
	sete	%cl
	leal	8(,%rcx,8), %eax
LBB0_20:
	cmpl	$16, %eax
	jne	LBB0_25
## %bb.21:
	cmpb	$48, %bl
	jne	LBB0_25
## %bb.22:
	movb	1(%r12), %al
	movl	$16, -44(%rbp)                  ## 4-byte Folded Spill
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_27
## %bb.23:
	movb	2(%r12), %bl
	addq	$2, %r12
	jmp	LBB0_28
LBB0_25:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_28
LBB0_26:
	movl	$10, -44(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_28
LBB0_27:
	movb	$48, %bl
LBB0_28:
	movzbl	%bl, %r15d
	movl	%r15d, %edi
	callq	_CTOI
	movq	%rax, %r13
	xorl	%esi, %esi
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%r13d, %ecx
	jg	LBB0_30
## %bb.29:
	movl	%r15d, %edi
	callq	_IS_DIGIT
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%esi, %esi
	testq	%rax, %rax
	sete	%dl
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	setne	%sil
	xorl	%r13d, %r13d
LBB0_30:
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ecx
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movb	1(%r12), %al
	testb	%al, %al
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	je	LBB0_43
## %bb.31:
	addq	$2, %r12
	movl	$1, %ebx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_35 Depth=1
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
LBB0_33:                                ##   in Loop: Header=BB0_35 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
LBB0_34:                                ##   in Loop: Header=BB0_35 Depth=1
	movl	%r13d, %ecx
	imull	%edx, %ecx
	movq	_UINT64_MAX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	cmpl	-72(%rbp), %r13d                ## 4-byte Folded Reload
	cmovgl	%ebx, %r14d
	cmpl	%eax, %edx
	cmovll	%ebx, %r14d
	addl	%eax, %ecx
	movzbl	(%r12), %eax
	incq	%r12
	movl	%ecx, %r13d
	testb	%al, %al
	je	LBB0_44
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %r15d
	movl	%r15d, %edi
	callq	_CTOI
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%eax, %edx
	ja	LBB0_34
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movl	%r15d, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=1
	movl	%r15d, %edi
	callq	_IS_DIGIT
	testq	%rax, %rax
	jne	LBB0_32
## %bb.38:                              ##   in Loop: Header=BB0_35 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_33
LBB0_39:
	movb	-1(%r12), %al
	testb	%al, %al
	je	LBB0_43
## %bb.40:
	movl	$1, %r15d
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	cmovel	%r15d, %ebx
	movzbl	(%r12), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_41
## %bb.42:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
LBB0_43:
	movl	%r13d, %ecx
LBB0_44:
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	je	LBB0_47
## %bb.45:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_48
## %bb.46:
	movq	_INT64_MIN@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	subl	(%rax), %edx
	cmpl	%edx, %ecx
	movl	$1, %esi
	cmovgl	%esi, %r14d
	jmp	LBB0_49
LBB0_47:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_50
LBB0_48:
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	movl	$1, %eax
	cmovgl	%eax, %r14d
	xorl	%esi, %esi
LBB0_49:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_50:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %eax
	orl	%edi, %eax
	orl	%r14d, %eax
	je	LBB0_53
## %bb.51:
	testl	%ebx, %ebx
	je	LBB0_54
## %bb.52:
	movq	_UU_ERROR_INVALID_CHAR@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_53:
	movl	%ecx, %eax
	negl	%eax
	testl	%esi, %esi
	cmovel	%ecx, %eax
	movl	%eax, (%rdx)
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_54:
	testl	%edi, %edi
	je	LBB0_56
## %bb.55:
	movq	_UU_ERROR_INVALID_DIGIT@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_56:
	movl	$-1, %ebx
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.57:
	testl	%esi, %esi
	je	LBB0_59
## %bb.58:
	movq	_UU_ERROR_UNDERFLOW@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_59:
	movq	_UU_ERROR_OVERFLOW@GOTPCREL(%rip), %rax
LBB0_60:
	movl	(%rax), %edi
	callq	_uu_set_error
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_BASE,4,2                   ## @MAX_BASE
	.comm	_UU_ERROR_INVALID_ARGUMENT,4,2  ## @UU_ERROR_INVALID_ARGUMENT
	.comm	_UU_ERROR_EMPTY,4,2             ## @UU_ERROR_EMPTY
	.comm	_UINT64_MAX,8,3                 ## @UINT64_MAX
	.comm	_INT64_MIN,8,3                  ## @INT64_MIN
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.comm	_UU_ERROR_INVALID_CHAR,4,2      ## @UU_ERROR_INVALID_CHAR
	.comm	_UU_ERROR_INVALID_DIGIT,4,2     ## @UU_ERROR_INVALID_DIGIT
	.comm	_UU_ERROR_UNDERFLOW,4,2         ## @UU_ERROR_UNDERFLOW
	.comm	_UU_ERROR_OVERFLOW,4,2          ## @UU_ERROR_OVERFLOW
	.no_dead_strip	_strtoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function strtoint
_strtoint:                              ; @strtoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x2
	cmp	w2, #1
	b.eq	LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _MAX_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.lt	LBB0_8
; %bb.3:
	ldrb	w23, [x0]
	cbz	w23, LBB0_7
; %bb.4:
	mov	x20, x3
	mov	x19, x1
	add	x28, x0, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_isspace
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w23, [x28], #1
	cbnz	w23, LBB0_5
LBB0_7:
Lloh3:
	adrp	x8, _UU_ERROR_EMPTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UU_ERROR_EMPTY@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _UU_ERROR_INVALID_ARGUMENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UU_ERROR_INVALID_ARGUMENT@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	bl	_uu_set_error
LBB0_10:
	mov	w0, #-1
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	cmp	w23, #43
	b.eq	LBB0_15
; %bb.13:
	cmp	w23, #45
	b.ne	LBB0_16
; %bb.14:
	cmp	w20, #0
	cset	w24, eq
	mov	w25, #1
	ldrb	w23, [x28]
	cbnz	w23, LBB0_17
	b	LBB0_7
LBB0_15:
	mov	w25, #0
	mov	w24, #0
	ldrb	w23, [x28]
	cbnz	w23, LBB0_17
	b	LBB0_7
LBB0_16:
	mov	w24, #0
	mov	w25, #0
	sub	x28, x28, #1
LBB0_17:
	str	x19, [sp]                       ; 8-byte Folded Spill
	cbnz	w21, LBB0_20
; %bb.18:
	cmp	w23, #48
	b.ne	LBB0_24
; %bb.19:
	ldrb	w8, [x28, #1]
	sub	w8, w8, #88
	mov	w9, #223
	tst	w8, w9
	mov	w8, #8
	mov	w9, #16
	csel	w21, w9, w8, eq
LBB0_20:
	cmp	w21, #16
	b.ne	LBB0_27
; %bb.21:
	cmp	w23, #48
	b.ne	LBB0_27
; %bb.22:
	ldrb	w8, [x28, #1]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_25
; %bb.23:
	ldrb	w23, [x28, #2]!
	b	LBB0_26
LBB0_24:
	mov	w21, #10
	b	LBB0_27
LBB0_25:
	mov	w23, #48
LBB0_26:
	mov	w21, #16
LBB0_27:
	mov	x0, x23
	bl	_CTOI
	mov	x22, x0
	cmp	w21, w22
	b.le	LBB0_29
; %bb.28:
	mov	w26, #0
	mov	w27, #0
	b	LBB0_30
LBB0_29:
	mov	x0, x23
	bl	_IS_DIGIT
	mov	w22, #0
	cmp	x0, #0
	cset	w26, ne
	cset	w27, eq
LBB0_30:
	ldrb	w23, [x28, #1]
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	cbz	w23, LBB0_38
; %bb.31:
Lloh7:
	adrp	x25, _UINT64_MAX@GOTPAGE
Lloh8:
	ldr	x25, [x25, _UINT64_MAX@GOTPAGEOFF]
	ldr	w8, [x25]
	sdiv	w19, w8, w21
	add	x28, x28, #2
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	mul	w8, w22, w21
	ldr	w9, [x25]
	sub	w9, w9, w8
	cmp	w22, w19
	ccmp	w9, w0, #8, le
	csinc	w24, w24, wzr, ge
	add	w22, w0, w8
	ldrb	w23, [x28], #1
	cbz	w23, LBB0_38
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_CTOI
	cmp	w21, w0
	b.hi	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x23
	bl	_isspace
	cbnz	x0, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x23
	bl	_IS_DIGIT
	mov	x8, x0
	mov	w0, #0
	cmp	x8, #0
	csinc	w26, w26, wzr, eq
	csinc	w27, w27, wzr, ne
	b	LBB0_32
LBB0_36:
	ldurb	w0, [x28, #-1]
	cbz	w0, LBB0_38
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	bl	_isspace
	cmp	x0, #0
	csinc	w27, w27, wzr, ne
	ldrb	w0, [x28], #1
	cbnz	w0, LBB0_37
LBB0_38:
	cbz	w20, LBB0_41
; %bb.39:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_42
; %bb.40:
Lloh9:
	adrp	x8, _INT64_MIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INT64_MIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w8, w8
	cmp	w22, w8
	csinc	w24, w24, wzr, le
	mov	w9, #1
	b	LBB0_43
LBB0_41:
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	b	LBB0_43
LBB0_42:
	mov	w9, #0
Lloh12:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w22, w8
	csinc	w24, w24, wzr, le
LBB0_43:
	orr	w8, w27, w26
	orr	w8, w8, w24
	cbz	w8, LBB0_46
; %bb.44:
	cbz	w27, LBB0_47
; %bb.45:
Lloh15:
	adrp	x8, _UU_ERROR_INVALID_CHAR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UU_ERROR_INVALID_CHAR@GOTPAGEOFF]
	b	LBB0_9
LBB0_46:
	mov	w0, #0
	cmp	w9, #0
	cneg	w8, w22, ne
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
	b	LBB0_11
LBB0_47:
	cbz	w26, LBB0_49
; %bb.48:
Lloh17:
	adrp	x8, _UU_ERROR_INVALID_DIGIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UU_ERROR_INVALID_DIGIT@GOTPAGEOFF]
	b	LBB0_9
LBB0_49:
	cbz	w24, LBB0_10
; %bb.50:
	cbz	w9, LBB0_52
; %bb.51:
Lloh19:
	adrp	x8, _UU_ERROR_UNDERFLOW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _UU_ERROR_UNDERFLOW@GOTPAGEOFF]
	b	LBB0_9
LBB0_52:
Lloh21:
	adrp	x8, _UU_ERROR_OVERFLOW@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UU_ERROR_OVERFLOW@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_BASE,4,2                   ; @MAX_BASE
	.comm	_UU_ERROR_INVALID_ARGUMENT,4,2  ; @UU_ERROR_INVALID_ARGUMENT
	.comm	_UU_ERROR_EMPTY,4,2             ; @UU_ERROR_EMPTY
	.comm	_UINT64_MAX,8,3                 ; @UINT64_MAX
	.comm	_INT64_MIN,8,3                  ; @INT64_MIN
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.comm	_UU_ERROR_INVALID_CHAR,4,2      ; @UU_ERROR_INVALID_CHAR
	.comm	_UU_ERROR_INVALID_DIGIT,4,2     ; @UU_ERROR_INVALID_DIGIT
	.comm	_UU_ERROR_UNDERFLOW,4,2         ; @UU_ERROR_UNDERFLOW
	.comm	_UU_ERROR_OVERFLOW,4,2          ; @UU_ERROR_OVERFLOW
	.no_dead_strip	_strtoint
.subsections_via_symbols
