	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_auto_conf_file
_write_auto_conf_file:                  ## @write_auto_conf_file
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_initStringInfo
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_appendStringInfoString
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_appendStringInfoString
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	-48(%rbp), %esi
	movq	-56(%rbp), %rdx
	movl	%r15d, %edi
	callq	_write
	cmpq	-56(%rbp), %rax
	je	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.2(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.5:
	leaq	-56(%rbp), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.2(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_resetStringInfo
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_appendStringInfoString
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_appendStringInfoString
	movl	8(%rbx), %edi
	callq	_escape_single_quotes_ascii
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_appendStringInfoString
	movq	%r13, %rdi
	callq	_free
	movq	%r12, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_appendStringInfoString
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	-48(%rbp), %esi
	movq	-56(%rbp), %rdx
	movl	%r15d, %edi
	callq	_write
	cmpq	-56(%rbp), %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_11
LBB0_13:
	movl	%r15d, %edi
	callq	_pg_fsync
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.6(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_15:
	movl	-48(%rbp), %edi
	callq	_pfree
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"# Do not edit this file manually!\n"

L_.str.1:                               ## @.str.1
	.asciz	"# It will be overwritten by the ALTER SYSTEM command.\n"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOSPC,8,3                     ## @ENOSPC
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.2:                               ## @.str.2
	.asciz	"could not write to file \"%s\": %m"

L_.str.3:                               ## @.str.3
	.asciz	" = '"

	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ## @ERRCODE_OUT_OF_MEMORY
L_.str.4:                               ## @.str.4
	.asciz	"out of memory"

L_.str.5:                               ## @.str.5
	.asciz	"'\n"

L_.str.6:                               ## @.str.6
	.asciz	"could not fsync file \"%s\": %m"

	.no_dead_strip	_write_auto_conf_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_auto_conf_file
_write_auto_conf_file:                  ; @write_auto_conf_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #16
	bl	_initStringInfo
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #16
	bl	_appendStringInfoString
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	bl	_appendStringInfoString
Lloh4:
	adrp	x28, _errno@GOTPAGE
Lloh5:
	ldr	x28, [x28, _errno@GOTPAGEOFF]
	str	xzr, [x28]
	ldr	w1, [sp, #24]
	ldr	x2, [sp, #16]
	mov	x0, x20
	bl	_write
	ldr	x8, [sp, #16]
Lloh6:
	adrp	x23, _ERROR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x28]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x28]
LBB0_3:
	ldr	w22, [x23]
	bl	_errcode_for_file_access
	str	x19, [sp]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_4:
	cbz	x21, LBB0_13
; %bb.5:
Lloh13:
	adrp	x22, l_.str.3@PAGE
Lloh14:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh15:
	adrp	x24, l_.str.5@PAGE
Lloh16:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh17:
	adrp	x25, l_.str.2@PAGE
Lloh18:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w26, [x23]
	bl	_errcode_for_file_access
	str	x19, [sp]
	mov	x0, x25
	bl	_errmsg
	mov	x1, x0
	mov	x0, x26
	bl	_ereport
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	bl	_resetStringInfo
	ldr	x1, [x21]
	add	x0, sp, #16
	bl	_appendStringInfoString
	add	x0, sp, #16
	mov	x1, x22
	bl	_appendStringInfoString
	ldr	w0, [x21, #8]
	bl	_escape_single_quotes_ascii
	mov	x26, x0
	cbnz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w27, [x23]
Lloh19:
	adrp	x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_errcode
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #16
	mov	x1, x26
	bl	_appendStringInfoString
	mov	x0, x26
	bl	_free
	add	x0, sp, #16
	mov	x1, x24
	bl	_appendStringInfoString
	str	xzr, [x28]
	ldr	w1, [sp, #24]
	ldr	x2, [sp, #16]
	mov	x0, x20
	bl	_write
	ldr	x8, [sp, #16]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x28]
	cbnz	x8, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh24:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	str	x8, [x28]
	b	LBB0_6
LBB0_13:
	mov	x0, x20
	bl	_pg_fsync
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w20, [x23]
	bl	_errcode_for_file_access
	str	x19, [sp]
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_15:
	ldr	w0, [sp, #24]
	bl	_pfree
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"# Do not edit this file manually!\n"

l_.str.1:                               ; @.str.1
	.asciz	"# It will be overwritten by the ALTER SYSTEM command.\n"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOSPC,8,3                     ; @ENOSPC
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.2:                               ; @.str.2
	.asciz	"could not write to file \"%s\": %m"

l_.str.3:                               ; @.str.3
	.asciz	" = '"

	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ; @ERRCODE_OUT_OF_MEMORY
l_.str.4:                               ; @.str.4
	.asciz	"out of memory"

l_.str.5:                               ; @.str.5
	.asciz	"'\n"

l_.str.6:                               ; @.str.6
	.asciz	"could not fsync file \"%s\": %m"

	.no_dead_strip	_write_auto_conf_file
.subsections_via_symbols
