	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_AToI                      ## -- Begin function HPDF_AToI
	.p2align	4, 0x90
_HPDF_AToI:                             ## @HPDF_AToI
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_HPDF_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movb	(%rdi), %al
	xorl	%r15d, %r15d
	testb	%al, %al
	je	LBB0_12
## %bb.3:
	incq	%rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_HPDF_IS_WHITE_SPACE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_4
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_6:
	movb	-1(%rbx), %al
	cmpb	$45, %al
	jne	LBB0_7
## %bb.8:
	movq	_HPDF_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movb	(%rbx), %al
	jmp	LBB0_9
LBB0_7:
	decq	%rbx
LBB0_9:
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_12
## %bb.10:
	incq	%rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %eax
	leal	(%r15,%r15,4), %ecx
	leal	(%rax,%rcx,2), %r15d
	addl	$-48, %r15d
	movzbl	(%rbx), %eax
	leal	-48(%rax), %ecx
	incq	%rbx
	cmpb	$10, %cl
	jb	LBB0_11
LBB0_12:
	movl	%r15d, %eax
	negl	%eax
	testq	%r14, %r14
	cmovel	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_FALSE,8,3                 ## @HPDF_FALSE
	.comm	_HPDF_TRUE,8,3                  ## @HPDF_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_AToI                      ; -- Begin function HPDF_AToI
	.p2align	2
_HPDF_AToI:                             ; @HPDF_AToI
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_13
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _HPDF_FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HPDF_FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_11
; %bb.2:
	add	x20, x0, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_HPDF_IS_WHITE_SPACE
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_3
	b	LBB0_11
LBB0_5:
	mov	x9, x20
	ldrb	w8, [x9, #-1]!
	cmp	w8, #45
	b.ne	LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _HPDF_TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HPDF_TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
	ldrb	w8, [x20]
	b	LBB0_8
LBB0_7:
	mov	x20, x9
LBB0_8:
	sub	w9, w8, #48
	cmp	w9, #9
	b.hi	LBB0_11
; %bb.9:
	mov	w9, #0
	add	x10, x20, #1
	mov	w11, #10
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	madd	w8, w9, w11, w8
	sub	w9, w8, #48
	ldrb	w8, [x10], #1
	sub	w12, w8, #48
	cmp	w12, #10
	b.lo	LBB0_10
	b	LBB0_12
LBB0_11:
	mov	w9, #0
LBB0_12:
	cmp	x19, #0
	cneg	w0, w9, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_13:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_FALSE,8,3                 ; @HPDF_FALSE
	.comm	_HPDF_TRUE,8,3                  ; @HPDF_TRUE
.subsections_via_symbols
