	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tblspc_redo                    ## -- Begin function tblspc_redo
	.p2align	4, 0x90
_tblspc_redo:                           ## @tblspc_redo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_XLogRecGetInfo
	movq	_XLR_INFO_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	notq	%rbx
	andq	%rax, %rbx
	movq	%r14, %rdi
	callq	_XLogRecHasAnyBlockRefs
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	_XLOG_TBLSPC_CREATE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_1
## %bb.7:
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	(%rax), %rdi
	movl	8(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_create_tablespace_directories  ## TAILCALL
LBB0_1:
	movq	_XLOG_TBLSPC_DROP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	%rax, %rbx
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_destroy_tablespace_directories
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	(%rbx), %edi
	callq	_ResolveRecoveryConflictWithTablespace
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_destroy_tablespace_directories
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_elog                           ## TAILCALL
LBB0_4:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XLR_INFO_MASK,8,3              ## @XLR_INFO_MASK
	.comm	_XLOG_TBLSPC_CREATE,8,3         ## @XLOG_TBLSPC_CREATE
	.comm	_XLOG_TBLSPC_DROP,8,3           ## @XLOG_TBLSPC_DROP
	.comm	_LOG,4,2                        ## @LOG
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"directories for tablespace %u could not be removed"

L_.str.1:                               ## @.str.1
	.asciz	"You can remove the directories manually if necessary."

	.comm	_PANIC,4,2                      ## @PANIC
L_.str.2:                               ## @.str.2
	.asciz	"tblspc_redo: unknown op code %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tblspc_redo                    ; -- Begin function tblspc_redo
	.p2align	2
_tblspc_redo:                           ; @tblspc_redo
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_XLogRecGetInfo
Lloh0:
	adrp	x8, _XLR_INFO_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XLR_INFO_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	bic	x20, x0, x8
	mov	x0, x19
	bl	_XLogRecHasAnyBlockRefs
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
Lloh3:
	adrp	x8, _XLOG_TBLSPC_CREATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XLOG_TBLSPC_CREATE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_XLogRecGetData
	ldr	x8, [x0]
	ldr	w1, [x0, #8]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_create_tablespace_directories
LBB0_2:
Lloh6:
	adrp	x8, _XLOG_TBLSPC_DROP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XLOG_TBLSPC_DROP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x19, x0
	ldr	w0, [x0]
	mov	w1, #1
	bl	_destroy_tablespace_directories
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x19]
	bl	_ResolveRecoveryConflictWithTablespace
	ldr	w0, [x19]
	mov	w1, #1
	bl	_destroy_tablespace_directories
	cbz	w0, LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh9:
	adrp	x8, _PANIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_elog
LBB0_7:
Lloh14:
	adrp	x8, _LOG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	adrp	x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x19]
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ereport
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_XLR_INFO_MASK,8,3              ; @XLR_INFO_MASK
	.comm	_XLOG_TBLSPC_CREATE,8,3         ; @XLOG_TBLSPC_CREATE
	.comm	_XLOG_TBLSPC_DROP,8,3           ; @XLOG_TBLSPC_DROP
	.comm	_LOG,4,2                        ; @LOG
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"directories for tablespace %u could not be removed"

l_.str.1:                               ; @.str.1
	.asciz	"You can remove the directories manually if necessary."

	.comm	_PANIC,4,2                      ; @PANIC
l_.str.2:                               ; @.str.2
	.asciz	"tblspc_redo: unknown op code %u"

.subsections_via_symbols
