	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleanup_directories_atexit
_cleanup_directories_atexit:            ## @cleanup_directories_atexit
	.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	_success@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_in_log_streamer@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_2
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_noclean@GOTPCREL(%rip), %rcx
	movq	_checksum_failure@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	movq	_made_new_pgdata@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	je	LBB0_8
## %bb.3:
	movq	_found_existing_pgdata@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rcx
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_basedir@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_info
LBB0_6:
	movq	_made_new_xlogdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_found_existing_xlogdir@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_22
## %bb.7:
	movq	_xlog_dir@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_info
	jmp	LBB0_22
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	movq	_basedir@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_info
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_rmtree
	testl	%eax, %eax
	jne	LBB0_15
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_14
LBB0_11:
	movq	_found_existing_pgdata@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.12:
	movq	_basedir@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_info
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_rmtree
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
LBB0_14:
	callq	_pg_log_error
LBB0_15:
	movq	_made_new_xlogdir@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.16:
	movq	_xlog_dir@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_info
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_rmtree
	testl	%eax, %eax
	jne	LBB0_22
## %bb.17:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_21
LBB0_18:
	movq	_found_existing_xlogdir@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.19:
	movq	_xlog_dir@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_info
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_rmtree
	testl	%eax, %eax
	jne	LBB0_22
## %bb.20:
	leaq	L_.str.7(%rip), %rdi
LBB0_21:
	callq	_pg_log_error
LBB0_22:
	movq	_made_tablespace_dirs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_found_tablespace_dirs@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_1
## %bb.23:
	cmpl	$0, (%r14)
	jne	LBB0_1
## %bb.24:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pg_log_info                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_success,8,3                    ## @success
	.comm	_in_log_streamer,8,3            ## @in_log_streamer
	.comm	_noclean,4,2                    ## @noclean
	.comm	_checksum_failure,4,2           ## @checksum_failure
	.comm	_made_new_pgdata,8,3            ## @made_new_pgdata
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"removing data directory \"%s\""

	.comm	_basedir,4,2                    ## @basedir
L_.str.1:                               ## @.str.1
	.asciz	"failed to remove data directory"

	.comm	_found_existing_pgdata,8,3      ## @found_existing_pgdata
L_.str.2:                               ## @.str.2
	.asciz	"removing contents of data directory \"%s\""

L_.str.3:                               ## @.str.3
	.asciz	"failed to remove contents of data directory"

	.comm	_made_new_xlogdir,8,3           ## @made_new_xlogdir
L_.str.4:                               ## @.str.4
	.asciz	"removing WAL directory \"%s\""

	.comm	_xlog_dir,4,2                   ## @xlog_dir
L_.str.5:                               ## @.str.5
	.asciz	"failed to remove WAL directory"

	.comm	_found_existing_xlogdir,8,3     ## @found_existing_xlogdir
L_.str.6:                               ## @.str.6
	.asciz	"removing contents of WAL directory \"%s\""

L_.str.7:                               ## @.str.7
	.asciz	"failed to remove contents of WAL directory"

L_.str.8:                               ## @.str.8
	.asciz	"data directory \"%s\" not removed at user's request"

L_.str.9:                               ## @.str.9
	.asciz	"WAL directory \"%s\" not removed at user's request"

	.comm	_made_tablespace_dirs,8,3       ## @made_tablespace_dirs
	.comm	_found_tablespace_dirs,8,3      ## @found_tablespace_dirs
L_.str.10:                              ## @.str.10
	.asciz	"changes to tablespace directories will not be undone"

	.no_dead_strip	_cleanup_directories_atexit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleanup_directories_atexit
_cleanup_directories_atexit:            ; @cleanup_directories_atexit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _success@GOTPAGE
Lloh1:
	ldr	x8, [x8, _success@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _in_log_streamer@GOTPAGE
Lloh4:
	ldr	x9, [x9, _in_log_streamer@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh6:
	adrp	x8, _noclean@GOTPAGE
Lloh7:
	ldr	x8, [x8, _noclean@GOTPAGEOFF]
Lloh8:
	adrp	x19, _checksum_failure@GOTPAGE
Lloh9:
	ldr	x19, [x19, _checksum_failure@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x8]
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _made_new_pgdata@GOTPAGE
Lloh12:
	ldr	x9, [x9, _made_new_pgdata@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	orr	w10, w10, w8
	cbz	w10, LBB0_7
; %bb.3:
Lloh14:
	adrp	x10, _found_existing_pgdata@GOTPAGE
Lloh15:
	ldr	x10, [x10, _found_existing_pgdata@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	orr	x9, x9, x10
	cmp	x9, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_5
; %bb.4:
Lloh17:
	adrp	x8, _basedir@GOTPAGE
Lloh18:
	ldr	x8, [x8, _basedir@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh20:
	adrp	x0, l_.str.8@PAGE
Lloh21:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pg_log_info
LBB0_5:
Lloh22:
	adrp	x8, _made_new_xlogdir@GOTPAGE
Lloh23:
	ldr	x8, [x8, _made_new_xlogdir@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _found_existing_xlogdir@GOTPAGE
Lloh26:
	ldr	x9, [x9, _found_existing_xlogdir@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cbz	x8, LBB0_21
; %bb.6:
Lloh28:
	adrp	x8, _xlog_dir@GOTPAGE
Lloh29:
	ldr	x8, [x8, _xlog_dir@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh31:
	adrp	x0, l_.str.9@PAGE
Lloh32:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pg_log_info
	b	LBB0_21
LBB0_7:
	cbz	x9, LBB0_10
; %bb.8:
Lloh33:
	adrp	x20, _basedir@GOTPAGE
Lloh34:
	ldr	x20, [x20, _basedir@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str@PAGE
Lloh36:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_info
	ldr	w0, [x20]
	mov	w1, #1
	bl	_rmtree
	cbnz	w0, LBB0_14
; %bb.9:
Lloh37:
	adrp	x0, l_.str.1@PAGE
Lloh38:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_10:
Lloh39:
	adrp	x8, _found_existing_pgdata@GOTPAGE
Lloh40:
	ldr	x8, [x8, _found_existing_pgdata@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.11:
Lloh42:
	adrp	x20, _basedir@GOTPAGE
Lloh43:
	ldr	x20, [x20, _basedir@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh44:
	adrp	x0, l_.str.2@PAGE
Lloh45:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pg_log_info
	ldr	w0, [x20]
	mov	w1, #0
	bl	_rmtree
	cbnz	w0, LBB0_14
; %bb.12:
Lloh46:
	adrp	x0, l_.str.3@PAGE
Lloh47:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_13:
	bl	_pg_log_error
LBB0_14:
Lloh48:
	adrp	x8, _made_new_xlogdir@GOTPAGE
Lloh49:
	ldr	x8, [x8, _made_new_xlogdir@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.15:
Lloh51:
	adrp	x20, _xlog_dir@GOTPAGE
Lloh52:
	ldr	x20, [x20, _xlog_dir@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh53:
	adrp	x0, l_.str.4@PAGE
Lloh54:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pg_log_info
	ldr	w0, [x20]
	mov	w1, #1
	bl	_rmtree
	cbnz	w0, LBB0_21
; %bb.16:
Lloh55:
	adrp	x0, l_.str.5@PAGE
Lloh56:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_20
LBB0_17:
Lloh57:
	adrp	x8, _found_existing_xlogdir@GOTPAGE
Lloh58:
	ldr	x8, [x8, _found_existing_xlogdir@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %bb.18:
Lloh60:
	adrp	x20, _xlog_dir@GOTPAGE
Lloh61:
	ldr	x20, [x20, _xlog_dir@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh62:
	adrp	x0, l_.str.6@PAGE
Lloh63:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pg_log_info
	ldr	w0, [x20]
	mov	w1, #0
	bl	_rmtree
	cbnz	w0, LBB0_21
; %bb.19:
Lloh64:
	adrp	x0, l_.str.7@PAGE
Lloh65:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_20:
	bl	_pg_log_error
LBB0_21:
Lloh66:
	adrp	x8, _made_tablespace_dirs@GOTPAGE
Lloh67:
	ldr	x8, [x8, _made_tablespace_dirs@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
Lloh69:
	adrp	x9, _found_tablespace_dirs@GOTPAGE
Lloh70:
	ldr	x9, [x9, _found_tablespace_dirs@GOTPAGEOFF]
Lloh71:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cbz	x8, LBB0_1
; %bb.22:
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
; %bb.23:
Lloh72:
	adrp	x0, l_.str.10@PAGE
Lloh73:
	add	x0, x0, l_.str.10@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_pg_log_info
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_success,8,3                    ; @success
	.comm	_in_log_streamer,8,3            ; @in_log_streamer
	.comm	_noclean,4,2                    ; @noclean
	.comm	_checksum_failure,4,2           ; @checksum_failure
	.comm	_made_new_pgdata,8,3            ; @made_new_pgdata
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"removing data directory \"%s\""

	.comm	_basedir,4,2                    ; @basedir
l_.str.1:                               ; @.str.1
	.asciz	"failed to remove data directory"

	.comm	_found_existing_pgdata,8,3      ; @found_existing_pgdata
l_.str.2:                               ; @.str.2
	.asciz	"removing contents of data directory \"%s\""

l_.str.3:                               ; @.str.3
	.asciz	"failed to remove contents of data directory"

	.comm	_made_new_xlogdir,8,3           ; @made_new_xlogdir
l_.str.4:                               ; @.str.4
	.asciz	"removing WAL directory \"%s\""

	.comm	_xlog_dir,4,2                   ; @xlog_dir
l_.str.5:                               ; @.str.5
	.asciz	"failed to remove WAL directory"

	.comm	_found_existing_xlogdir,8,3     ; @found_existing_xlogdir
l_.str.6:                               ; @.str.6
	.asciz	"removing contents of WAL directory \"%s\""

l_.str.7:                               ; @.str.7
	.asciz	"failed to remove contents of WAL directory"

l_.str.8:                               ; @.str.8
	.asciz	"data directory \"%s\" not removed at user's request"

l_.str.9:                               ; @.str.9
	.asciz	"WAL directory \"%s\" not removed at user's request"

	.comm	_made_tablespace_dirs,8,3       ; @made_tablespace_dirs
	.comm	_found_tablespace_dirs,8,3      ; @found_tablespace_dirs
l_.str.10:                              ; @.str.10
	.asciz	"changes to tablespace directories will not be undone"

	.no_dead_strip	_cleanup_directories_atexit
.subsections_via_symbols
