	.file	"extr_telemetry_metadata.c_ts_telemetry_metadata_get_install_timestamp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ts_telemetry_metadata_get_install_timestamp
	.type	ts_telemetry_metadata_get_install_timestamp, @function
ts_telemetry_metadata_get_install_timestamp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR METADATA_TIMESTAMP_KEY_NAME[rip]
	mov	ebp, DWORD PTR CSTRINGOID[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r12d, DWORD PTR TIMESTAMPTZOID[rip]
	call	CStringGetDatum@PLT
	lea	rcx, 4[rsp]
	mov	esi, ebp
	mov	edx, r12d
	mov	edi, eax
	call	ts_metadata_get_value@PLT
	mov	edx, DWORD PTR 4[rsp]
	test	edx, edx
	jne	.L6
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	eax, eax
	mov	r13d, DWORD PTR TIMESTAMPTZOID[rip]
	call	GetCurrentTimestamp@PLT
	mov	edi, eax
	call	TimestampTzGetDatum@PLT
	mov	edi, DWORD PTR METADATA_TIMESTAMP_KEY_NAME[rip]
	mov	ebp, DWORD PTR CSTRINGOID[rip]
	mov	r12d, eax
	call	CStringGetDatum@PLT
	mov	r8d, 1
	mov	ecx, r13d
	mov	esi, ebp
	mov	edi, eax
	mov	edx, r12d
	call	ts_metadata_insert@PLT
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ts_telemetry_metadata_get_install_timestamp, .-ts_telemetry_metadata_get_install_timestamp
	.comm	TIMESTAMPTZOID,4,4
	.comm	METADATA_TIMESTAMP_KEY_NAME,4,4
	.comm	CSTRINGOID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_telemetry_metadata.c_ts_telemetry_metadata_get_install_timestamp.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ts_telemetry_metadata_get_install_timestamp
	.syntax unified
	.arm
	.fpu softvfp
	.type	ts_telemetry_metadata_get_install_timestamp, %function
ts_telemetry_metadata_get_install_timestamp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L11
	ldr	r3, .L11+4
	ldr	r4, .L11+8
	ldr	r5, .L11+12
	sub	sp, sp, #16
	ldr	r0, [r6]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	CStringGetDatum
	add	r3, sp, #8
	ldr	r2, [r4]
	ldr	r1, [r5]
	bl	ts_metadata_get_value
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L9
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, [r6]
	bl	CStringGetDatum
	ldr	r6, [r5]
	mov	r5, r0
	bl	GetCurrentTimestamp
	bl	TimestampTzGetDatum
	mov	ip, #1
	mov	r2, r0
	mov	r1, r6
	mov	r0, r5
	ldr	r3, [r4]
	str	ip, [sp]
	bl	ts_metadata_insert
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	METADATA_TIMESTAMP_KEY_NAME
	.word	.LC0
	.word	TIMESTAMPTZOID
	.word	CSTRINGOID
	.size	ts_telemetry_metadata_get_install_timestamp, .-ts_telemetry_metadata_get_install_timestamp
	.comm	TIMESTAMPTZOID,4,4
	.comm	METADATA_TIMESTAMP_KEY_NAME,4,4
	.comm	CSTRINGOID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
