	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_create_inferior
_fbsd_create_inferior:                  ## @fbsd_create_inferior
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_vfork
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	jne	LBB0_3
## %bb.4:
	movq	_PT_TRACE_ME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	movl	%ebx, %esi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	callq	_ptrace
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	_setpgid
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_execv
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	movl	(%r15), %edi
	callq	_fflush
	movl	$127, %edi
	callq	__exit
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_perror_with_name
LBB0_3:
	movl	%ebx, %edi
	callq	_add_process
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_add_thread
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vfork"

	.comm	_PT_TRACE_ME,4,2                ## @PT_TRACE_ME
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Cannot exec %s: %s.\n"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_fbsd_create_inferior
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_create_inferior
_fbsd_create_inferior:                  ; @fbsd_create_inferior
	.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	x20, x1
	mov	x19, x0
	bl	_vfork
	mov	x21, x0
	tbnz	w0, #31, LBB0_3
; %bb.1:
	cbnz	w21, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _PT_TRACE_ME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PT_TRACE_ME@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_ptrace
	mov	x0, x21
	mov	x1, x21
	bl	_setpgid
	mov	x0, x19
	mov	x1, x20
	bl	_execv
Lloh3:
	adrp	x21, _stderr@GOTPAGE
Lloh4:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w20, [x21]
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_fprintf
	ldr	w0, [x21]
	bl	_fflush
	mov	w0, #127
	bl	__exit
LBB0_3:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror_with_name
LBB0_4:
	mov	x0, x21
	bl	_add_process
	mov	x1, x0
	mov	x0, x21
	bl	_add_thread
	mov	x0, x21
	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	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vfork"

	.comm	_PT_TRACE_ME,4,2                ; @PT_TRACE_ME
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Cannot exec %s: %s.\n"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_fbsd_create_inferior
.subsections_via_symbols
