	.file	"extr_streamutil.c_RetrieveDataDirCreatePerm.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"SHOW data_directory_mode"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"could not send replication command \"%s\": %s"
	.align 8
.LC2:
	.string	"could not fetch group access flag: got %d rows and %d fields, expected %d rows and %d or more fields"
	.section	.rodata.str1.1
.LC3:
	.string	"%o"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"group access flag could not be parsed: %s"
	.text
	.p2align 4
	.type	RetrieveDataDirCreatePerm, @function
RetrieveDataDirCreatePerm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, 1
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	Assert@PLT
	mov	rdi, rbp
	call	PQserverVersion@PLT
	cmp	rax, QWORD PTR MINIMUM_VERSION_FOR_GROUP_ACCESS[rip]
	jge	.L11
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	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
.L11:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	PQexec@PLT
	mov	rdi, rax
	mov	r12, rax
	call	PQresultStatus@PLT
	cmp	rax, QWORD PTR PGRES_TUPLES_OK[rip]
	je	.L3
	mov	rdi, rbp
	xor	r13d, r13d
	call	PQerrorMessage@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	edx, eax
	xor	eax, eax
	call	pg_log_error@PLT
	mov	rdi, r12
	call	PQclear@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r12
	call	PQntuples@PLT
	cmp	eax, 1
	jne	.L5
	mov	rdi, r12
	call	PQnfields@PLT
	test	eax, eax
	jle	.L5
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r12
	call	PQgetvalue@PLT
	lea	rdx, 4[rsp]
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	sscanf@PLT
	mov	r13d, eax
	cmp	eax, 1
	je	.L6
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r12
	xor	r13d, r13d
	call	PQgetvalue@PLT
	lea	rdi, .LC4[rip]
	mov	esi, eax
	xor	eax, eax
	call	pg_log_error@PLT
	mov	rdi, r12
	call	PQclear@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r12
	call	PQnfields@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	PQntuples@PLT
	mov	edx, r13d
	xor	r13d, r13d
	mov	r8d, 1
	mov	esi, eax
	mov	ecx, 1
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	pg_log_error@PLT
	mov	rdi, r12
	call	PQclear@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR 4[rsp]
	call	SetDataDirectoryCreatePerm@PLT
	mov	rdi, r12
	call	PQclear@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	RetrieveDataDirCreatePerm, .-RetrieveDataDirCreatePerm
	.comm	PGRES_TUPLES_OK,8,8
	.comm	MINIMUM_VERSION_FOR_GROUP_ACCESS,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_streamutil.c_RetrieveDataDirCreatePerm.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SHOW data_directory_mode\000"
	.align	2
.LC1:
	.ascii	"could not send replication command \"%s\": %s\000"
	.align	2
.LC2:
	.ascii	"could not fetch group access flag: got %d rows and "
	.ascii	"%d fields, expected %d rows and %d or more fields\000"
	.align	2
.LC3:
	.ascii	"%o\000"
	.align	2
.LC4:
	.ascii	"group access flag could not be parsed: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	RetrieveDataDirCreatePerm, %function
RetrieveDataDirCreatePerm:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r3, .L13
	subs	r0, r0, #0
	movne	r0, #1
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	Assert
	mov	r0, r4
	bl	PQserverVersion
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r0, r3
	movlt	r4, #1
	bge	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	ldr	r1, .L13+8
	mov	r0, r4
	bl	PQexec
	mov	r5, r0
	bl	PQresultStatus
	ldr	r3, .L13+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L3
	mov	r0, r4
	bl	PQerrorMessage
	ldr	r1, .L13+8
	mov	r2, r0
	ldr	r0, .L13+16
	bl	pg_log_error
	mov	r0, r5
	bl	PQclear
	mov	r4, #0
	b	.L1
.L3:
	mov	r0, r5
	bl	PQntuples
	cmp	r0, #1
	bne	.L5
	mov	r0, r5
	bl	PQnfields
	cmp	r0, #0
	ble	.L5
	mov	r2, #0
	mov	r0, r5
	mov	r1, r2
	bl	PQgetvalue
	ldr	r1, .L13+20
	add	r2, sp, #8
	bl	sscanf
	cmp	r0, #1
	mov	r4, r0
	beq	.L6
	mov	r2, #0
	mov	r0, r5
	mov	r1, r2
	bl	PQgetvalue
	mov	r1, r0
	ldr	r0, .L13+24
	bl	pg_log_error
	mov	r0, r5
	bl	PQclear
	mov	r4, #0
	b	.L1
.L5:
	mov	r0, r5
	bl	PQntuples
	mov	r4, r0
	mov	r0, r5
	bl	PQnfields
	mov	r3, #1
	mov	r2, r0
	mov	r1, r4
	str	r3, [sp]
	ldr	r0, .L13+28
	bl	pg_log_error
	mov	r0, r5
	bl	PQclear
	mov	r4, #0
	b	.L1
.L6:
	ldr	r0, [sp, #8]
	bl	SetDataDirectoryCreatePerm
	mov	r0, r5
	bl	PQclear
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	MINIMUM_VERSION_FOR_GROUP_ACCESS
	.word	.LC0
	.word	PGRES_TUPLES_OK
	.word	.LC1
	.word	.LC3
	.word	.LC4
	.word	.LC2
	.size	RetrieveDataDirCreatePerm, .-RetrieveDataDirCreatePerm
	.comm	PGRES_TUPLES_OK,4,4
	.comm	MINIMUM_VERSION_FOR_GROUP_ACCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
