	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	_copy_boot_params
	xorl	%eax, %eax
	callq	_init_heap
	xorl	%eax, %eax
	callq	_validate_cpu
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	xorl	%eax, %eax
	callq	_set_bios_mode
	xorl	%eax, %eax
	callq	_detect_memory
	xorl	%eax, %eax
	callq	_keyboard_set_repeat
	xorl	%eax, %eax
	callq	_query_mca
	xorl	%eax, %eax
	callq	_query_ist
	xorl	%eax, %eax
	callq	_set_video
	leaq	L_.str.1(%rip), %rdi
	callq	_cmdline_find_option_bool
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_QUIET_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_boot_params@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_go_to_protected_mode           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to boot - please use a kernel appropriate for your CPU.\n"

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

	.comm	_QUIET_FLAG,4,2                 ## @QUIET_FLAG
	.comm	_boot_params,4,2                ## @boot_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_copy_boot_params
	bl	_init_heap
	bl	_validate_cpu
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_puts
	bl	_die
LBB0_2:
	bl	_set_bios_mode
	bl	_detect_memory
	bl	_keyboard_set_repeat
	bl	_query_mca
	bl	_query_ist
	bl	_set_video
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_cmdline_find_option_bool
	cbz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _QUIET_FLAG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QUIET_FLAG@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _boot_params@GOTPAGE
Lloh8:
	ldr	x9, [x9, _boot_params@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_go_to_protected_mode
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to boot - please use a kernel appropriate for your CPU.\n"

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

	.comm	_QUIET_FLAG,4,2                 ; @QUIET_FLAG
	.comm	_boot_params,4,2                ; @boot_params
.subsections_via_symbols
