	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_callback
_merge_callback:                        ## @merge_callback
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.5:
	movq	16(%r14), %rdi
	movq	(%rdi), %rax
	movl	8(%r14), %esi
	callq	*(%rax)
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	callq	_remove_single_exception_chunk
	testq	%rax, %rax
	js	LBB0_4
## %bb.8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snapshot_merge_next_chunks     ## TAILCALL
LBB0_2:
	testl	%edi, %edi
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmovneq	%rax, %rdi
	jmp	LBB0_3
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_3:
	callq	_DMERR
LBB0_4:
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	callq	_down_write
	movl	$1, (%r14)
	movq	%r14, %rdi
	callq	___release_queued_bios_after_merge
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_up_write
	movq	%r15, %rdi
	callq	_error_bios
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_merge_shutdown                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read error: shutting down merge."

L_.str.1:                               ## @.str.1
	.asciz	"Write error: shutting down merge."

L_.str.2:                               ## @.str.2
	.asciz	"Write error in exception store: shutting down merge"

	.no_dead_strip	_merge_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_callback
_merge_callback:                        ; @merge_callback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	cbnz	w0, LBB0_5
; %bb.1:
	cbnz	x1, LBB0_5
; %bb.2:
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w1, [x19, #8]
	blr	x8
	tbnz	x0, #63, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_remove_single_exception_chunk
	tbnz	x0, #63, LBB0_8
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snapshot_merge_next_chunks
LBB0_5:
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w0, #0
	csel	x0, x9, x8, ne
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
	bl	_DMERR
LBB0_8:
	add	x20, x19, #4
	mov	x0, x20
	bl	_down_write
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	___release_queued_bios_after_merge
	mov	x21, x0
	mov	x0, x20
	bl	_up_write
	mov	x0, x21
	bl	_error_bios
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_merge_shutdown
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read error: shutting down merge."

l_.str.1:                               ; @.str.1
	.asciz	"Write error: shutting down merge."

l_.str.2:                               ; @.str.2
	.asciz	"Write error in exception store: shutting down merge"

	.no_dead_strip	_merge_callback
.subsections_via_symbols
