	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RetrieveDataDirCreatePerm
_RetrieveDataDirCreatePerm:             ## @RetrieveDataDirCreatePerm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_Assert
	movq	%rbx, %rdi
	callq	_PQserverVersion
	movq	_MINIMUM_VERSION_FOR_GROUP_ACCESS@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	cmpq	(%rcx), %rax
	jl	LBB0_10
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQexec
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	callq	_PQntuples
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_PQnfields
	testl	%eax, %eax
	jle	LBB0_6
## %bb.7:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	leaq	L_.str.3(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movl	%eax, %edi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.9:
	movl	-28(%rbp), %edi
	callq	_SetDataDirectoryCreatePerm
	movq	%r14, %rdi
	callq	_PQclear
	movl	$1, %r15d
	jmp	LBB0_10
LBB0_2:
	movq	%rbx, %rdi
	callq	_PQerrorMessage
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pg_log_error
	jmp	LBB0_3
LBB0_6:
	movq	%r14, %rdi
	callq	_PQntuples
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_PQnfields
	leaq	L_.str.2(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	_pg_log_error
LBB0_3:
	movq	%r14, %rdi
	callq	_PQclear
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pg_log_error
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_MINIMUM_VERSION_FOR_GROUP_ACCESS,8,3 ## @MINIMUM_VERSION_FOR_GROUP_ACCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SHOW data_directory_mode"

	.comm	_PGRES_TUPLES_OK,8,3            ## @PGRES_TUPLES_OK
L_.str.1:                               ## @.str.1
	.asciz	"could not send replication command \"%s\": %s"

L_.str.2:                               ## @.str.2
	.asciz	"could not fetch group access flag: got %d rows and %d fields, expected %d rows and %d or more fields"

L_.str.3:                               ## @.str.3
	.asciz	"%o"

L_.str.4:                               ## @.str.4
	.asciz	"group access flag could not be parsed: %s"

	.no_dead_strip	_RetrieveDataDirCreatePerm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RetrieveDataDirCreatePerm
_RetrieveDataDirCreatePerm:             ; @RetrieveDataDirCreatePerm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
	mov	x0, x20
	bl	_PQserverVersion
Lloh0:
	adrp	x8, _MINIMUM_VERSION_FOR_GROUP_ACCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MINIMUM_VERSION_FOR_GROUP_ACCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_10
LBB0_2:
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_PQexec
	mov	x19, x0
	bl	_PQresultStatus
Lloh5:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_PQntuples
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_PQnfields
	cmp	w0, #0
	b.le	LBB0_8
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_PQgetvalue
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	sub	x2, x29, #36
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_11
; %bb.6:
	ldur	w0, [x29, #-36]
	bl	_SetDataDirectoryCreatePerm
	mov	x0, x19
	bl	_PQclear
	b	LBB0_1
LBB0_7:
	mov	x0, x20
	bl	_PQerrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_PQntuples
	mov	x20, x0
	mov	x0, x19
	bl	_PQnfields
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, #1
	stp	x8, x8, [sp, #16]
	stp	x20, x0, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_9:
	bl	_pg_log_error
	mov	x0, x19
	bl	_PQclear
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_PQgetvalue
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MINIMUM_VERSION_FOR_GROUP_ACCESS,8,3 ; @MINIMUM_VERSION_FOR_GROUP_ACCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SHOW data_directory_mode"

	.comm	_PGRES_TUPLES_OK,8,3            ; @PGRES_TUPLES_OK
l_.str.1:                               ; @.str.1
	.asciz	"could not send replication command \"%s\": %s"

l_.str.2:                               ; @.str.2
	.asciz	"could not fetch group access flag: got %d rows and %d fields, expected %d rows and %d or more fields"

l_.str.3:                               ; @.str.3
	.asciz	"%o"

l_.str.4:                               ; @.str.4
	.asciz	"group access flag could not be parsed: %s"

	.no_dead_strip	_RetrieveDataDirCreatePerm
.subsections_via_symbols
