	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elog_start                     ## -- Begin function elog_start
	.p2align	4, 0x90
_elog_start:                            ## @elog_start
	.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
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	_ErrorContext@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r15
	movq	_errordata_stack_depth@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r12
	incq	%r12
	movq	%r12, (%rbx)
	movq	_ERRORDATA_STACK_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jl	LBB0_3
## %bb.2:
	movq	$-1, (%rbx)
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str.2(%rip), %rdi
	callq	_errmsg_internal
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	(%rbx), %r12
LBB0_3:
	movq	_errordata@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%r13, %r13
	je	LBB0_4
## %bb.5:
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	cmoveq	%r13, %rcx
	jmp	LBB0_6
LBB0_4:
	xorl	%ecx, %ecx
LBB0_6:
	leaq	(%r12,%r12,4), %rax
	movq	%rcx, (%rbx,%rax,8)
	movl	%r14d, 8(%rbx,%rax,8)
	movq	%r15, 16(%rbx,%rax,8)
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx,%rax,8)
	movq	_ErrorContext@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rbx,%rax,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testq	%r13, %r13
	leaq	L_.str.1(%rip), %rsi
	cmovneq	%r13, %rsi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	callq	_write_stderr
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_ErrorContext,8,3               ## @ErrorContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error occurred at %s:%d before error message processing is available\n"

L_.str.1:                               ## @.str.1
	.asciz	"(unknown file)"

	.comm	_errordata_stack_depth,8,3      ## @errordata_stack_depth
	.comm	_ERRORDATA_STACK_SIZE,8,3       ## @ERRORDATA_STACK_SIZE
	.comm	_PANIC,4,2                      ## @PANIC
L_.str.2:                               ## @.str.2
	.asciz	"ERRORDATA_STACK_SIZE exceeded"

	.comm	_errordata,8,3                  ## @errordata
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elog_start                     ; -- Begin function elog_start
	.p2align	2
_elog_start:                            ; @elog_start
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _ErrorContext@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ErrorContext@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x20, x2
Lloh2:
	adrp	x24, _errordata_stack_depth@GOTPAGE
Lloh3:
	ldr	x24, [x24, _errordata_stack_depth@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x22, x8, #1
	str	x22, [x24]
Lloh4:
	adrp	x8, _ERRORDATA_STACK_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERRORDATA_STACK_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x22, x8
	b.lt	LBB0_3
; %bb.2:
	mov	x8, #-1
	str	x8, [x24]
Lloh7:
	adrp	x8, _PANIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg_internal
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	ldr	x22, [x24]
LBB0_3:
Lloh12:
	adrp	x8, _errordata@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errordata@GOTPAGEOFF]
Lloh14:
	ldr	x24, [x8]
	cbz	x21, LBB0_5
; %bb.4:
	mov	x0, x21
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x8, x21, x0, eq
	b	LBB0_6
LBB0_5:
	mov	x8, #0
LBB0_6:
	mov	w9, #40
	madd	x9, x22, x9, x24
	str	x8, [x9]
	str	w19, [x9, #8]
	str	x20, [x9, #16]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x9, #32]
	ldr	x8, [x23]
	str	x8, [x9, #24]
	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_7:
Lloh18:
	adrp	x8, l_.str.1@PAGE
Lloh19:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x21, #0
	csel	x1, x8, x21, eq
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_write_stderr
	mov	w0, #2
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ErrorContext,8,3               ; @ErrorContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error occurred at %s:%d before error message processing is available\n"

l_.str.1:                               ; @.str.1
	.asciz	"(unknown file)"

	.comm	_errordata_stack_depth,8,3      ; @errordata_stack_depth
	.comm	_ERRORDATA_STACK_SIZE,8,3       ; @ERRORDATA_STACK_SIZE
	.comm	_PANIC,4,2                      ; @PANIC
l_.str.2:                               ; @.str.2
	.asciz	"ERRORDATA_STACK_SIZE exceeded"

	.comm	_errordata,8,3                  ; @errordata
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
