	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PpcPrepInit                    ## -- Begin function PpcPrepInit
	.p2align	4, 0x90
_PpcPrepInit:                           ## @PpcPrepInit
	.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	_PpcPrepPutChar@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MachVtbl@GOTPCREL(%rip), %rbx
	movl	%eax, 36(%rbx)
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_ide1_desc@GOTPCREL(%rip), %rdi
	callq	_ide_setup
	movq	_PpcPrepDiskReadLogicalSectors@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_PpcPrepConsKbHit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_PpcPrepConsGetCh@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_PpcPrepVideoClearScreen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_PpcPrepVideoSetDisplayMode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_PpcPrepVideoGetDisplaySize@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_PpcPrepGetMemoryMap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_PpcPrepHwDetect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_PcPrepHwIdle@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_FrLdrVersionString@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.2(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_BootMain                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PpcPrepPutChar,4,2             ## @PpcPrepPutChar
	.comm	_MachVtbl,40,2                  ## @MachVtbl
	.comm	_ide1_desc,4,2                  ## @ide1_desc
	.comm	_PpcPrepDiskReadLogicalSectors,4,2 ## @PpcPrepDiskReadLogicalSectors
	.comm	_PpcPrepConsKbHit,4,2           ## @PpcPrepConsKbHit
	.comm	_PpcPrepConsGetCh,4,2           ## @PpcPrepConsGetCh
	.comm	_PpcPrepVideoClearScreen,4,2    ## @PpcPrepVideoClearScreen
	.comm	_PpcPrepVideoSetDisplayMode,4,2 ## @PpcPrepVideoSetDisplayMode
	.comm	_PpcPrepVideoGetDisplaySize,4,2 ## @PpcPrepVideoGetDisplaySize
	.comm	_PpcPrepGetMemoryMap,4,2        ## @PpcPrepGetMemoryMap
	.comm	_PpcPrepHwDetect,4,2            ## @PpcPrepHwDetect
	.comm	_PcPrepHwIdle,4,2               ## @PcPrepHwIdle
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"FreeLDR version [%s]\n"

	.comm	_FrLdrVersionString,8,3         ## @FrLdrVersionString
L_.str.2:                               ## @.str.2
	.space	1

L_str:                                  ## @str
	.asciz	"Serial on"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PpcPrepInit                    ; -- Begin function PpcPrepInit
	.p2align	2
_PpcPrepInit:                           ; @PpcPrepInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _PpcPrepPutChar@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PpcPrepPutChar@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x19, _MachVtbl@GOTPAGE
Lloh4:
	ldr	x19, [x19, _MachVtbl@GOTPAGEOFF]
	str	w8, [x19, #36]
Lloh5:
	adrp	x0, l_str@PAGE
Lloh6:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh7:
	adrp	x0, _ide1_desc@GOTPAGE
Lloh8:
	ldr	x0, [x0, _ide1_desc@GOTPAGEOFF]
	bl	_ide_setup
Lloh9:
	adrp	x8, _PpcPrepDiskReadLogicalSectors@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PpcPrepDiskReadLogicalSectors@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh12:
	adrp	x8, _PpcPrepConsKbHit@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PpcPrepConsKbHit@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _PpcPrepConsGetCh@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PpcPrepConsGetCh@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh18:
	adrp	x8, _PpcPrepVideoClearScreen@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PpcPrepVideoClearScreen@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _PpcPrepVideoSetDisplayMode@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PpcPrepVideoSetDisplayMode@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _PpcPrepVideoGetDisplaySize@GOTPAGE
Lloh25:
	ldr	x10, [x10, _PpcPrepVideoGetDisplaySize@GOTPAGEOFF]
	stp	w9, w8, [x19, #16]
Lloh26:
	ldr	w8, [x10]
Lloh27:
	adrp	x9, _PpcPrepGetMemoryMap@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PpcPrepGetMemoryMap@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh30:
	adrp	x8, _PpcPrepHwDetect@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PpcPrepHwDetect@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _PcPrepHwIdle@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PcPrepHwIdle@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
Lloh36:
	adrp	x8, _FrLdrVersionString@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FrLdrVersionString@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.1@PAGE
Lloh40:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh41:
	adrp	x0, l_.str.2@PAGE
Lloh42:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_BootMain
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PpcPrepPutChar,4,2             ; @PpcPrepPutChar
	.comm	_MachVtbl,40,2                  ; @MachVtbl
	.comm	_ide1_desc,4,2                  ; @ide1_desc
	.comm	_PpcPrepDiskReadLogicalSectors,4,2 ; @PpcPrepDiskReadLogicalSectors
	.comm	_PpcPrepConsKbHit,4,2           ; @PpcPrepConsKbHit
	.comm	_PpcPrepConsGetCh,4,2           ; @PpcPrepConsGetCh
	.comm	_PpcPrepVideoClearScreen,4,2    ; @PpcPrepVideoClearScreen
	.comm	_PpcPrepVideoSetDisplayMode,4,2 ; @PpcPrepVideoSetDisplayMode
	.comm	_PpcPrepVideoGetDisplaySize,4,2 ; @PpcPrepVideoGetDisplaySize
	.comm	_PpcPrepGetMemoryMap,4,2        ; @PpcPrepGetMemoryMap
	.comm	_PpcPrepHwDetect,4,2            ; @PpcPrepHwDetect
	.comm	_PcPrepHwIdle,4,2               ; @PcPrepHwIdle
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"FreeLDR version [%s]\n"

	.comm	_FrLdrVersionString,8,3         ; @FrLdrVersionString
l_.str.2:                               ; @.str.2
	.space	1

l_str:                                  ; @str
	.asciz	"Serial on"

.subsections_via_symbols
