	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elog_finish                    ## -- Begin function elog_finish
	.p2align	4, 0x90
_elog_finish:                           ## @elog_finish
	.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	%rsi, %r14
	movl	%edi, %r15d
	movq	_errordata@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_errordata_stack_depth@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	leaq	(%rax,%rax,2), %rbx
	shlq	$4, %rbx
	xorl	%eax, %eax
	callq	_CHECK_STACK_DEPTH
	decq	(%r12)
	movl	40(%r13,%rbx), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	36(%r13,%rbx), %esi
	movl	32(%r13,%rbx), %edx
	movq	16(%r13,%rbx), %rcx
	movl	%r15d, %edi
	xorl	%r8d, %r8d
	callq	_errstart
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	leaq	(%rbx,%r13), %r12
	movq	_recursion_depth@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	28(%r13,%rbx), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r15d
	cmpl	$0, 24(%r13,%rbx)
	jne	LBB0_5
## %bb.2:
	leaq	(%rbx,%r13), %rax
	addq	$16, %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	callq	_matches_backtrace_functions
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_set_backtrace
LBB0_5:
	movq	%r14, (%r12)
	movl	8(%r13,%rbx), %edi
	movq	_message@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_EVALUATE_MESSAGE
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
	movq	_recursion_depth@GOTPCREL(%rip), %rax
	decl	(%rax)
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_errfinish                      ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errordata,8,3                  ## @errordata
	.comm	_errordata_stack_depth,8,3      ## @errordata_stack_depth
	.comm	_errno,4,2                      ## @errno
	.comm	_recursion_depth,4,2            ## @recursion_depth
	.comm	_message,4,2                    ## @message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elog_finish                    ; -- Begin function elog_finish
	.p2align	2
_elog_finish:                           ; @elog_finish
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _errordata@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errordata@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x24, _errordata_stack_depth@GOTPAGE
Lloh4:
	ldr	x24, [x24, _errordata_stack_depth@GOTPAGEOFF]
	ldr	x23, [x24]
	mov	w8, #48
	madd	x20, x23, x8, x22
	bl	_CHECK_STACK_DEPTH
	ldr	x8, [x24]
	sub	x8, x8, #1
	str	x8, [x24]
	ldr	w8, [x20, #40]
Lloh5:
	adrp	x9, _errno@GOTPAGE
Lloh6:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
	ldp	w2, w1, [x20, #32]
	mov	x25, x20
	ldr	x3, [x25, #16]!
	mov	x0, x21
	mov	x4, #0
	bl	_errstart
	cbz	w0, LBB0_6
; %bb.1:
Lloh8:
	adrp	x24, _recursion_depth@GOTPAGE
Lloh9:
	ldr	x24, [x24, _recursion_depth@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
	mov	w8, #48
	madd	x26, x23, x8, x22
	ldr	w0, [x26, #28]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	ldr	w8, [x26, #24]
	cbnz	w8, LBB0_5
; %bb.2:
	ldr	x0, [x25]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_matches_backtrace_functions
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #2
	bl	_set_backtrace
LBB0_5:
	str	x19, [x20]
	mov	w8, #48
	madd	x8, x23, x8, x22
	ldr	w0, [x8, #8]
Lloh10:
	adrp	x8, _message@GOTPAGE
Lloh11:
	ldr	x8, [x8, _message@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_EVALUATE_MESSAGE
	mov	x0, x21
	bl	_MemoryContextSwitchTo
	ldr	w8, [x24]
	sub	w8, w8, #1
	str	w8, [x24]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_errfinish
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_errordata,8,3                  ; @errordata
	.comm	_errordata_stack_depth,8,3      ; @errordata_stack_depth
	.comm	_errno,4,2                      ; @errno
	.comm	_recursion_depth,4,2            ; @recursion_depth
	.comm	_message,4,2                    ; @message
.subsections_via_symbols
