	.file	"extr_acl.c_convert_any_priv_string.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unrecognized privilege type: \"%s\""
	.text
	.p2align 4
	.type	convert_any_priv_string, @function
convert_any_priv_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	text_to_cstring@PLT
	mov	r14, rax
	test	rax, rax
	je	.L17
	mov	rbp, rax
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, 44
	mov	rdi, rbp
	xor	ebx, ebx
	call	strchr@PLT
	test	rax, rax
	je	.L3
	mov	BYTE PTR [rax], 0
	lea	rbx, 1[rax]
.L3:
	movzx	edi, BYTE PTR 0[rbp]
	test	dil, dil
	jne	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	movzx	edi, BYTE PTR 1[rbp]
	add	rbp, 1
	test	dil, dil
	je	.L5
.L4:
	call	isspace@PLT
	test	rax, rax
	jne	.L6
.L5:
	mov	rdi, rbp
	call	strlen@PLT
	movsx	r15, eax
	test	eax, eax
	jg	.L9
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L10:
	lea	eax, -1[r15]
	sub	r15, 1
	test	r15d, r15d
	jle	.L33
.L9:
	movzx	edi, BYTE PTR -1[rbp+r15]
	call	isspace@PLT
	test	rax, rax
	jne	.L10
.L8:
	mov	BYTE PTR 0[rbp+r15], 0
	mov	rdi, QWORD PTR [r12]
	test	rdi, rdi
	je	.L13
.L34:
	mov	r15, r12
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR 16[r15]
	add	r15, 16
	test	rdi, rdi
	je	.L13
.L15:
	mov	rsi, rbp
	call	pg_strcasecmp@PLT
	test	rax, rax
	jne	.L12
	or	r13d, DWORD PTR 8[r15]
	cmp	QWORD PTR [r15], 0
	je	.L13
	test	rbx, rbx
	je	.L2
.L19:
	mov	rbp, rbx
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L33:
	movsx	r15, eax
	mov	BYTE PTR 0[rbp+r15], 0
	mov	rdi, QWORD PTR [r12]
	test	rdi, rdi
	jne	.L34
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR ERRCODE_INVALID_PARAMETER_VALUE[rip]
	call	errcode@PLT
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	test	rbx, rbx
	jne	.L19
.L2:
	mov	rdi, r14
	call	pfree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	xor	r13d, r13d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	convert_any_priv_string, .-convert_any_priv_string
	.comm	ERROR,4,4
	.comm	ERRCODE_INVALID_PARAMETER_VALUE,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_acl.c_convert_any_priv_string.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unrecognized privilege type: \"%s\"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert_any_priv_string, %function
convert_any_priv_string:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	bl	text_to_cstring
	subs	r8, r0, #0
	beq	.L16
	mov	r4, r8
	mov	r7, #0
	ldr	r9, .L34
.L15:
	mov	r1, #44
	mov	r0, r4
	bl	strchr
	subs	r5, r0, #0
	movne	r3, #0
	strbne	r3, [r5], #1
.L3:
	ldrb	r0, [r4]	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L4
	b	.L5
.L6:
	ldrb	r0, [r4, #1]!	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L5
.L4:
	bl	isspace
	cmp	r0, #0
	bne	.L6
.L5:
	mov	r0, r4
	bl	strlen
	subs	r10, r0, #0
	beq	.L19
	add	fp, r4, r10
	b	.L8
.L9:
	subs	r10, r10, #1
	beq	.L19
.L8:
	ldrb	r0, [fp, #-1]!	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	bne	.L9
	add	r3, r4, r10
.L7:
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [r6]
	cmp	r0, r2
	beq	.L12
	mov	r10, r6
	b	.L14
.L11:
	ldr	r0, [r10, #8]!
	cmp	r0, #0
	beq	.L12
.L14:
	mov	r1, r4
	bl	pg_strcasecmp
	cmp	r0, #0
	bne	.L11
	ldm	r10, {r2, r3}
	cmp	r2, #0
	orr	r7, r7, r3
	beq	.L12
	cmp	r5, #0
	beq	.L2
.L20:
	mov	r4, r5
	b	.L15
.L19:
	mov	r3, r4
	b	.L7
.L12:
	ldr	r3, .L34+4
	ldr	r0, [r3]
	ldr	r3, .L34+8
	ldr	r10, [r3]
	bl	errcode
	mov	r1, r4
	mov	r0, r9
	bl	errmsg
	mov	r1, r0
	mov	r0, r10
	bl	ereport
	cmp	r5, #0
	bne	.L20
.L2:
	mov	r0, r8
	bl	pfree
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r7, r8
	b	.L2
.L35:
	.align	2
.L34:
	.word	.LC0
	.word	ERRCODE_INVALID_PARAMETER_VALUE
	.word	ERROR
	.size	convert_any_priv_string, .-convert_any_priv_string
	.comm	ERROR,4,4
	.comm	ERRCODE_INVALID_PARAMETER_VALUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
