	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kernel_process                 ## -- Begin function kernel_process
	.p2align	4, 0x90
_kernel_process:                        ## @kernel_process
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_get_el
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	_user_begin@GOTPCREL(%rip), %rdi
	movq	_user_end@GOTPCREL(%rip), %rsi
	subq	%rdi, %rsi
	movq	_user_process@GOTPCREL(%rip), %rdx
	subq	%rdi, %rdx
	callq	_move_to_user_mode
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Kernel process started. EL %d\r\n"

	.comm	_user_begin,4,2                 ## @user_begin
	.comm	_user_end,4,2                   ## @user_end
	.comm	_user_process,4,2               ## @user_process
L_.str.1:                               ## @.str.1
	.asciz	"Error while moving process to user mode\n\r"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kernel_process                 ; -- Begin function kernel_process
	.p2align	2
_kernel_process:                        ; @kernel_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_get_el
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x0, _user_begin@GOTPAGE
Lloh3:
	ldr	x0, [x0, _user_begin@GOTPAGEOFF]
Lloh4:
	adrp	x8, _user_end@GOTPAGE
Lloh5:
	ldr	x8, [x8, _user_end@GOTPAGEOFF]
	sub	x1, x8, x0
Lloh6:
	adrp	x8, _user_process@GOTPAGE
Lloh7:
	ldr	x8, [x8, _user_process@GOTPAGEOFF]
	sub	x2, x8, x0
	bl	_move_to_user_mode
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_2:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_printf
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Kernel process started. EL %d\r\n"

	.comm	_user_begin,4,2                 ; @user_begin
	.comm	_user_end,4,2                   ; @user_end
	.comm	_user_process,4,2               ; @user_process
l_.str.1:                               ; @.str.1
	.asciz	"Error while moving process to user mode\n\r"

.subsections_via_symbols
