	.file	"extr_resource_lock.c_LockModeToLockModeText.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown lock mode enum: %d"
	.text
	.p2align 4
	.globl	LockModeToLockModeText
	.type	LockModeToLockModeText, @function
LockModeToLockModeText:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR lock_mode_to_string_map_count[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	test	edx, edx
	jle	.L2
	mov	rax, QWORD PTR lockmode_to_string_map[rip]
	sub	edx, 1
	sal	rdx, 4
	lea	rdx, 16[rax+rdx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	rax, 16
	cmp	rax, rdx
	je	.L2
.L5:
	cmp	QWORD PTR [rax], rbx
	jne	.L3
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L2
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR ERRCODE_LOCK_NOT_AVAILABLE[rip]
	call	errcode@PLT
	mov	esi, ebx
	lea	rdi, .LC0[rip]
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	LockModeToLockModeText, .-LockModeToLockModeText
	.comm	lockmode_to_string_map,8,8
	.comm	lock_mode_to_string_map_count,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_LOCK_NOT_AVAILABLE,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_resource_lock.c_LockModeToLockModeText.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown lock mode enum: %d\000"
	.text
	.align	2
	.global	LockModeToLockModeText
	.syntax unified
	.arm
	.fpu softvfp
	.type	LockModeToLockModeText, %function
LockModeToLockModeText:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r3]
	cmp	r0, #0
	ble	.L2
	ldr	r2, .L12+4
	mov	r3, #0
	ldr	r1, [r2]
	mov	r2, r1
	b	.L5
.L3:
	cmp	r0, r3
	add	r2, r2, #8
	beq	.L2
.L5:
	ldr	ip, [r1, r3, lsl #3]
	add	r3, r3, #1
	cmp	ip, r4
	bne	.L3
	ldr	r0, [r2, #4]
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
.L2:
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	ldr	r0, [r2]
	ldr	r5, [r3]
	bl	errcode
	mov	r1, r4
	ldr	r0, .L12+16
	bl	errmsg
	mov	r1, r0
	mov	r0, r5
	bl	ereport
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	lock_mode_to_string_map_count
	.word	lockmode_to_string_map
	.word	ERRCODE_LOCK_NOT_AVAILABLE
	.word	ERROR
	.word	.LC0
	.size	LockModeToLockModeText, .-LockModeToLockModeText
	.comm	lockmode_to_string_map,4,4
	.comm	lock_mode_to_string_map_count,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_LOCK_NOT_AVAILABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
