	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_timestamp
_format_timestamp:                      ## @format_timestamp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	cmpl	$-16777216, %edi                ## imm = 0xFF000000
	jb	LBB0_2
## %bb.1:
	andl	$16777215, %ebx                 ## imm = 0xFFFFFF
	leaq	_format_timestamp.buffer(%rip), %rdi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_2:
	movl	_format_timestamp.base(%rip), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$-1, %eax
	je	LBB0_5
LBB0_7:
	addl	%ebx, %eax
	movl	%eax, -20(%rbp)
	leaq	-20(%rbp), %rdi
	callq	_localtime
	leaq	_format_timestamp.buffer(%rip), %rdi
	leaq	L_.str.2(%rip), %rdx
	movl	$32, %esi
	movl	%eax, %ecx
	callq	_strftime
	jmp	LBB0_8
LBB0_3:
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bzero
	movabsq	$429496729601, %rax             ## imm = 0x6400000001
	movq	%rax, -32(%rbp)
	movq	%r14, %rdi
	callq	_mktime
	movl	%eax, _format_timestamp.base(%rip)
	cmpl	$-1, %eax
	jne	LBB0_7
LBB0_5:
	leaq	_format_timestamp.buffer(%rip), %rdi
	leaq	L_.str.1(%rip), %rdx
LBB0_6:
	movl	$32, %esi
	movl	%ebx, %ecx
	callq	_snprintf
LBB0_8:
	leaq	_format_timestamp.buffer(%rip), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_format_timestamp.buffer,32,4 ## @format_timestamp.buffer
.zerofill __DATA,__bss,_format_timestamp.base,4,2 ## @format_timestamp.base
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"boot + %us"

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

L_.str.2:                               ## @.str.2
	.asciz	"%+"

	.no_dead_strip	_format_timestamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function format_timestamp
lCPI0_0:
	.long	1                               ; 0x1
	.long	100                             ; 0x64
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_format_timestamp:                      ; @format_timestamp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	lsr	w8, w0, #24
	cmp	w8, #255
	b.lo	LBB0_2
; %bb.1:
	and	w3, w19, #0xffffff
Lloh0:
	adrp	x0, _format_timestamp.buffer@PAGE
Lloh1:
	add	x0, x0, _format_timestamp.buffer@PAGEOFF
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #32
	b	LBB0_7
LBB0_2:
	adrp	x20, _format_timestamp.base@PAGE
	ldr	w0, [x20, _format_timestamp.base@PAGEOFF]
	cbz	w0, LBB0_5
; %bb.3:
	cmn	w0, #1
	b.eq	LBB0_6
LBB0_4:
	add	w8, w0, w19
	str	w8, [sp, #12]
	add	x0, sp, #12
	bl	_localtime
	mov	x3, x0
Lloh4:
	adrp	x0, _format_timestamp.buffer@PAGE
Lloh5:
	add	x0, x0, _format_timestamp.buffer@PAGEOFF
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #32
	bl	_strftime
	b	LBB0_8
LBB0_5:
	mov	x0, sp
	mov	w1, #8
	bl	_bzero
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
	mov	x0, sp
	bl	_mktime
	str	w0, [x20, _format_timestamp.base@PAGEOFF]
	cmn	w0, #1
	b.ne	LBB0_4
LBB0_6:
Lloh10:
	adrp	x0, _format_timestamp.buffer@PAGE
Lloh11:
	add	x0, x0, _format_timestamp.buffer@PAGEOFF
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #32
	mov	x3, x19
LBB0_7:
	bl	_snprintf
LBB0_8:
Lloh14:
	adrp	x0, _format_timestamp.buffer@PAGE
Lloh15:
	add	x0, x0, _format_timestamp.buffer@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_format_timestamp.buffer,32,0 ; @format_timestamp.buffer
.zerofill __DATA,__bss,_format_timestamp.base,4,2 ; @format_timestamp.base
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"boot + %us"

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

l_.str.2:                               ; @.str.2
	.asciz	"%+"

	.no_dead_strip	_format_timestamp
.subsections_via_symbols
