	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_ltostr                      ## -- Begin function pg_ltostr
	.p2align	4, 0x90
_pg_ltostr:                             ## @pg_ltostr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	js	LBB0_3
## %bb.1:
	movq	%rdi, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%esi, %rcx
	imulq	$1717986919, %rcx, %rsi         ## imm = 0x66666667
	movq	%rsi, %rdx
	shrq	$63, %rdx
	sarq	$34, %rsi
	addl	%edx, %esi
	imull	$246, %esi, %edx
	addl	%ecx, %edx
	addb	$48, %dl
	movb	%dl, (%rax)
	incq	%rax
	addl	$9, %ecx
	cmpl	$18, %ecx
	ja	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movb	$45, (%rdi)
	incq	%rdi
	movq	%rdi, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%esi, %r8
	imulq	$1717986919, %r8, %rsi          ## imm = 0x66666667
	movq	%rsi, %rdx
	shrq	$63, %rdx
	sarq	$34, %rsi
	addl	%edx, %esi
	imull	$246, %esi, %edx
	addl	%r8d, %edx
	movb	$48, %cl
	subb	%dl, %cl
	movb	%cl, (%rax)
	incq	%rax
	addl	$9, %r8d
	cmpl	$19, %r8d
	jae	LBB0_4
LBB0_5:
	leaq	-1(%rax), %rcx
	cmpq	%rcx, %rdi
	jae	LBB0_8
## %bb.6:
	incq	%rdi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rdi), %esi
	movzbl	(%rcx), %edx
	movb	%dl, -1(%rdi)
	movb	%sil, (%rcx)
	decq	%rcx
	leaq	1(%rdi), %rdx
	cmpq	%rcx, %rdi
	movq	%rdx, %rdi
	jb	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_ltostr                      ; -- Begin function pg_ltostr
	.p2align	2
_pg_ltostr:                             ; @pg_ltostr
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	tbnz	w1, #31, LBB0_3
; %bb.1:
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mov	w10, #246
	mov	x0, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	smull	x11, w1, w9
	lsr	x12, x11, #63
	asr	x11, x11, #34
	add	w11, w11, w12
	madd	w12, w11, w10, w1
	add	w12, w12, #48
	strb	w12, [x0], #1
	add	w12, w1, #9
	mov	x1, x11
	cmp	w12, #18
	b.hi	LBB0_2
	b	LBB0_5
LBB0_3:
	mov	w9, #45
	strb	w9, [x8], #1
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mov	w10, #246
	mov	w11, #48
	mov	x0, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	smull	x12, w1, w9
	lsr	x13, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w13
	madd	w13, w12, w10, w1
	sub	w13, w11, w13
	strb	w13, [x0], #1
	add	w13, w1, #9
	mov	x1, x12
	cmp	w13, #19
	b.hs	LBB0_4
LBB0_5:
	sub	x9, x0, #1
	cmp	x8, x9
	b.hs	LBB0_8
; %bb.6:
	add	x8, x8, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w10, [x8, #-1]
	ldrb	w11, [x9]
	sturb	w11, [x8, #-1]
	strb	w10, [x9], #-1
	add	x10, x8, #1
	cmp	x8, x9
	mov	x8, x10
	b.lo	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
