	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_int
_format_int:                            ## @format_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_INT64_MIN@GOTPCREL(%rip), %rcx
	movl	%esi, %edx
	negl	%edx
	cmpl	%esi, (%rcx)
	movl	$1, %ecx
	cmovnel	%edx, %ecx
	testl	%esi, %esi
	cmovnsl	%esi, %ecx
	decq	%rax
	leaq	L_.str(%rip), %r8
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rdi
	imulq	$1717986919, %rdi, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx), %edx
	leal	(%rdx,%rdx,4), %r9d
	movl	%edi, %edx
	subl	%r9d, %edx
	movslq	%edx, %rdx
	movzbl	(%rdx,%r8), %edx
	movb	%dl, (%rax)
	addl	$9, %edi
	decq	%rax
	cmpl	$18, %edi
	ja	LBB0_1
## %bb.2:
	testl	%esi, %esi
	js	LBB0_4
## %bb.3:
	incq	%rax
	popq	%rbp
	retq
LBB0_4:
	movb	$45, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MIN,4,2                  ## @INT64_MIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789"

	.no_dead_strip	_format_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_int
_format_int:                            ; @format_int
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _INT64_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	mov	w8, #1
	csneg	w8, w8, w1, eq
	cmp	w1, #0
	csel	w9, w8, w1, lt
	sub	x0, x0, #1
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	mov	w10, #10
Lloh3:
	adrp	x11, l_.str@PAGE
Lloh4:
	add	x11, x11, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	smull	x12, w9, w8
	lsr	x13, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w13
	msub	w13, w12, w10, w9
	ldrb	w13, [x11, w13, sxtw]
	strb	w13, [x0], #-1
	add	w13, w9, #9
	mov	x9, x12
	cmp	w13, #18
	b.hi	LBB0_1
; %bb.2:
	tbnz	w1, #31, LBB0_4
; %bb.3:
	add	x0, x0, #1
	ret
LBB0_4:
	mov	w8, #45
	strb	w8, [x0]
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MIN,4,2                  ; @INT64_MIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789"

	.no_dead_strip	_format_int
.subsections_via_symbols
