	.file	"extr_guc.c_push_old_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	push_old_value, @function
push_old_value:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR GUCNestLevel[rip]
	test	rax, rax
	je	.L18
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR [rdi]
	test	rbx, rbx
	je	.L3
	cmp	rax, QWORD PTR [rbx]
	jle	.L22
.L3:
	mov	edi, DWORD PTR TopTransactionContext[rip]
	mov	esi, 48
	call	MemoryContextAllocZero@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 32[rbx], rax
	mov	rax, QWORD PTR GUCNestLevel[rip]
	mov	QWORD PTR [rbx], rax
	cmp	r12d, 129
	je	.L8
	cmp	r12d, 130
	je	.L9
	cmp	r12d, 128
	je	.L23
.L10:
	mov	eax, DWORD PTR 12[rbp]
	lea	rsi, 16[rbx]
	mov	rdi, rbp
	mov	DWORD PTR 24[rbx], eax
	mov	eax, DWORD PTR 8[rbp]
	mov	DWORD PTR 20[rbx], eax
	call	set_stack_value@PLT
	mov	QWORD PTR 0[rbp], rbx
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	DWORD PTR guc_dirty[rip], 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rax, QWORD PTR GUC_SET[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR GUC_LOCAL[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR GUC_SAVE[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L22:
	sete	dil
	movzx	edi, dil
	call	Assert@PLT
	cmp	r12d, 129
	je	.L4
	cmp	r12d, 130
	je	.L5
	cmp	r12d, 128
	je	.L24
.L6:
	mov	edi, DWORD PTR guc_dirty[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	Assert@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	edi, edi
	mov	rax, QWORD PTR GUC_SAVE[rip]
	cmp	QWORD PTR 8[rbx], rax
	sete	dil
	call	Assert@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR GUC_SET_LOCAL[rip]
	cmp	QWORD PTR 8[rbx], rax
	je	.L25
.L7:
	mov	rax, QWORD PTR GUC_SET[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR GUC_SET[rip]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L6
	mov	eax, DWORD PTR 8[rbp]
	lea	rsi, 40[rbx]
	mov	rdi, rbp
	mov	DWORD PTR 44[rbx], eax
	call	set_stack_value@PLT
	mov	rax, QWORD PTR GUC_SET_LOCAL[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L6
.L25:
	lea	rsi, 40[rbx]
	mov	rdi, rbp
	call	discard_stack_value@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	push_old_value, .-push_old_value
	.comm	guc_dirty,4,4
	.comm	TopTransactionContext,4,4
	.comm	GUC_SET_LOCAL,8,8
	.comm	GUC_SET,8,8
	.comm	GUC_SAVE,8,8
	.comm	GUC_LOCAL,8,8
	.comm	GUCNestLevel,8,8
	.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_guc.c_push_old_value.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	push_old_value, %function
push_old_value:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L23
	ldr	r3, [r7]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r5, [r0]
	mov	r4, r0
	cmp	r5, #0
	mov	r6, r1
	beq	.L3
	ldr	r2, [r5]
	cmp	r3, r2
	ble	.L19
.L3:
	ldr	r3, .L23+4
	mov	r1, #32
	ldr	r0, [r3]
	bl	MemoryContextAllocZero
	ldr	r2, [r4]
	ldr	r3, [r7]
	cmp	r6, #129
	mov	r5, r0
	str	r2, [r0, #20]
	str	r3, [r0]
	beq	.L8
	cmp	r6, #130
	beq	.L9
	cmp	r6, #128
	beq	.L20
.L10:
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #4]
	mov	r0, r4
	str	r2, [r5, #16]
	str	r3, [r5, #12]
	add	r1, r5, #8
	bl	set_stack_value
	mov	r2, #1
	ldr	r3, .L23+8
	str	r5, [r4]
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	ldr	r3, .L23+12
	ldr	r3, [r3]
	str	r3, [r0, #4]
	b	.L10
.L9:
	ldr	r3, .L23+16
	ldr	r3, [r3]
	str	r3, [r0, #4]
	b	.L10
.L8:
	ldr	r3, .L23+20
	ldr	r3, [r3]
	str	r3, [r0, #4]
	b	.L10
.L19:
	moveq	r0, #1
	movne	r0, #0
	bl	Assert
	cmp	r6, #129
	beq	.L4
	cmp	r6, #130
	beq	.L5
	cmp	r6, #128
	beq	.L21
.L6:
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L23+8
	ldr	r0, [r3]
	b	Assert
.L4:
	ldr	r3, .L23+20
	ldr	r0, [r5, #4]
	ldr	r3, [r3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	Assert
	b	.L6
.L21:
	ldr	r3, .L23+24
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L22
.L7:
	ldr	r3, .L23+12
	ldr	r3, [r3]
	str	r3, [r5, #4]
	b	.L6
.L5:
	ldr	r3, .L23+12
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L6
	ldr	r3, [r4, #4]
	mov	r0, r4
	str	r3, [r5, #28]
	add	r1, r5, #24
	bl	set_stack_value
	ldr	r3, .L23+24
	ldr	r3, [r3]
	str	r3, [r5, #4]
	b	.L6
.L22:
	mov	r0, r4
	add	r1, r5, #24
	bl	discard_stack_value
	b	.L7
.L24:
	.align	2
.L23:
	.word	GUCNestLevel
	.word	TopTransactionContext
	.word	guc_dirty
	.word	GUC_SET
	.word	GUC_LOCAL
	.word	GUC_SAVE
	.word	GUC_SET_LOCAL
	.size	push_old_value, .-push_old_value
	.comm	guc_dirty,4,4
	.comm	TopTransactionContext,4,4
	.comm	GUC_SET_LOCAL,4,4
	.comm	GUC_SET,4,4
	.comm	GUC_SAVE,4,4
	.comm	GUC_LOCAL,4,4
	.comm	GUCNestLevel,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
