	.file	"724117.c"
	.intel_syntax noprefix
	.text
	.type	get_timestamp, @function
get_timestamp:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 12
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 12
	shr	rax, 9
	movabs	rdx, 19342813113834067
	mul	rdx
	mov	rax, rdx
	shr	rax, 11
	or	rcx, rax
	mov	rdx, rcx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_timestamp, .-get_timestamp
	.section	.rodata
.LC0:
	.string	"INFO: counter limit reached\n"
	.align 8
.LC1:
	.string	"WARN: clock did not move; monotonicity broken\n"
	.text
	.globl	uuidv7_generate
	.type	uuidv7_generate, @function
uuidv7_generate:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR rand_cursor.3[rip]
	cmp	eax, 1013
	jle	.L4
	mov	esi, 1024
	lea	rdi, rand_buf.2[rip]
	mov	eax, 0
	call	arc4random_buf@PLT
	mov	DWORD PTR rand_cursor.3[rip], 0
.L4:
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	get_timestamp
	mov	rdx, QWORD PTR st.1[rip]
	mov	rax, QWORD PTR -24[rbp]
	cmp	rdx, rax
	jnb	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR st.1[rip], rax
	mov	eax, DWORD PTR rand_cursor.3[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR rand_cursor.3[rip], edx
	cdqe
	lea	rdx, rand_buf.2[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 8
	cdqe
	mov	QWORD PTR st.1[rip+8], rax
	mov	eax, DWORD PTR rand_cursor.3[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR rand_cursor.3[rip], edx
	cdqe
	lea	rdx, rand_buf.2[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	rdx, QWORD PTR st.1[rip+8]
	movzx	eax, al
	or	rax, rdx
	mov	QWORD PTR st.1[rip+8], rax
	mov	rax, QWORD PTR st.1[rip+8]
	and	eax, 4095
	mov	QWORD PTR st.1[rip+8], rax
	jmp	.L6
.L5:
	mov	rax, QWORD PTR st.1[rip+8]
	add	rax, 1
	mov	QWORD PTR st.1[rip+8], rax
	mov	rax, QWORD PTR st.1[rip+8]
	cmp	rax, 4095
	jbe	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	QWORD PTR -16[rbp], 0
.L9:
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	get_timestamp
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	cmp	rax, 1000000
	jbe	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	jmp	.L8
.L7:
	mov	rdx, QWORD PTR st.1[rip]
	mov	rax, QWORD PTR -24[rbp]
	cmp	rdx, rax
	jnb	.L9
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR st.1[rip], rax
	mov	eax, DWORD PTR rand_cursor.3[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR rand_cursor.3[rip], edx
	cdqe
	lea	rdx, rand_buf.2[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 8
	cdqe
	mov	QWORD PTR st.1[rip+8], rax
	mov	eax, DWORD PTR rand_cursor.3[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR rand_cursor.3[rip], edx
	cdqe
	lea	rdx, rand_buf.2[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	rdx, QWORD PTR st.1[rip+8]
	movzx	eax, al
	or	rax, rdx
	mov	QWORD PTR st.1[rip+8], rax
	mov	rax, QWORD PTR st.1[rip+8]
	and	eax, 4095
	mov	QWORD PTR st.1[rip+8], rax
.L6:
	mov	rax, QWORD PTR st.1[rip]
	shr	rax, 40
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR st.1[rip]
	shr	rax, 32
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR st.1[rip]
	shr	rax, 24
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR st.1[rip]
	shr	rax, 16
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR st.1[rip]
	shr	rax, 8
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR st.1[rip]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 5
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR st.1[rip+8]
	shr	rax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 6
	or	edx, 112
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR st.1[rip+8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 7
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR rand_cursor.3[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR rand_cursor.3[rip], edx
	cdqe
	lea	rdx, rand_buf.2[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	and	eax, 63
	or	eax, -128
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	mov	BYTE PTR [rax], dl
	mov	DWORD PTR -28[rbp], 9
	jmp	.L10
.L11:
	mov	eax, DWORD PTR rand_cursor.3[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR rand_cursor.3[rip], edx
	mov	edx, DWORD PTR -28[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	cdqe
	lea	rcx, rand_buf.2[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -28[rbp], 1
.L10:
	cmp	DWORD PTR -28[rbp], 15
	jle	.L11
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	uuidv7_generate, .-uuidv7_generate
	.globl	uuidv7_to_string
	.type	uuidv7_to_string, @function
uuidv7_to_string:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L14
.L17:
	cmp	DWORD PTR -12[rbp], 4
	je	.L15
	cmp	DWORD PTR -12[rbp], 6
	je	.L15
	cmp	DWORD PTR -12[rbp], 8
	je	.L15
	cmp	DWORD PTR -12[rbp], 10
	jne	.L16
.L15:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 45
.L16:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	movsx	rdx, ecx
	lea	rcx, digits.0[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	movsx	rdx, ecx
	lea	rcx, digits.0[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -12[rbp], 1
.L14:
	cmp	DWORD PTR -12[rbp], 15
	jle	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	uuidv7_to_string, .-uuidv7_to_string
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 560
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	lea	rdx, -512[rbp]
	mov	eax, 0
	mov	ecx, 62
	mov	rdi, rdx
	rep stosq
.L21:
	mov	DWORD PTR -548[rbp], 0
	jmp	.L19
.L20:
	lea	rax, -544[rbp]
	mov	rdi, rax
	call	uuidv7_generate
	mov	edx, DWORD PTR -548[rbp]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	sal	eax, 2
	add	eax, edx
	lea	rdx, -528[rbp]
	cdqe
	add	rdx, rax
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	uuidv7_to_string
	mov	edx, DWORD PTR -548[rbp]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, 36
	cdqe
	mov	BYTE PTR -528[rbp+rax], 10
	add	DWORD PTR -548[rbp], 1
.L19:
	cmp	DWORD PTR -548[rbp], 12
	jle	.L20
	mov	rdx, QWORD PTR stdout[rip]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L21
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.data
	.align 4
	.type	rand_cursor.3, @object
	.size	rand_cursor.3, 4
rand_cursor.3:
	.long	1024
	.local	rand_buf.2
	.comm	rand_buf.2,1024,32
	.local	st.1
	.comm	st.1,16,16
	.section	.rodata
	.align 16
	.type	digits.0, @object
	.size	digits.0, 16
digits.0:
	.ascii	"0123456789abcdef"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"724117.c"
	.text
	.global	__aeabi_uldivmod
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_timestamp, %function
get_timestamp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	str	r0, [fp, #-48]
	ldr	r3, .L3+8
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #40
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	ldr	r3, [fp, #-40]
	mov	r2, r3
	asr	r3, r2, #31
	asr	r7, r2, #20
	lsl	r6, r2, #12
	ldr	r3, [fp, #-48]
	stm	r3, {r6-r7}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r6-r7}
	ldr	r3, [fp, #-36]
	mov	r2, r3
	asr	r3, r2, #31
	asr	r9, r2, #20
	lsl	r8, r2, #12
	adr	r3, .L3
	ldmia	r3, {r2-r3}
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	orr	r4, r6, r2
	orr	r5, r7, r3
	ldr	r3, [fp, #-48]
	stm	r3, {r4-r5}
	nop
	ldr	r3, .L3+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L4:
	.align	3
.L3:
	.word	1000000000
	.word	0
	.word	.LC0
	.size	get_timestamp, .-get_timestamp
	.section	.rodata
	.align	2
.LC1:
	.ascii	"INFO: counter limit reached\012\000"
	.align	2
.LC2:
	.ascii	"WARN: clock did not move; monotonicity broken\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uuidv7_generate
	.syntax unified
	.arm
	.fpu softvfp
	.type	uuidv7_generate, %function
uuidv7_generate:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, .L15+8
	cmp	r3, r2
	ble	.L6
	mov	r1, #1024
	ldr	r0, .L15+12
	bl	arc4random_buf
	ldr	r3, .L15+4
	mov	r2, #0
	str	r2, [r3]
.L6:
	sub	r3, fp, #20
	mov	r0, r3
	bl	get_timestamp
	ldr	r3, .L15+16
	ldmia	r3, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcs	.L7
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, .L15+16
	stm	r1, {r2-r3}
	ldr	r3, .L15+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L15+4
	str	r2, [r1]
	ldr	r2, .L15+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	mov	r2, r3
	ldr	r3, .L15+16
	str	r2, [r3, #8]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L15+4
	str	r2, [r1]
	ldr	r2, .L15+12
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, .L15+16
	ldr	r3, [r3, #8]
	orr	r3, r3, r2
	ldr	r2, .L15+16
	str	r3, [r2, #8]
	ldr	r3, .L15+16
	ldr	r3, [r3, #8]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	ldr	r2, .L15+16
	str	r3, [r2, #8]
	b	.L8
.L7:
	ldr	r3, .L15+16
	ldr	r3, [r3, #8]
	add	r3, r3, #1
	ldr	r2, .L15+16
	str	r3, [r2, #8]
	ldr	r3, .L15+16
	ldr	r3, [r3, #8]
	cmp	r3, #4096
	bcc	.L8
	ldr	r3, .L15+20
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L15+24
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-28]
.L11:
	sub	r3, fp, #20
	mov	r0, r3
	bl	get_timestamp
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	ldr	r2, .L15+28
	cmp	r3, r2
	bls	.L9
	ldr	r3, .L15+20
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L15+32
	bl	fwrite
	b	.L10
.L9:
	ldr	r3, .L15+16
	ldmia	r3, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcs	.L11
.L10:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, .L15+16
	stm	r1, {r2-r3}
	ldr	r3, .L15+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L15+4
	str	r2, [r1]
	ldr	r2, .L15+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	mov	r2, r3
	ldr	r3, .L15+16
	str	r2, [r3, #8]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L15+4
	str	r2, [r1]
	ldr	r2, .L15+12
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, .L15+16
	ldr	r3, [r3, #8]
	orr	r3, r3, r2
	ldr	r2, .L15+16
	str	r3, [r2, #8]
	ldr	r3, .L15+16
	ldr	r3, [r3, #8]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	ldr	r2, .L15+16
	str	r3, [r2, #8]
.L8:
	ldr	r3, .L15+16
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r1, #8
	mov	r3, #0
	and	r2, r2, #255
	ldr	r3, [fp, #-32]
	strb	r2, [r3]
	ldr	r3, .L15+16
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	mov	r2, r1
	mov	r3, #0
	ldr	r1, [fp, #-32]
	add	r1, r1, #1
	and	r3, r2, #255
	strb	r3, [r1]
	ldr	r3, .L15+16
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #24
	orr	r2, r2, r1, lsl #8
	lsr	r3, r1, #24
	ldr	r1, [fp, #-32]
	add	r1, r1, #2
	and	r3, r2, #255
	strb	r3, [r1]
	ldr	r3, .L15+16
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #16
	orr	r2, r2, r1, lsl #16
	lsr	r3, r1, #16
	ldr	r1, [fp, #-32]
	add	r1, r1, #3
	and	r3, r2, #255
	strb	r3, [r1]
	ldr	r3, .L15+16
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #8
	orr	r2, r2, r1, lsl #24
	lsr	r3, r1, #8
	ldr	r1, [fp, #-32]
	add	r1, r1, #4
	and	r3, r2, #255
	strb	r3, [r1]
	ldr	r3, .L15+16
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-32]
	add	r1, r1, #5
	and	r3, r2, #255
	strb	r3, [r1]
	ldr	r3, .L15+16
	ldr	r3, [r3, #8]
	lsr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #6
	orr	r2, r2, #112
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, .L15+16
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	add	r3, r3, #7
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L15+4
	str	r2, [r1]
	ldr	r2, .L15+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #63
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mvn	r3, r3, lsl #25
	mvn	r3, r3, lsr #25
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #9
	str	r3, [fp, #-24]
	b	.L12
.L13:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L15+4
	str	r2, [r1]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-32]
	add	r2, r1, r2
	ldr	r1, .L15+12
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	strb	r3, [r2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L12:
	ldr	r3, [fp, #-24]
	cmp	r3, #15
	ble	.L13
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	rand_cursor.5279
	.word	1013
	.word	rand_buf.5278
	.word	st.5285
	.word	stderr
	.word	.LC1
	.word	1000000
	.word	.LC2
	.size	uuidv7_generate, .-uuidv7_generate
	.align	2
	.global	uuidv7_to_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	uuidv7_to_string, %function
uuidv7_to_string:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L18
.L21:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	beq	.L19
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	beq	.L19
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	beq	.L19
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L20
.L19:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #45
	strb	r2, [r3]
.L20:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, .L22
	ldrb	r2, [r2, r1]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #15
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldr	r1, .L22
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	ble	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L23:
	.align	2
.L22:
	.word	digits.5298
	.size	uuidv7_to_string, .-uuidv7_to_string
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #536
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-520]
	sub	r3, fp, #516
	mov	r2, #508
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L27:
	mov	r3, #0
	str	r3, [fp, #-540]
	b	.L25
.L26:
	sub	r3, fp, #536
	mov	r0, r3
	bl	uuidv7_generate
	ldr	r2, [fp, #-540]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, fp, #520
	add	r2, r2, r3
	sub	r3, fp, #536
	mov	r1, r2
	mov	r0, r3
	bl	uuidv7_to_string
	ldr	r2, [fp, #-540]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, #36
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3, #-516]
	ldr	r3, [fp, #-540]
	add	r3, r3, #1
	str	r3, [fp, #-540]
.L25:
	ldr	r3, [fp, #-540]
	cmp	r3, #12
	ble	.L26
	ldr	r3, .L29+4
	ldr	r2, [r3]
	sub	r3, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	b	.L27
.L30:
	.align	2
.L29:
	.word	.LC4
	.word	stdout
	.size	main, .-main
	.data
	.align	2
	.type	rand_cursor.5279, %object
	.size	rand_cursor.5279, 4
rand_cursor.5279:
	.word	1024
	.local	rand_buf.5278
	.comm	rand_buf.5278,1024,4
	.local	st.5285
	.comm	st.5285,16,8
	.section	.rodata
	.align	2
	.type	digits.5298, %object
	.size	digits.5298, 16
digits.5298:
	.ascii	"0123456789abcdef"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
