	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_process                   ## -- Begin function user_process
	.p2align	4, 0x90
_user_process:                          ## @user_process
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -34(%rbp)
	movaps	%xmm0, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_tfp_sprintf
	movq	%rbx, %rdi
	callq	_call_sys_write
	xorl	%eax, %eax
	callq	_call_sys_malloc
	movq	_user_process1@GOTPCREL(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdx
	callq	_call_sys_clone
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_call_sys_malloc
	movq	_user_process1@GOTPCREL(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdx
	callq	_call_sys_clone
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_call_sys_exit
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.5(%rip), %rdi
LBB0_5:
	callq	_printf
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"User process started\n\r"

	.comm	_user_process1,4,2              ## @user_process1
L_.str.2:                               ## @.str.2
	.asciz	"12345"

L_.str.3:                               ## @.str.3
	.asciz	"Error while clonning process 1\n\r"

L_.str.4:                               ## @.str.4
	.asciz	"abcd"

L_.str.5:                               ## @.str.5
	.asciz	"Error while clonning process 2\n\r"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_process                   ; -- Begin function user_process
	.p2align	2
_user_process:                          ; @user_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	stp	xzr, xzr, [sp, #8]
	stur	xzr, [sp, #30]
	str	xzr, [sp, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_tfp_sprintf
	add	x0, sp, #8
	bl	_call_sys_write
	bl	_call_sys_malloc
	mov	x2, x0
Lloh5:
	adrp	x0, _user_process1@GOTPAGE
Lloh6:
	ldr	x0, [x0, _user_process1@GOTPAGEOFF]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_call_sys_clone
	tbnz	w0, #31, LBB0_3
; %bb.1:
	bl	_call_sys_malloc
	mov	x2, x0
Lloh9:
	adrp	x0, _user_process1@GOTPAGE
Lloh10:
	ldr	x0, [x0, _user_process1@GOTPAGEOFF]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_call_sys_clone
	tbnz	w0, #31, LBB0_4
; %bb.2:
	bl	_call_sys_exit
	b	LBB0_6
LBB0_3:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_5:
	bl	_printf
LBB0_6:
	ldur	x8, [x29, #-8]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"User process started\n\r"

	.comm	_user_process1,4,2              ; @user_process1
l_.str.2:                               ; @.str.2
	.asciz	"12345"

l_.str.3:                               ; @.str.3
	.asciz	"Error while clonning process 1\n\r"

l_.str.4:                               ; @.str.4
	.asciz	"abcd"

l_.str.5:                               ; @.str.5
	.asciz	"Error while clonning process 2\n\r"

.subsections_via_symbols
