	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_dec
_format_dec:                            ## @format_dec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	%rdi, %rax
	movq	_last_immediate@GOTPCREL(%rip), %rcx
	movq	%rdi, (%rcx)
	testl	%edx, %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str(%rip), %rsi
	cmoveq	%rcx, %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	addq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_immediate,8,3             ## @last_immediate
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%ld"

L_.str.1:                               ## @.str.1
	.asciz	"%lu"

	.no_dead_strip	_format_dec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_dec
_format_dec:                            ; @format_dec
	.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	x19, x1
	mov	x8, x0
Lloh0:
	adrp	x9, _last_immediate@GOTPAGE
Lloh1:
	ldr	x9, [x9, _last_immediate@GOTPAGEOFF]
Lloh2:
	str	x0, [x9]
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w2, #0
	csel	x1, x10, x9, eq
	mov	x0, x19
	mov	x2, x8
	bl	_sprintf
	mov	x0, x19
	bl	_strlen
	add	x0, x19, w0, sxtw
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_last_immediate,8,3             ; @last_immediate
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ld"

l_.str.1:                               ; @.str.1
	.asciz	"%lu"

	.no_dead_strip	_format_dec
.subsections_via_symbols
