	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_task
_copy_task:                             ## @copy_task
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	$0, 80(%rdi)
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, 72(%rbx)
LBB0_2:
	movq	8(%rbx), %rdi
	movq	_CLONE_VM_@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	callq	_mm_retain
	jmp	LBB0_5
LBB0_4:
	callq	_mm_copy
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_task_set_mm
LBB0_5:
	movq	_CLONE_FILES_@GOTPCREL(%rip), %rax
	movq	16(%rbx), %rdi
	testl	%r14d, (%rax)
	je	LBB0_9
## %bb.6:
	incl	(%rdi)
LBB0_7:
	movq	__ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_CLONE_FS_@GOTPCREL(%rip), %rax
	movq	24(%rbx), %rdi
	testl	%r14d, (%rax)
	je	LBB0_12
## %bb.8:
	incl	(%rdi)
	jmp	LBB0_13
LBB0_9:
	callq	_fdtable_copy
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	16(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	jmp	LBB0_11
LBB0_12:
	callq	_fs_info_copy
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_24
LBB0_13:
	movq	_CLONE_SIGHAND_@GOTPCREL(%rip), %rax
	movq	32(%rbx), %rdi
	testl	%r14d, (%rax)
	je	LBB0_15
## %bb.14:
	incl	(%rdi)
	jmp	LBB0_16
LBB0_15:
	callq	_sighand_copy
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_23
LBB0_16:
	movq	56(%rbx), %r12
	movq	_pids_lock@GOTPCREL(%rip), %rdi
	callq	_lock
	movq	%r12, %rdi
	callq	_lock
	movq	_CLONE_THREAD_@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_18
## %bb.17:
	movq	56(%rbx), %rdi
	jmp	LBB0_19
LBB0_18:
	movq	%r12, %rdi
	callq	_tgroup_copy
	movq	%rax, %rdi
	movq	%rax, 56(%rbx)
	movq	%rbx, 8(%rax)
	movl	48(%rbx), %eax
	movl	%eax, 64(%rbx)
LBB0_19:
	addq	$4, %rdi
	leaq	52(%rbx), %rsi
	callq	_list_add
	movq	%r12, %rdi
	callq	_unlock
	movq	_pids_lock@GOTPCREL(%rip), %rdi
	callq	_unlock
	movq	_CLONE_SETTLS_@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_25
## %bb.20:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_task_set_thread_area
	testl	%eax, %eax
	js	LBB0_21
LBB0_25:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_CLONE_CHILD_SETTID_@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_27
## %bb.26:
	movl	48(%rbx), %edx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_user_put_task
	testq	%rax, %rax
	jne	LBB0_22
LBB0_27:
	movq	_CLONE_PARENT_SETTID_@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_29
## %bb.28:
	movl	48(%rbx), %esi
	movq	%r15, %rdi
	callq	_user_put
	testq	%rax, %rax
	jne	LBB0_22
LBB0_29:
	movq	_CLONE_CHILD_CLEARTID_@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_31
## %bb.30:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%rbx)
LBB0_31:
	movq	_CSIGNAL_@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movl	%r14d, (%rbx)
	xorl	%r12d, %r12d
	jmp	LBB0_32
LBB0_21:
	movl	%eax, %r12d
LBB0_22:
	movq	32(%rbx), %rdi
	callq	_sighand_release
LBB0_23:
	movq	24(%rbx), %rdi
	callq	_fs_info_release
LBB0_24:
	movq	16(%rbx), %rdi
	callq	_fdtable_release
LBB0_11:
	movq	8(%rbx), %rdi
	callq	_mm_release
LBB0_32:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLONE_VM_,4,2                  ## @CLONE_VM_
	.comm	_CLONE_FILES_,4,2               ## @CLONE_FILES_
	.comm	__ENOMEM,4,2                    ## @_ENOMEM
	.comm	_CLONE_FS_,4,2                  ## @CLONE_FS_
	.comm	_CLONE_SIGHAND_,4,2             ## @CLONE_SIGHAND_
	.comm	_pids_lock,4,2                  ## @pids_lock
	.comm	_CLONE_THREAD_,4,2              ## @CLONE_THREAD_
	.comm	_CLONE_SETTLS_,4,2              ## @CLONE_SETTLS_
	.comm	__EFAULT,4,2                    ## @_EFAULT
	.comm	_CLONE_CHILD_SETTID_,4,2        ## @CLONE_CHILD_SETTID_
	.comm	_CLONE_PARENT_SETTID_,4,2       ## @CLONE_PARENT_SETTID_
	.comm	_CLONE_CHILD_CLEARTID_,4,2      ## @CLONE_CHILD_CLEARTID_
	.comm	_CSIGNAL_,4,2                   ## @CSIGNAL_
	.no_dead_strip	_copy_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_task
_copy_task:                             ; @copy_task
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x5
	mov	x23, x4
	mov	x22, x3
	mov	x20, x1
	mov	x19, x0
	str	xzr, [x0, #80]
	cbz	x2, LBB0_2
; %bb.1:
	str	x2, [x19, #72]
LBB0_2:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x8, _CLONE_VM_@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLONE_VM_@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	bl	_mm_retain
	b	LBB0_5
LBB0_4:
	bl	_mm_copy
	mov	x1, x0
	mov	x0, x19
	bl	_task_set_mm
LBB0_5:
Lloh3:
	adrp	x8, _CLONE_FILES_@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLONE_FILES_@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x0, [x19, #16]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.6:
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
LBB0_7:
Lloh6:
	adrp	x8, __ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, __ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
Lloh9:
	adrp	x8, _CLONE_FS_@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLONE_FS_@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x0, [x19, #24]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.8:
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	b	LBB0_12
LBB0_9:
	bl	_fdtable_copy
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.10:
	ldr	x0, [x19, #16]
	bl	_PTR_ERR
	mov	x24, x0
	b	LBB0_31
LBB0_11:
	bl	_fs_info_copy
	str	x0, [x19, #24]
	cbz	x0, LBB0_30
LBB0_12:
Lloh12:
	adrp	x8, _CLONE_SIGHAND_@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CLONE_SIGHAND_@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	x0, [x19, #32]
	tst	w8, w20
	b.eq	LBB0_14
; %bb.13:
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	b	LBB0_15
LBB0_14:
	bl	_sighand_copy
	str	x0, [x19, #32]
	cbz	x0, LBB0_29
LBB0_15:
	ldr	x24, [x19, #56]
Lloh15:
	adrp	x0, _pids_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _pids_lock@GOTPAGEOFF]
	bl	_lock
	mov	x0, x24
	bl	_lock
Lloh17:
	adrp	x8, _CLONE_THREAD_@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CLONE_THREAD_@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_17
; %bb.16:
	ldr	x0, [x19, #56]
	b	LBB0_18
LBB0_17:
	mov	x0, x24
	bl	_tgroup_copy
	str	x0, [x19, #56]
	str	x19, [x0, #8]
	ldr	w8, [x19, #48]
	str	w8, [x19, #64]
LBB0_18:
	add	x0, x0, #4
	add	x1, x19, #52
	bl	_list_add
	mov	x0, x24
	bl	_unlock
Lloh20:
	adrp	x0, _pids_lock@GOTPAGE
Lloh21:
	ldr	x0, [x0, _pids_lock@GOTPAGEOFF]
	bl	_unlock
Lloh22:
	adrp	x8, _CLONE_SETTLS_@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CLONE_SETTLS_@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_20
; %bb.19:
	mov	x0, x19
	mov	x1, x23
	bl	_task_set_thread_area
	tbnz	w0, #31, LBB0_27
LBB0_20:
Lloh25:
	adrp	x8, __EFAULT@GOTPAGE
Lloh26:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh27:
	ldr	w24, [x8]
Lloh28:
	adrp	x8, _CLONE_CHILD_SETTID_@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CLONE_CHILD_SETTID_@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_22
; %bb.21:
	ldr	w2, [x19, #48]
	mov	x0, x19
	mov	x1, x21
	bl	_user_put_task
	cbnz	x0, LBB0_28
LBB0_22:
Lloh31:
	adrp	x8, _CLONE_PARENT_SETTID_@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CLONE_PARENT_SETTID_@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_24
; %bb.23:
	ldr	w1, [x19, #48]
	mov	x0, x22
	bl	_user_put
	cbnz	x0, LBB0_28
LBB0_24:
Lloh34:
	adrp	x8, _CLONE_CHILD_CLEARTID_@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CLONE_CHILD_CLEARTID_@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_26
; %bb.25:
	str	x21, [x19, #40]
LBB0_26:
	mov	w24, #0
Lloh37:
	adrp	x8, _CSIGNAL_@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CSIGNAL_@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	and	w8, w8, w20
	str	w8, [x19]
	b	LBB0_32
LBB0_27:
	mov	x24, x0
LBB0_28:
	ldr	x0, [x19, #32]
	bl	_sighand_release
LBB0_29:
	ldr	x0, [x19, #24]
	bl	_fs_info_release
LBB0_30:
	ldr	x0, [x19, #16]
	bl	_fdtable_release
LBB0_31:
	ldr	x0, [x19, #8]
	bl	_mm_release
LBB0_32:
	mov	x0, x24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_CLONE_VM_,4,2                  ; @CLONE_VM_
	.comm	_CLONE_FILES_,4,2               ; @CLONE_FILES_
	.comm	__ENOMEM,4,2                    ; @_ENOMEM
	.comm	_CLONE_FS_,4,2                  ; @CLONE_FS_
	.comm	_CLONE_SIGHAND_,4,2             ; @CLONE_SIGHAND_
	.comm	_pids_lock,4,2                  ; @pids_lock
	.comm	_CLONE_THREAD_,4,2              ; @CLONE_THREAD_
	.comm	_CLONE_SETTLS_,4,2              ; @CLONE_SETTLS_
	.comm	__EFAULT,4,2                    ; @_EFAULT
	.comm	_CLONE_CHILD_SETTID_,4,2        ; @CLONE_CHILD_SETTID_
	.comm	_CLONE_PARENT_SETTID_,4,2       ; @CLONE_PARENT_SETTID_
	.comm	_CLONE_CHILD_CLEARTID_,4,2      ; @CLONE_CHILD_CLEARTID_
	.comm	_CSIGNAL_,4,2                   ; @CSIGNAL_
	.no_dead_strip	_copy_task
.subsections_via_symbols
