	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kernel_main                    ## -- Begin function kernel_main
	.p2align	4, 0x90
_kernel_main:                           ## @kernel_main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_processor@GOTPCREL(%rip), %r14
	cmpb	%bl, (%r14)
	jne	LBB0_1
## %bb.2:
	testb	%bl, %bl
	je	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_uart_send_string
	addb	$48, %bl
	movsbl	%bl, %edi
	callq	_uart_send
	leaq	L_.str.1(%rip), %rdi
	callq	_uart_send_string
	incb	(%r14)
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_1
LBB0_3:
	xorl	%eax, %eax
	callq	_uart_init
	leaq	L_.str(%rip), %rdi
	callq	_uart_send_string
	movl	$48, %edi
	callq	_uart_send
	leaq	L_.str.1(%rip), %rdi
	callq	_uart_send_string
	incb	(%r14)
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_uart_recv
	movsbl	%al, %edi
	callq	_uart_send
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_processor,1,0                  ## @processor
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Hello, world! I am the Core "

L_.str.1:                               ## @.str.1
	.asciz	"\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kernel_main                    ; -- Begin function kernel_main
	.p2align	2
_kernel_main:                           ; @kernel_main
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _processor@GOTPAGE
Lloh1:
	ldr	x20, [x20, _processor@GOTPAGEOFF]
	ldrb	w8, [x20]
	cmp	w8, w0, uxtb
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	cbz	w0, LBB0_5
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_uart_send_string
	add	w8, w19, #48
	sxtb	w0, w8
	bl	_uart_send
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_uart_send_string
	ldrb	w8, [x20]
	add	w8, w8, #1
	strb	w8, [x20]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_3
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_4
LBB0_5:
	bl	_uart_init
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_uart_send_string
	mov	w0, #48
	bl	_uart_send
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_uart_send_string
	ldrb	w8, [x20]
	add	w8, w8, #1
	strb	w8, [x20]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_uart_recv
	bl	_uart_send
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_processor,1,0                  ; @processor
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Hello, world! I am the Core "

l_.str.1:                               ; @.str.1
	.asciz	"\r\n"

.subsections_via_symbols
