	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bdf_atoul
__bdf_atoul:                            ## @_bdf_atoul
	.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
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_6
## %bb.2:
	movq	_ddigits@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movsbl	%al, %esi
	callq	_sbitset
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	incq	%r14
	xorl	%ebx, %ebx
	movq	_FT_ULONG_MAX@GOTPCREL(%rip), %r12
	movq	_a2i@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r12), %rax
	leal	-9(%rax), %ecx
	movslq	%ecx, %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %rbx
	jae	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rbx,%rbx,4), %rbx
	addq	%rbx, %rbx
	movq	(%r13), %rax
	movsbq	-1(%r14), %rcx
	addq	(%rax,%rcx,8), %rbx
	movl	(%r15), %edi
	movsbl	(%r14), %esi
	callq	_sbitset
	incq	%r14
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_10
LBB0_6:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rax, %rbx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ddigits,4,2                    ## @ddigits
	.comm	_FT_ULONG_MAX,4,2               ## @FT_ULONG_MAX
	.comm	_a2i,8,3                        ## @a2i
	.no_dead_strip	__bdf_atoul
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bdf_atoul
__bdf_atoul:                            ; @_bdf_atoul
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x21, _ddigits@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ddigits@GOTPAGEOFF]
	ldr	w0, [x21]
	sxtb	w1, w8
	bl	_sbitset
	mov	x19, #0
	cbz	x0, LBB0_7
; %bb.3:
	add	x20, x20, #1
Lloh2:
	adrp	x22, _FT_ULONG_MAX@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FT_ULONG_MAX@GOTPAGEOFF]
	mov	w23, #26215
	movk	w23, #26214, lsl #16
	mov	w24, #10
Lloh4:
	adrp	x25, _a2i@GOTPAGE
Lloh5:
	ldr	x25, [x25, _a2i@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x22]
	sub	w9, w8, #9
	smull	x9, w9, w23
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	cmp	x19, w9, sxtw
	b.hs	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	ldursb	x9, [x20, #-1]
	ldr	x8, [x8, x9, lsl #3]
	madd	x19, x19, x24, x8
	ldr	w0, [x21]
	ldrsb	w1, [x20]
	bl	_sbitset
	add	x20, x20, #1
	cbnz	x0, LBB0_4
	b	LBB0_7
LBB0_6:
	mov	x19, #0
LBB0_7:
	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_8:
	mov	x19, x8
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ddigits,4,2                    ; @ddigits
	.comm	_FT_ULONG_MAX,4,2               ; @FT_ULONG_MAX
	.comm	_a2i,8,3                        ; @a2i
	.no_dead_strip	__bdf_atoul
.subsections_via_symbols
