	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_ltoa                        ## -- Begin function pg_ltoa
	.p2align	4, 0x90
_pg_ltoa:                               ## @pg_ltoa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PG_INT32_MIN@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.9:
	leaq	L_.str(%rip), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	movl	$12, %edx
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_1:
	movl	%edi, %ecx
	negl	%ecx
	cmovsl	%edi, %ecx
	movq	%rsi, %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rdx
	imulq	$1717986919, %rdx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$34, %rcx
	addl	%eax, %ecx
	imull	$246, %ecx, %eax
	addl	%edx, %eax
	addb	$48, %al
	movb	%al, (%r8)
	incq	%r8
	addl	$9, %edx
	cmpl	$18, %edx
	ja	LBB0_2
## %bb.3:
	testl	%edi, %edi
	jns	LBB0_5
## %bb.4:
	movb	$45, (%r8)
	incq	%r8
LBB0_5:
	movb	$0, (%r8)
	decq	%r8
	cmpq	%rsi, %r8
	jbe	LBB0_8
## %bb.6:
	incq	%rsi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rsi), %eax
	movzbl	(%r8), %ecx
	movb	%cl, -1(%rsi)
	movb	%al, (%r8)
	decq	%r8
	leaq	1(%rsi), %rax
	cmpq	%r8, %rsi
	movq	%rax, %rsi
	jb	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_INT32_MIN,4,2               ## @PG_INT32_MIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-2147483648"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_ltoa                        ; -- Begin function pg_ltoa
	.p2align	2
_pg_ltoa:                               ; @pg_ltoa
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PG_INT32_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PG_INT32_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	mov	w2, #12
	b	_memcpy
LBB0_2:
	cmp	w0, #0
	cneg	w11, w0, mi
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mov	w10, #246
	mov	x8, x1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	smull	x12, w11, w9
	lsr	x13, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w13
	madd	w13, w12, w10, w11
	add	w13, w13, #48
	strb	w13, [x8], #1
	add	w13, w11, #9
	mov	x11, x12
	cmp	w13, #18
	b.hi	LBB0_3
; %bb.4:
	tbz	w0, #31, LBB0_6
; %bb.5:
	mov	w9, #45
	strb	w9, [x8], #1
LBB0_6:
	strb	wzr, [x8], #-1
	cmp	x8, x1
	b.ls	LBB0_9
; %bb.7:
	add	x9, x1, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w10, [x9, #-1]
	ldrb	w11, [x8]
	sturb	w11, [x9, #-1]
	strb	w10, [x8], #-1
	add	x10, x9, #1
	cmp	x9, x8
	mov	x9, x10
	b.lo	LBB0_8
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_INT32_MIN,4,2               ; @PG_INT32_MIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-2147483648"

.subsections_via_symbols
