	.file	"extr_bootstrap.c_closerel.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"close of %s when %s was expected"
	.align 8
.LC1:
	.string	"close of %s before any relation was opened"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"no open relation to close"
.LC3:
	.string	"close relation %s"
	.text
	.p2align 4
	.globl	closerel
	.type	closerel, @function
closerel:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	rdi, QWORD PTR boot_reldesc[rip]
	test	r12, r12
	je	.L2
	test	rdi, rdi
	je	.L3
	call	RelationGetRelationName@PLT
	mov	rsi, r12
	mov	rdi, rax
	call	strcmp@PLT
	mov	rdi, QWORD PTR boot_reldesc[rip]
	test	rax, rax
	jne	.L4
.L2:
	test	rdi, rdi
	je	.L11
.L5:
	call	RelationGetRelationName@PLT
	mov	edi, DWORD PTR DEBUG4[rip]
	lea	rsi, .LC3[rip]
	mov	rdx, rax
	xor	eax, eax
	call	elog@PLT
	mov	esi, DWORD PTR NoLock[rip]
	mov	rdi, QWORD PTR boot_reldesc[rip]
	call	table_close@PLT
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	QWORD PTR boot_reldesc[rip], 0
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR ERROR[rip]
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	elog@PLT
	mov	rdi, QWORD PTR boot_reldesc[rip]
	test	rdi, rdi
	jne	.L5
.L11:
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	elog@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	RelationGetRelationName@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	rcx, rax
	xor	eax, eax
	call	elog@PLT
	mov	rdi, QWORD PTR boot_reldesc[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	closerel, .-closerel
	.comm	boot_reldesc,8,8
	.comm	NoLock,4,4
	.comm	ERROR,4,4
	.comm	DEBUG4,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_bootstrap.c_closerel.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"close of %s when %s was expected\000"
	.align	2
.LC1:
	.ascii	"close of %s before any relation was opened\000"
	.align	2
.LC2:
	.ascii	"no open relation to close\000"
	.align	2
.LC3:
	.ascii	"close relation %s\000"
	.text
	.align	2
	.global	closerel
	.syntax unified
	.arm
	.fpu softvfp
	.type	closerel, %function
closerel:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L13
	subs	r4, r0, #0
	ldr	r0, [r5]
	beq	.L2
	cmp	r0, #0
	beq	.L3
	bl	RelationGetRelationName
	mov	r1, r4
	bl	strcmp
	cmp	r0, #0
	bne	.L4
.L10:
	ldr	r0, [r5]
.L2:
	cmp	r0, #0
	beq	.L12
	ldr	r3, .L13+4
	ldr	r4, [r3]
	bl	RelationGetRelationName
	ldr	r1, .L13+8
	mov	r2, r0
	mov	r0, r4
	bl	elog
	ldr	r3, .L13+12
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	table_close
	mov	r3, #0
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L13+16
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L13+20
	bl	elog
	b	.L10
.L12:
	ldr	r3, .L13+16
	ldr	r1, .L13+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, lr}
	b	elog
.L4:
	ldr	r3, .L13+16
	ldr	r0, [r5]
	ldr	r6, [r3]
	bl	RelationGetRelationName
	mov	r2, r4
	mov	r3, r0
	ldr	r1, .L13+28
	mov	r0, r6
	bl	elog
	ldr	r0, [r5]
	b	.L2
.L14:
	.align	2
.L13:
	.word	boot_reldesc
	.word	DEBUG4
	.word	.LC3
	.word	NoLock
	.word	ERROR
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	closerel, .-closerel
	.comm	boot_reldesc,4,4
	.comm	NoLock,4,4
	.comm	ERROR,4,4
	.comm	DEBUG4,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
