	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zygote_clone                   ## -- Begin function zygote_clone
	.p2align	4, 0x90
_zygote_clone:                          ## @zygote_clone
	.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	_zygote_sock@GOTPCREL(%rip), %r13
	cmpl	$-1, (%r13)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %r12d
	xorl	%edi, %edi
	callq	_nvlist_create
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%r12d, %edx
	callq	_nvlist_add_number
	movl	(%r13), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_nvlist_xfer
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_nvlist_exists_number
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nvlist_get_number
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_nvlist_destroy
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	jmp	LBB0_6
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %r12d
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nvlist_take_descriptor
	movl	%eax, (%r15)
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nvlist_take_descriptor
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_nvlist_destroy
	xorl	%r12d, %r12d
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zygote_sock,4,2                ## @zygote_sock
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"funcidx"

L_.str.1:                               ## @.str.1
	.asciz	"error"

L_.str.2:                               ## @.str.2
	.asciz	"chanfd"

L_.str.3:                               ## @.str.3
	.asciz	"procfd"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zygote_clone                   ; -- Begin function zygote_clone
	.p2align	2
_zygote_clone:                          ; @zygote_clone
	.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
Lloh0:
	adrp	x23, _zygote_sock@GOTPAGE
Lloh1:
	ldr	x23, [x23, _zygote_sock@GOTPAGEOFF]
	ldr	w8, [x23]
	cmn	w8, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #0
	bl	_nvlist_create
	mov	x22, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_nvlist_add_number
	ldr	w0, [x23]
	mov	x1, x22
	mov	w2, #0
	bl	_nvlist_xfer
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_nvlist_exists_number
	cbz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_nvlist_get_number
	mov	x19, x0
	mov	x0, x21
	bl	_nvlist_destroy
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	str	w19, [x8]
	mov	w0, #-1
	b	LBB0_7
LBB0_4:
Lloh11:
	adrp	x8, _ENXIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _errno@GOTPAGE
Lloh15:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh16:
	str	w8, [x9]
LBB0_5:
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_nvlist_take_descriptor
	str	w0, [x20]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_nvlist_take_descriptor
	str	w0, [x19]
	mov	x0, x21
	bl	_nvlist_destroy
	mov	w0, #0
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_zygote_sock,4,2                ; @zygote_sock
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"funcidx"

l_.str.1:                               ; @.str.1
	.asciz	"error"

l_.str.2:                               ; @.str.2
	.asciz	"chanfd"

l_.str.3:                               ; @.str.3
	.asciz	"procfd"

.subsections_via_symbols
