	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParallelBackupEnd              ## -- Begin function ParallelBackupEnd
	.p2align	4, 0x90
_ParallelBackupEnd:                     ## @ParallelBackupEnd
	.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
	cmpl	$1, (%rsi)
	jne	LBB0_1
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_IsEveryWorkerIdle
	movl	%eax, %edi
	callq	_Assert
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	28(%rax,%rbx), %edi
	callq	_closesocket
	movq	8(%r14), %rax
	movl	24(%rax,%rbx), %edi
	callq	_closesocket
	incq	%r15
	movslq	(%r14), %rax
	addq	$32, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_4:
	movq	%r14, %rdi
	callq	_WaitForTerminatingWorkers
	movq	_shutdown_info@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%edi, %edi
	callq	_set_cancel_pstate
	movq	16(%r14), %rdi
	callq	_free
	movq	8(%r14), %rdi
	callq	_free
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_shutdown_info,8,3              ## @shutdown_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParallelBackupEnd              ; -- Begin function ParallelBackupEnd
	.p2align	2
_ParallelBackupEnd:                     ; @ParallelBackupEnd
	.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
	ldr	w8, [x1]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x19, x1
	mov	x0, x1
	bl	_IsEveryWorkerIdle
	bl	_Assert
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x20
	ldr	w0, [x8, #28]
	bl	_closesocket
	ldr	x8, [x19, #8]
	add	x8, x8, x20
	ldr	w0, [x8, #24]
	bl	_closesocket
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #32
	cmp	x21, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_WaitForTerminatingWorkers
Lloh0:
	adrp	x8, _shutdown_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shutdown_info@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
	mov	x0, #0
	bl	_set_cancel_pstate
	ldr	x0, [x19, #16]
	bl	_free
	ldr	x0, [x19, #8]
	bl	_free
	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	_free
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_shutdown_info,8,3              ; @shutdown_info
.subsections_via_symbols
