	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mark_restore_job_done
_mark_restore_job_done:                 ## @mark_restore_job_done
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	8(%rsi), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	callq	_pg_log_info
	movq	_WORKER_CREATE_DONE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mark_create_done
	jmp	LBB0_8
LBB0_2:
	movq	_WORKER_INHIBIT_DATA@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_inhibit_data_for_failed_table
	incl	(%r15)
	jmp	LBB0_8
LBB0_4:
	movq	_WORKER_IGNORED_ERRORS@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_6
## %bb.5:
	incl	(%r15)
	jmp	LBB0_8
LBB0_6:
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	callq	_fatal
LBB0_8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reduce_dependencies            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"finished item %d %s %s"

	.comm	_WORKER_CREATE_DONE,4,2         ## @WORKER_CREATE_DONE
	.comm	_WORKER_INHIBIT_DATA,4,2        ## @WORKER_INHIBIT_DATA
	.comm	_WORKER_IGNORED_ERRORS,4,2      ## @WORKER_IGNORED_ERRORS
L_.str.1:                               ## @.str.1
	.asciz	"worker process failed: exit code %d"

	.no_dead_strip	_mark_restore_job_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mark_restore_job_done
_mark_restore_job_done:                 ; @mark_restore_job_done
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w1, [x1, #8]
	ldp	w3, w2, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_info
Lloh2:
	adrp	x8, _WORKER_CREATE_DONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WORKER_CREATE_DONE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_mark_create_done
	b	LBB0_6
LBB0_2:
Lloh5:
	adrp	x8, _WORKER_INHIBIT_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WORKER_INHIBIT_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	bl	_inhibit_data_for_failed_table
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _WORKER_IGNORED_ERRORS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WORKER_IGNORED_ERRORS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_7
LBB0_5:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, 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	_reduce_dependencies
LBB0_7:
	cbz	w22, LBB0_6
; %bb.8:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_fatal
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"finished item %d %s %s"

	.comm	_WORKER_CREATE_DONE,4,2         ; @WORKER_CREATE_DONE
	.comm	_WORKER_INHIBIT_DATA,4,2        ; @WORKER_INHIBIT_DATA
	.comm	_WORKER_IGNORED_ERRORS,4,2      ; @WORKER_IGNORED_ERRORS
l_.str.1:                               ; @.str.1
	.asciz	"worker process failed: exit code %d"

	.no_dead_strip	_mark_restore_job_done
.subsections_via_symbols
