	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmp_strings_by_leading_number
_cmp_strings_by_leading_number:         ## @cmp_strings_by_leading_number
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_sdbkv_key
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_sdbkv_key
	movl	$-1, %esi
	movabsq	$-8589934592, %rdx              ## imm = 0xFFFFFFFE00000000
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%r14, %rdi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rcx, %rdx
	movzbl	(%rdi), %ebx
	addb	$-48, %bl
	incl	%esi
	incq	%rdi
	cmpb	$10, %bl
	jb	LBB0_1
## %bb.2:
	movl	$-1, %edi
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %ebx
	addb	$-48, %bl
	incl	%edi
	incq	%rcx
	cmpb	$10, %bl
	jb	LBB0_3
## %bb.4:
	movl	$1, %r8d
	testl	%esi, %esi
	je	LBB0_20
## %bb.5:
	testl	%edi, %edi
	je	LBB0_19
## %bb.6:
	cmpl	%edi, %esi
	ja	LBB0_20
## %bb.7:
	jae	LBB0_8
LBB0_19:
	movl	$-1, %r8d
LBB0_20:
	movl	%r8d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	%esi, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax,%rdi), %ecx
	cmpb	%cl, (%r14,%rdi)
	jl	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	jg	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdi
	cmpq	%rdi, %rsi
	jne	LBB0_9
## %bb.12:
	sarq	$32, %rdx
	movb	(%r14,%rdx), %bl
	testb	%bl, %bl
	je	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax,%rdx), %ecx
	testb	%cl, %cl
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpb	%cl, %bl
	jg	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	jl	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=1
	movzbl	1(%r14,%rdx), %ebx
	incq	%rdx
	testb	%bl, %bl
	jne	LBB0_16
LBB0_14:
	xorl	%r8d, %r8d
	cmpb	(%rax,%rdx), %r8b
	sbbl	%r8d, %r8d
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmp_strings_by_leading_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmp_strings_by_leading_number
_cmp_strings_by_leading_number:         ; @cmp_strings_by_leading_number
	.cfi_startproc
; %bb.0:
	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
	mov	x20, x1
	bl	_sdbkv_key
	mov	x19, x0
	mov	x0, x20
	bl	_sdbkv_key
	mov	w8, #-1
	mov	x9, #-8589934592
	mov	x10, #4294967296
	mov	x11, x19
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x11], #1
	sub	w12, w12, #48
	add	w8, w8, #1
	add	x9, x9, x10
	cmp	w12, #10
	b.lo	LBB0_1
; %bb.2:
	mov	w10, #-1
	mov	x11, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x11], #1
	sub	w12, w12, #48
	add	w10, w10, #1
	cmp	w12, #10
	b.lo	LBB0_3
; %bb.4:
	cbz	w8, LBB0_7
; %bb.5:
	cbz	w10, LBB0_9
; %bb.6:
	cmp	w8, w10
	b.ls	LBB0_8
LBB0_7:
	mov	w0, #1
	b	LBB0_10
LBB0_8:
	cmp	w10, w8
	b.ls	LBB0_11
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x10, x19
	mov	x11, x0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w12, [x10]
	ldrsb	w13, [x11]
	cmp	w12, w13
	b.lt	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	b.gt	LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x11, x11, #1
	add	x10, x10, #1
	subs	x8, x8, #1
	b.ne	LBB0_12
; %bb.15:
	asr	x8, x9, #32
	ldrb	w10, [x19, x8]
	cbz	w10, LBB0_20
; %bb.16:
	add	x9, x19, #1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w11, [x0, x8]
	sxtb	w12, w10
	cmp	w11, #0
	ccmp	w12, w11, #0, ne
	b.gt	LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w11, w10, sxtb
	b.gt	LBB0_9
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x11, x8, #1
	ldrb	w10, [x9, x8]
	mov	x8, x11
	cbnz	w10, LBB0_17
	b	LBB0_21
LBB0_20:
	mov	x11, x8
LBB0_21:
	ldrb	w8, [x0, x11]
	cmp	w8, #0
	csetm	w0, ne
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmp_strings_by_leading_number
.subsections_via_symbols
