	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_string_touint64            ## -- Begin function isc_string_touint64
	.p2align	4, 0x90
_isc_string_touint64:                   ## @isc_string_touint64
	.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
	movq	%rsi, %r14
	movq	%rdi, %r12
	xorl	%eax, %eax
	cmpl	$36, %edx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	ja	LBB0_9
## %bb.1:
	movl	%edx, %r13d
	cmpl	$1, %edx
	je	LBB0_9
## %bb.2:
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_10
## %bb.3:
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbl	(%rbx), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_4
LBB0_7:
	xorl	%r15d, %r15d
	cmpb	$43, (%rbx)
	sete	%r15b
	jmp	LBB0_11
LBB0_9:
	movq	%r12, %r15
	jmp	LBB0_27
LBB0_10:
	xorl	%r15d, %r15d
	movq	%r12, %rbx
LBB0_11:
	addq	%rbx, %r15
	testl	%r13d, %r13d
	je	LBB0_20
LBB0_12:
	movb	(%r15), %cl
LBB0_13:
	testb	%cl, %cl
	je	LBB0_23
LBB0_14:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	$-1, %eax
	cltd
	idivl	%r13d
	movl	%r13d, %edx
	movl	%eax, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%cl, %edi
	callq	_tolower
	movq	_digits@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	subq	%rbx, %rax
	cmpq	%r14, %rax
	jge	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%r13d, %r12d
	jg	LBB0_26
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	testq	%rax, %rax
	js	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	imull	-44(%rbp), %r12d                ## 4-byte Folded Reload
	addl	%r12d, %eax
	movzbl	1(%r15), %ecx
	incq	%r15
	movl	%eax, %r12d
	testb	%cl, %cl
	jne	LBB0_15
	jmp	LBB0_27
LBB0_20:
	movb	(%r15), %cl
	movl	$10, %r13d
	cmpb	$48, %cl
	jne	LBB0_13
## %bb.21:
	movb	1(%r15), %al
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_28
## %bb.22:
	addq	$2, %r15
	movl	$16, %r13d
	jmp	LBB0_12
LBB0_23:
	xorl	%eax, %eax
	movq	%r12, %r15
	jmp	LBB0_27
LBB0_25:
	movl	%r12d, %eax
	jmp	LBB0_27
LBB0_26:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	xorl	%eax, %eax
LBB0_27:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, (%rcx)
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movb	$48, %cl
	movl	$8, %r13d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_digits,8,3                     ## @digits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_string_touint64            ; -- Begin function isc_string_touint64
	.p2align	2
_isc_string_touint64:                   ; @isc_string_touint64
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w22, #0
	cmp	w2, #36
	b.hi	LBB0_14
; %bb.1:
	mov	x21, x2
	cmp	w2, #1
	b.eq	LBB0_14
; %bb.2:
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
; %bb.3:
	mov	x22, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isascii
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x22]
	bl	_isspace
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x22, #1]!
	cbnz	w8, LBB0_4
LBB0_7:
	ldrb	w8, [x22]
	cmp	w8, #43
	cset	w8, eq
	add	x23, x22, x8
	cbnz	w21, LBB0_12
	b	LBB0_9
LBB0_8:
	mov	x8, #0
	mov	x22, x20
	add	x23, x22, x8
	cbnz	w21, LBB0_12
LBB0_9:
	ldrb	w8, [x23]
	cmp	w8, #48
	b.ne	LBB0_16
; %bb.10:
	ldrb	w8, [x23, #1]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_17
; %bb.11:
	add	x23, x23, #2
	mov	w21, #16
LBB0_12:
	ldrb	w8, [x23]
	cbnz	w8, LBB0_18
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x23, x20
LBB0_15:
	str	x23, [x19]
	mov	x0, x22
	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_16:
	mov	w21, #10
	cbnz	w8, LBB0_18
	b	LBB0_13
LBB0_17:
	mov	w8, #48
	mov	w21, #8
LBB0_18:
	mov	w22, #0
	mov	w9, #-1
	sxtw	x24, w21
Lloh0:
	adrp	x25, _digits@GOTPAGE
Lloh1:
	ldr	x25, [x25, _digits@GOTPAGEOFF]
	sdiv	w26, w9, w21
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_tolower
	mov	x1, x0
	ldr	x21, [x25]
	mov	x0, x21
	bl	_strchr
	cbz	x0, LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	x8, x0, x21
	cmp	x8, x24
	b.ge	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w22, w26
	b.gt	LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	tbnz	x8, #63, LBB0_13
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	madd	w22, w22, w24, w8
	ldrb	w8, [x23, #1]!
	cbnz	w8, LBB0_19
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_digits,8,3                     ; @digits
.subsections_via_symbols
