	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restore_toc_entries_postfork
_restore_toc_entries_postfork:          ## @restore_toc_entries_postfork
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_pg_log_debug
	movl	16(%rbx), %esi
	movl	12(%rbx), %edx
	movl	8(%rbx), %ecx
	movl	(%rbx), %r9d
	movl	4(%rbx), %r8d
	movq	%r15, %rdi
	callq	_ConnectDatabase
	movq	%r15, %rdi
	callq	__doSetFixedOutputState
	movq	16(%r14), %rbx
	cmpq	%r14, %rbx
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r12, %rdi
	callq	_pg_log_info
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_restore_toc_entry
	movq	16(%rbx), %rbx
	cmpq	%r14, %rbx
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entering restore_toc_entries_postfork"

L_.str.1:                               ## @.str.1
	.asciz	"processing missed item %d %s %s"

	.no_dead_strip	_restore_toc_entries_postfork
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restore_toc_entries_postfork
_restore_toc_entries_postfork:          ; @restore_toc_entries_postfork
	.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, x1
	mov	x20, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_debug
	ldp	w2, w1, [x21, #12]
	ldp	w4, w3, [x21, #4]
	ldr	w5, [x21]
	mov	x0, x20
	bl	_ConnectDatabase
	mov	x0, x20
	bl	__doSetFixedOutputState
	ldr	x21, [x19, #16]
	cmp	x21, x19
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [x21, #4]
	ldr	w3, [x21]
	mov	x0, x22
	bl	_pg_log_info
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_restore_toc_entry
	ldr	x21, [x21, #16]
	cmp	x21, x19
	b.ne	LBB0_2
LBB0_3:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entering restore_toc_entries_postfork"

l_.str.1:                               ; @.str.1
	.asciz	"processing missed item %d %s %s"

	.no_dead_strip	_restore_toc_entries_postfork
.subsections_via_symbols
