	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stop_postmaster
_stop_postmaster:                       ## @stop_postmaster
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_postmaster_running@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_3
## %bb.1:
	movq	%rsp, %r12
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	%ebx, %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_stderr@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_fflush
	movq	_bindir@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %r8
	cmoveq	%rax, %r8
	movq	_temp_instance@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_snprintf
	movq	%r14, %rdi
	callq	_system
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	%r12, %rsp
	movl	$0, (%r15)
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
LBB0_5:
	movl	%eax, %ebx
	movl	(%r13), %r14d
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	movl	%ebx, %ecx
	callq	_fprintf
	movl	$2, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_postmaster_running,4,2         ## @postmaster_running
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s%spg_ctl\" stop -D \"%s/data\" -s"

	.comm	_bindir,8,3                     ## @bindir
L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"/"

	.comm	_temp_instance,4,2              ## @temp_instance
L_.str.3:                               ## @.str.3
	.asciz	"\n%s: could not stop postmaster: exit code was %d\n"

	.comm	_progname,8,3                   ## @progname
	.no_dead_strip	_stop_postmaster
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stop_postmaster
_stop_postmaster:                       ; @stop_postmaster
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x21, _postmaster_running@GOTPAGE
Lloh4:
	ldr	x21, [x21, _postmaster_running@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x22, sp
Lloh5:
	adrp	x8, _MAXPGPATH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	w19, w8, #1
	mov	x9, x19
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh10:
	adrp	x8, _stdout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_fflush
Lloh13:
	adrp	x23, _stderr@GOTPAGE
Lloh14:
	ldr	x23, [x23, _stderr@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_fflush
Lloh15:
	adrp	x8, _bindir@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bindir@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, l_.str.1@PAGE
Lloh19:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x3, x9, x8, eq
Lloh20:
	adrp	x8, l_.str.2@PAGE
Lloh21:
	add	x8, x8, l_.str.2@PAGEOFF
	csel	x4, x9, x8, eq
Lloh22:
	adrp	x8, _temp_instance@GOTPAGE
Lloh23:
	ldr	x8, [x8, _temp_instance@GOTPAGEOFF]
Lloh24:
	ldr	w5, [x8]
Lloh25:
	adrp	x2, l_.str@PAGE
Lloh26:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	mov	x0, x20
	bl	_system
	cbnz	w0, LBB0_6
; %bb.2:
	mov	sp, x22
	str	wzr, [x21]
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
LBB0_6:
	ldr	w19, [x23]
Lloh30:
	adrp	x8, l_.str.3@PAGE
Lloh31:
	add	x8, x8, l_.str.3@PAGEOFF
	mov	x20, x0
	mov	x0, x8
	bl	__
	mov	x1, x0
Lloh32:
	adrp	x8, _progname@GOTPAGE
Lloh33:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh34:
	ldr	x2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_fprintf
	mov	w0, #2
	bl	__exit
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_postmaster_running,4,2         ; @postmaster_running
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s%spg_ctl\" stop -D \"%s/data\" -s"

	.comm	_bindir,8,3                     ; @bindir
l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"/"

	.comm	_temp_instance,4,2              ; @temp_instance
l_.str.3:                               ; @.str.3
	.asciz	"\n%s: could not stop postmaster: exit code was %d\n"

	.comm	_progname,8,3                   ; @progname
	.no_dead_strip	_stop_postmaster
.subsections_via_symbols
