	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_tablespace_map
_read_tablespace_map:                   ## @read_tablespace_map
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_TABLESPACE_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_AllocateFile
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_fgetc
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
LBB0_12:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_FreeFile
	testq	%rax, %rax
	je	LBB0_15
LBB0_14:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movq	_TABLESPACE_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_15:
	movl	$1, %ebx
	jmp	LBB0_5
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movq	_TABLESPACE_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.18:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$-1, %r13d
	xorl	%ebx, %ebx
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%eax, %r13d
	movl	%ebx, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	movslq	-68(%rbp), %rbx
	addq	%r15, %rbx
	movl	$16, %edi
	callq	_palloc
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_pstrdup
	movq	%rax, 8(%r13)
	movq	%rbx, %rdi
	callq	_pstrdup
	movq	%rax, (%r13)
	movq	(%r14), %rdi
	movq	%r13, %rsi
	callq	_lappend
	movq	%rax, (%r14)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_fgetc
	movl	%eax, %r13d
	xorl	%eax, %eax
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	je	LBB0_12
LBB0_7:                                 ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$10, %r13d
	sete	%dl
	cmpl	$13, %r13d
	sete	%cl
	orb	%dl, %cl
	cmpb	$1, %cl
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$92, -52(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	cltq
	movb	$0, (%r15,%rax)
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	leaq	-68(%rbp), %rcx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	_TABLESPACE_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpl	$92, -52(%rbp)                  ## 4-byte Folded Reload
	sete	%dl
	andb	%dl, %cl
	movzbl	%cl, %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	xorb	$1, %cl
	movzbl	%cl, %ebx
	addl	%eax, %ebx
	movslq	%edx, %rax
	movb	%r13b, (%r15,%rax)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_fgetc
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
	jmp	LBB0_12
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.comm	_TABLESPACE_MAP,4,2             ## @TABLESPACE_MAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.1:                               ## @.str.1
	.asciz	"could not read file \"%s\": %m"

	.comm	_EOF,4,2                        ## @EOF
L_.str.2:                               ## @.str.2
	.asciz	"%s %n"

	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
L_.str.3:                               ## @.str.3
	.asciz	"invalid data in file \"%s\""

	.no_dead_strip	_read_tablespace_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_tablespace_map
_read_tablespace_map:                   ; @read_tablespace_map
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPGPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x1fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
Lloh10:
	adrp	x8, _TABLESPACE_MAP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TABLESPACE_MAP@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocateFile
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	bl	_fgetc
Lloh15:
	adrp	x28, _EOF@GOTPAGE
Lloh16:
	ldr	x28, [x28, _EOF@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_11
LBB0_2:
	mov	x0, x22
	bl	_ferror
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_FreeFile
	cbz	x0, LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _FATAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
	bl	_errcode_for_file_access
Lloh20:
	adrp	x8, _TABLESPACE_MAP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TABLESPACE_MAP@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_5:
	mov	w0, #1
	b	LBB0_9
LBB0_6:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _ENOENT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
Lloh31:
	adrp	x8, _FATAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh33:
	ldr	w19, [x8]
	bl	_errcode_for_file_access
Lloh34:
	adrp	x8, _TABLESPACE_MAP@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TABLESPACE_MAP@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x0, l_.str.1@PAGE
Lloh38:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.10:
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w26, #0
	mov	w25, #-1
Lloh42:
	adrp	x23, l_.str.2@PAGE
Lloh43:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh44:
	adrp	x24, l_.str.3@PAGE
Lloh45:
	add	x24, x24, l_.str.3@PAGEOFF
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	mov	x27, x25
	mov	x25, x0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	ldursw	x8, [x29, #-92]
	add	x25, x21, x8
	mov	w0, #16
	bl	_palloc
	mov	x26, x0
	mov	x0, x20
	bl	_pstrdup
	str	x0, [x26, #8]
	mov	x0, x25
	bl	_pstrdup
	str	x0, [x26]
	ldr	x0, [x19]
	mov	x1, x26
	bl	_lappend
	str	x0, [x19]
	mov	x0, x22
	bl	_fgetc
	mov	x25, x0
	mov	w26, #0
	ldr	w8, [x28]
	cmp	w0, w8
	b.eq	LBB0_2
LBB0_14:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w25, #10
	ccmp	w25, #13, #4, ne
	cset	w8, eq
	b.ne	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	cmp	w27, #92
	b.eq	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	strb	wzr, [x21, w26, sxtw]
	sub	x3, x29, #92
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=2
Lloh46:
	adrp	x8, _FATAL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh48:
	ldr	w25, [x8]
Lloh49:
	adrp	x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_errcode
Lloh52:
	adrp	x8, _TABLESPACE_MAP@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TABLESPACE_MAP@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
	b	LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	w27, #92
	cset	w9, eq
	and	w8, w8, w9
	sxtw	x9, w26
	sub	x9, x9, x8
	eor	w8, w8, #0x1
	add	w26, w26, w8
	strb	w25, [x21, x9]
	mov	x0, x22
	bl	_fgetc
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_12
	b	LBB0_2
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.comm	_TABLESPACE_MAP,4,2             ; @TABLESPACE_MAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.1:                               ; @.str.1
	.asciz	"could not read file \"%s\": %m"

	.comm	_EOF,4,2                        ; @EOF
l_.str.2:                               ; @.str.2
	.asciz	"%s %n"

	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
l_.str.3:                               ; @.str.3
	.asciz	"invalid data in file \"%s\""

	.no_dead_strip	_read_tablespace_map
.subsections_via_symbols
