	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_csvlog
_write_csvlog:                          ## @write_csvlog
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MyProcPid@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	%eax, _write_csvlog.log_my_pid(%rip)
	jne	LBB0_2
## %bb.1:
	movq	_write_csvlog.log_line_number(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movl	%eax, _write_csvlog.log_my_pid(%rip)
	movq	_formatted_start_time@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%rax)
	xorl	%eax, %eax
LBB0_3:
	incq	%rax
	movq	%rax, _write_csvlog.log_line_number(%rip)
	leaq	-48(%rbp), %rdi
	callq	_initStringInfo
	movq	_formatted_log_time@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	cmpb	$0, (%rsi)
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_setup_formatted_log_time
	movq	(%rbx), %rsi
LBB0_5:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_appendStringInfoString
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	_MyProcPort@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	24(%rax), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendCSVLiteral
LBB0_7:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	16(%rax), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendCSVLiteral
LBB0_9:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movslq	(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%eax, %eax
	callq	_appendStringInfo
LBB0_11:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.12:
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.13:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$34, %esi
	callq	_appendStringInfoChar
	movq	(%r12), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_appendStringInfoString
	movq	(%r12), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	cmpb	$0, (%rax)
	je	LBB0_16
## %bb.15:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_appendStringInfoChar
	movq	(%r12), %rax
	movq	8(%rax), %rsi
	movq	%rbx, %rdi
	callq	_appendStringInfoString
LBB0_16:
	leaq	-48(%rbp), %rdi
	movl	$34, %esi
	callq	_appendStringInfoChar
LBB0_17:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	_MyStartTime@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_appendStringInfo
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	_write_csvlog.log_line_number(%rip), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_appendStringInfo
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	cmpq	$0, (%r12)
	je	LBB0_19
## %bb.18:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_initStringInfo
	leaq	-68(%rbp), %rdi
	callq	_get_ps_display
	movl	-68(%rbp), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_appendBinaryStringInfo
	movq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendCSVLiteral
	movq	-64(%rbp), %rdi
	callq	_pfree
LBB0_19:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	_formatted_start_time@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	cmpb	$0, (%rsi)
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	callq	_setup_formatted_start_time
	movq	(%rbx), %rsi
LBB0_21:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_appendStringInfoString
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	_MyProc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:
	movq	(%rax), %rdx
	movq	_InvalidBackendId@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_24
## %bb.23:
	movl	8(%rax), %ecx
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%eax, %eax
	callq	_appendStringInfo
LBB0_24:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	xorl	%eax, %eax
	callq	_GetTopTransactionIdIfAny
	movslq	%eax, %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_appendStringInfo
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movl	20(%r14), %edi
	callq	_error_severity
	movl	%eax, %edi
	callq	__
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_appendStringInfoString
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movl	80(%r14), %edi
	callq	_unpack_sql_state
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_appendStringInfoString
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	72(%r14), %rsi
	movq	%rbx, %rdi
	callq	_appendCSVLiteral
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	64(%r14), %rsi
	testq	%rsi, %rsi
	jne	LBB0_26
## %bb.25:
	movq	56(%r14), %rsi
LBB0_26:
	leaq	-48(%rbp), %rdi
	callq	_appendCSVLiteral
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	48(%r14), %rsi
	movq	%rbx, %rdi
	callq	_appendCSVLiteral
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	40(%r14), %rsi
	movq	%rbx, %rdi
	callq	_appendCSVLiteral
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movl	36(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_29
## %bb.27:
	cmpq	$0, 40(%r14)
	je	LBB0_29
## %bb.28:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%eax, %eax
	callq	_appendStringInfo
LBB0_29:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	cmpl	$0, 32(%r14)
	jne	LBB0_31
## %bb.30:
	movq	24(%r14), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendCSVLiteral
LBB0_31:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movl	20(%r14), %edi
	movq	_log_min_error_statement@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_is_log_level_output
	testq	%rax, %rax
	je	LBB0_36
## %bb.32:
	movq	_debug_query_string@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_36
## %bb.33:
	cmpl	$0, 16(%r14)
	je	LBB0_34
LBB0_36:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
LBB0_37:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	_Log_error_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PGERROR_VERBOSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_44
## %bb.38:
	leaq	-64(%rbp), %rdi
	callq	_initStringInfo
	movslq	8(%r14), %rdx
	movslq	(%r14), %rcx
	testq	%rdx, %rdx
	je	LBB0_41
## %bb.39:
	testl	%ecx, %ecx
	je	LBB0_43
## %bb.40:
	movl	4(%r14), %r8d
	leaq	L_.str.5(%rip), %rsi
	leaq	-64(%rbp), %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_appendStringInfo
	jmp	LBB0_43
LBB0_34:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_appendCSVLiteral
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movl	12(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_37
## %bb.35:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%eax, %eax
	callq	_appendStringInfo
	jmp	LBB0_37
LBB0_41:
	testl	%ecx, %ecx
	je	LBB0_43
## %bb.42:
	movl	4(%r14), %eax
	leaq	L_.str.6(%rip), %rsi
	leaq	-64(%rbp), %rdi
	movq	%rcx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_appendStringInfo
LBB0_43:
	movq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendCSVLiteral
	movq	-64(%rbp), %rdi
	callq	_pfree
LBB0_44:
	leaq	-48(%rbp), %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movq	_application_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_46
## %bb.45:
	leaq	-48(%rbp), %rdi
	callq	_appendCSVLiteral
LBB0_46:
	leaq	-48(%rbp), %rdi
	movl	$10, %esi
	callq	_appendStringInfoChar
	movq	_am_syslogger@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-48(%rbp), %rdi
	movl	-40(%rbp), %esi
	movq	_LOG_DESTINATION_CSVLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	je	LBB0_48
## %bb.47:
	callq	_write_syslogger_file
	jmp	LBB0_49
LBB0_48:
	callq	_write_pipe_chunks
LBB0_49:
	movq	-48(%rbp), %rdi
	callq	_pfree
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_write_csvlog.log_line_number,8,3 ## @write_csvlog.log_line_number
.zerofill __DATA,__bss,_write_csvlog.log_my_pid,4,2 ## @write_csvlog.log_my_pid
	.comm	_MyProcPid,4,2                  ## @MyProcPid
	.comm	_formatted_start_time,8,3       ## @formatted_start_time
	.comm	_formatted_log_time,8,3         ## @formatted_log_time
	.comm	_MyProcPort,8,3                 ## @MyProcPort
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	"%lx.%x"

	.comm	_MyStartTime,8,3                ## @MyStartTime
L_.str.2:                               ## @.str.2
	.asciz	"%ld"

	.comm	_MyProc,8,3                     ## @MyProc
	.comm	_InvalidBackendId,8,3           ## @InvalidBackendId
L_.str.3:                               ## @.str.3
	.asciz	"%d/%u"

L_.str.4:                               ## @.str.4
	.asciz	"%u"

	.comm	_log_min_error_statement,4,2    ## @log_min_error_statement
	.comm	_debug_query_string,8,3         ## @debug_query_string
	.comm	_Log_error_verbosity,8,3        ## @Log_error_verbosity
	.comm	_PGERROR_VERBOSE,8,3            ## @PGERROR_VERBOSE
L_.str.5:                               ## @.str.5
	.asciz	"%s, %s:%d"

L_.str.6:                               ## @.str.6
	.asciz	"%s:%d"

	.comm	_application_name,8,3           ## @application_name
	.comm	_am_syslogger,8,3               ## @am_syslogger
	.comm	_LOG_DESTINATION_CSVLOG,4,2     ## @LOG_DESTINATION_CSVLOG
	.no_dead_strip	_write_csvlog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_csvlog
_write_csvlog:                          ; @write_csvlog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x0
Lloh0:
	adrp	x22, _MyProcPid@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MyProcPid@GOTPAGEOFF]
	adrp	x9, _write_csvlog.log_my_pid@PAGE
	ldr	w8, [x9, _write_csvlog.log_my_pid@PAGEOFF]
	ldr	w10, [x22]
Lloh2:
	adrp	x20, _formatted_start_time@GOTPAGE
Lloh3:
	ldr	x20, [x20, _formatted_start_time@GOTPAGEOFF]
	adrp	x21, _write_csvlog.log_line_number@PAGE
	cmp	w8, w10
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21, _write_csvlog.log_line_number@PAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
	str	w10, [x9, _write_csvlog.log_my_pid@PAGEOFF]
	ldr	x9, [x20]
	strb	wzr, [x9]
LBB0_3:
	add	x8, x8, #1
	str	x8, [x21, _write_csvlog.log_line_number@PAGEOFF]
	add	x0, sp, #48
	bl	_initStringInfo
Lloh4:
	adrp	x23, _formatted_log_time@GOTPAGE
Lloh5:
	ldr	x23, [x23, _formatted_log_time@GOTPAGEOFF]
	ldr	x1, [x23]
	ldrb	w8, [x1]
	cbnz	w8, LBB0_5
; %bb.4:
	bl	_setup_formatted_log_time
	ldr	x1, [x23]
LBB0_5:
	add	x0, sp, #48
	bl	_appendStringInfoString
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
Lloh6:
	adrp	x23, _MyProcPort@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MyProcPort@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x1, [x8, #24]
	add	x0, sp, #48
	bl	_appendCSVLiteral
LBB0_7:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x8, [x23]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x1, [x8, #16]
	add	x0, sp, #48
	bl	_appendCSVLiteral
LBB0_9:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldrsw	x2, [x22]
	cbz	w2, LBB0_11
; %bb.10:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #48
	bl	_appendStringInfo
LBB0_11:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x8, [x23]
	cbz	x8, LBB0_17
; %bb.12:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.13:
	add	x0, sp, #48
	mov	w1, #34
	bl	_appendStringInfoChar
	ldr	x8, [x23]
	ldr	x1, [x8]
	add	x0, sp, #48
	bl	_appendStringInfoString
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_16
; %bb.14:
	ldrb	w8, [x8]
	cbz	w8, LBB0_16
; %bb.15:
	add	x0, sp, #48
	mov	w1, #58
	bl	_appendStringInfoChar
	ldr	x8, [x23]
	ldr	x1, [x8, #8]
	add	x0, sp, #48
	bl	_appendStringInfoString
LBB0_16:
	add	x0, sp, #48
	mov	w1, #34
	bl	_appendStringInfoChar
LBB0_17:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
Lloh10:
	adrp	x8, _MyStartTime@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MyStartTime@GOTPAGEOFF]
Lloh12:
	ldr	x2, [x8]
	ldr	w8, [x22]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #48
	bl	_appendStringInfo
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x2, [x21, _write_csvlog.log_line_number@PAGEOFF]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #48
	bl	_appendStringInfo
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x8, [x23]
	cbz	x8, LBB0_19
; %bb.18:
	add	x0, sp, #32
	bl	_initStringInfo
	add	x0, sp, #28
	bl	_get_ps_display
	mov	x1, x0
	ldr	w2, [sp, #28]
	add	x0, sp, #32
	bl	_appendBinaryStringInfo
	ldr	x1, [sp, #32]
	add	x0, sp, #48
	bl	_appendCSVLiteral
	ldr	x0, [sp, #32]
	bl	_pfree
LBB0_19:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x1, [x20]
	ldrb	w8, [x1]
	cbnz	w8, LBB0_21
; %bb.20:
	bl	_setup_formatted_start_time
	ldr	x1, [x20]
LBB0_21:
	add	x0, sp, #48
	bl	_appendStringInfoString
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
Lloh17:
	adrp	x8, _MyProc@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MyProc@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cbz	x8, LBB0_24
; %bb.22:
	ldr	x2, [x8]
Lloh20:
	adrp	x9, _InvalidBackendId@GOTPAGE
Lloh21:
	ldr	x9, [x9, _InvalidBackendId@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x2, x9
	b.eq	LBB0_24
; %bb.23:
	ldr	w8, [x8, #8]
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #48
	bl	_appendStringInfo
LBB0_24:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	bl	_GetTopTransactionIdIfAny
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #48
	bl	_appendStringInfo
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	w0, [x19, #20]
	bl	_error_severity
	bl	__
	mov	x1, x0
	add	x0, sp, #48
	bl	_appendStringInfoString
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	w0, [x19, #80]
	bl	_unpack_sql_state
	mov	x1, x0
	add	x0, sp, #48
	bl	_appendStringInfoString
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x1, [x19, #72]
	add	x0, sp, #48
	bl	_appendCSVLiteral
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x1, [x19, #64]
	cbnz	x1, LBB0_26
; %bb.25:
	ldr	x1, [x19, #56]
LBB0_26:
	add	x0, sp, #48
	bl	_appendCSVLiteral
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x1, [x19, #48]
	add	x0, sp, #48
	bl	_appendCSVLiteral
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	x1, [x19, #40]
	add	x0, sp, #48
	bl	_appendCSVLiteral
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	w2, [x19, #36]
	cmp	w2, #1
	b.lt	LBB0_29
; %bb.27:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_29
; %bb.28:
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #48
	bl	_appendStringInfo
LBB0_29:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_31
; %bb.30:
	ldr	x1, [x19, #24]
	add	x0, sp, #48
	bl	_appendCSVLiteral
LBB0_31:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	w0, [x19, #20]
Lloh29:
	adrp	x8, _log_min_error_statement@GOTPAGE
Lloh30:
	ldr	x8, [x8, _log_min_error_statement@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_is_log_level_output
	cbz	x0, LBB0_34
; %bb.32:
Lloh32:
	adrp	x8, _debug_query_string@GOTPAGE
Lloh33:
	ldr	x8, [x8, _debug_query_string@GOTPAGEOFF]
Lloh34:
	ldr	x1, [x8]
	cbz	x1, LBB0_34
; %bb.33:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_39
LBB0_34:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
LBB0_35:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
Lloh35:
	adrp	x8, _Log_error_verbosity@GOTPAGE
Lloh36:
	ldr	x8, [x8, _Log_error_verbosity@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
Lloh38:
	adrp	x9, _PGERROR_VERBOSE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _PGERROR_VERBOSE@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_45
; %bb.36:
	add	x0, sp, #32
	bl	_initStringInfo
	ldrsw	x8, [x19, #8]
	ldrsw	x2, [x19]
	cbz	w8, LBB0_41
; %bb.37:
	cbz	w2, LBB0_44
; %bb.38:
	ldr	w9, [x19, #4]
	stp	x2, x9, [sp]
Lloh41:
	adrp	x1, l_.str.5@PAGE
Lloh42:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #32
	mov	x2, x8
	b	LBB0_43
LBB0_39:
	add	x0, sp, #48
	bl	_appendCSVLiteral
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	w2, [x19, #12]
	cmp	w2, #1
	b.lt	LBB0_35
; %bb.40:
Lloh43:
	adrp	x1, l_.str@PAGE
Lloh44:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #48
	bl	_appendStringInfo
	b	LBB0_35
LBB0_41:
	cbz	w2, LBB0_44
; %bb.42:
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str.6@PAGE
Lloh46:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #32
LBB0_43:
	bl	_appendStringInfo
LBB0_44:
	ldr	x1, [sp, #32]
	add	x0, sp, #48
	bl	_appendCSVLiteral
	ldr	x0, [sp, #32]
	bl	_pfree
LBB0_45:
	add	x0, sp, #48
	mov	w1, #44
	bl	_appendStringInfoChar
Lloh47:
	adrp	x8, _application_name@GOTPAGE
Lloh48:
	ldr	x8, [x8, _application_name@GOTPAGEOFF]
Lloh49:
	ldr	x1, [x8]
	cbz	x1, LBB0_47
; %bb.46:
	add	x0, sp, #48
	bl	_appendCSVLiteral
LBB0_47:
	add	x0, sp, #48
	mov	w1, #10
	bl	_appendStringInfoChar
Lloh50:
	adrp	x8, _am_syslogger@GOTPAGE
Lloh51:
	ldr	x8, [x8, _am_syslogger@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	ldr	x0, [sp, #48]
	ldr	w1, [sp, #56]
Lloh53:
	adrp	x9, _LOG_DESTINATION_CSVLOG@GOTPAGE
Lloh54:
	ldr	x9, [x9, _LOG_DESTINATION_CSVLOG@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x9]
	cbz	x8, LBB0_49
; %bb.48:
	bl	_write_syslogger_file
	b	LBB0_50
LBB0_49:
	bl	_write_pipe_chunks
LBB0_50:
	ldr	x0, [sp, #48]
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_write_csvlog.log_line_number,8,3 ; @write_csvlog.log_line_number
.zerofill __DATA,__bss,_write_csvlog.log_my_pid,4,2 ; @write_csvlog.log_my_pid
	.comm	_MyProcPid,4,2                  ; @MyProcPid
	.comm	_formatted_start_time,8,3       ; @formatted_start_time
	.comm	_formatted_log_time,8,3         ; @formatted_log_time
	.comm	_MyProcPort,8,3                 ; @MyProcPort
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	"%lx.%x"

	.comm	_MyStartTime,8,3                ; @MyStartTime
l_.str.2:                               ; @.str.2
	.asciz	"%ld"

	.comm	_MyProc,8,3                     ; @MyProc
	.comm	_InvalidBackendId,8,3           ; @InvalidBackendId
l_.str.3:                               ; @.str.3
	.asciz	"%d/%u"

l_.str.4:                               ; @.str.4
	.asciz	"%u"

	.comm	_log_min_error_statement,4,2    ; @log_min_error_statement
	.comm	_debug_query_string,8,3         ; @debug_query_string
	.comm	_Log_error_verbosity,8,3        ; @Log_error_verbosity
	.comm	_PGERROR_VERBOSE,8,3            ; @PGERROR_VERBOSE
l_.str.5:                               ; @.str.5
	.asciz	"%s, %s:%d"

l_.str.6:                               ; @.str.6
	.asciz	"%s:%d"

	.comm	_application_name,8,3           ; @application_name
	.comm	_am_syslogger,8,3               ; @am_syslogger
	.comm	_LOG_DESTINATION_CSVLOG,4,2     ; @LOG_DESTINATION_CSVLOG
	.no_dead_strip	_write_csvlog
.subsections_via_symbols
