	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function boot_fromdram
_boot_fromdram:                         ## @boot_fromdram
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_DRAM_KERNEL_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	callq	_IS_ELF
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rdi
	movq	_beri_argc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_beri_argv@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_beri_envv@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_boot                           ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRAM_KERNEL_ADDR,8,3           ## @DRAM_KERNEL_ADDR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid %s\n"

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

	.comm	_beri_argc,4,2                  ## @beri_argc
	.comm	_beri_argv,4,2                  ## @beri_argv
	.comm	_beri_envv,4,2                  ## @beri_envv
	.no_dead_strip	_boot_fromdram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function boot_fromdram
_boot_fromdram:                         ; @boot_fromdram
	.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	x8, _DRAM_KERNEL_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRAM_KERNEL_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	ldr	x0, [x19]
	bl	_IS_ELF
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _beri_argc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _beri_argc@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _beri_argv@GOTPAGE
Lloh7:
	ldr	x8, [x8, _beri_argv@GOTPAGEOFF]
Lloh8:
	adrp	x9, _beri_envv@GOTPAGE
Lloh9:
	ldr	x9, [x9, _beri_envv@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	ldr	w3, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_boot
LBB0_2:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DRAM_KERNEL_ADDR,8,3           ; @DRAM_KERNEL_ADDR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid %s\n"

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

	.comm	_beri_argc,4,2                  ; @beri_argc
	.comm	_beri_argv,4,2                  ; @beri_argv
	.comm	_beri_envv,4,2                  ; @beri_envv
	.no_dead_strip	_boot_fromdram
.subsections_via_symbols
