	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str2txid
_str2txid:                              ## @str2txid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %cl
	leal	-58(%rcx), %edx
	xorl	%eax, %eax
	cmpb	$-10, %dl
	jb	LBB0_8
## %bb.1:
	movq	_MAX_TXID@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	imulq	$1717986919, %r8, %r9           ## imm = 0x66666667
	movq	%r9, %rax
	shrq	$63, %rax
	sarq	$34, %r9
	addl	%eax, %r9d
	leal	(%r9,%r9), %eax
	leal	(%rax,%rax,4), %eax
	subl	%eax, %r8d
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rax,%rax,4), %eax
	leal	(%rcx,%rax,2), %eax
	movzbl	1(%rdi), %ecx
	incq	%rdi
	leal	-58(%rcx), %edx
	cmpb	$-11, %dl
	jbe	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%cl, %ecx
	addl	$-48, %ecx
	cmpl	%r9d, %eax
	ja	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r8d, %ecx
	jbe	LBB0_7
## %bb.6:
	xorl	%eax, %eax
LBB0_8:
	testq	%rsi, %rsi
	je	LBB0_10
LBB0_9:
	movq	%rdi, (%rsi)
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	testq	%rsi, %rsi
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TXID,4,2                   ## @MAX_TXID
	.no_dead_strip	_str2txid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str2txid
_str2txid:                              ; @str2txid
	.cfi_startproc
; %bb.0:
	ldrb	w10, [x0]
	sub	w8, w10, #58
	cmn	w8, #10
	b.hs	LBB0_2
LBB0_1:
	mov	w8, #0
	cbnz	x1, LBB0_9
	b	LBB0_10
LBB0_2:
	mov	w8, #0
Lloh0:
	adrp	x9, _MAX_TXID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_TXID@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x9]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x9, w12, w9
	lsr	x11, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w11
	mov	w11, #10
	msub	w12, w9, w11, w12
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	w8, w8, w11, w10
	ldrb	w10, [x0, #1]!
	sub	w13, w10, #58
	cmn	w13, #11
	b.ls	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w10, #48
	cmp	w8, w9
	b.hi	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, w12
	b.ls	LBB0_3
; %bb.7:
	mov	w8, #0
LBB0_8:
	cbz	x1, LBB0_10
LBB0_9:
	str	x0, [x1]
LBB0_10:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TXID,4,2                   ; @MAX_TXID
	.no_dead_strip	_str2txid
.subsections_via_symbols
