	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_start_module
_load_start_module:                     ## @load_start_module
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_PSP_MEMORY_PARTITION_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pspSdkLoadStartModule
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_lprintf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_kuKernelLoadModule
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	leaq	-20(%rbp), %rcx
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_sceKernelStartModule
	testl	%eax, %eax
	jns	LBB0_7
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
LBB0_5:
	xorl	%eax, %eax
	callq	_lprintf
LBB0_6:
	movl	%r14d, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSP_MEMORY_PARTITION_KERNEL,4,2 ## @PSP_MEMORY_PARTITION_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to load %s (%08x), trying kuKernelLoadModule\n"

L_.str.1:                               ## @.str.1
	.asciz	"kuKernelLoadModule failed with %08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"sceKernelStartModule failed with %08x\n"

	.no_dead_strip	_load_start_module
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_start_module
_load_start_module:                     ; @load_start_module
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _PSP_MEMORY_PARTITION_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSP_MEMORY_PARTITION_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pspSdkLoadStartModule
	mov	x19, x0
	tbz	w0, #31, LBB0_6
; %bb.1:
	stp	x20, x19, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lprintf
	mov	x0, x20
	mov	w1, #0
	mov	x2, #0
	bl	_kuKernelLoadModule
	mov	x20, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
	sub	x3, x29, #20
	mov	x0, x20
	mov	w1, #0
	mov	x2, #0
	mov	w4, #0
	bl	_sceKernelStartModule
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_7
; %bb.3:
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
	str	x20, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_lprintf
LBB0_6:
	mov	x20, x19
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PSP_MEMORY_PARTITION_KERNEL,4,2 ; @PSP_MEMORY_PARTITION_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to load %s (%08x), trying kuKernelLoadModule\n"

l_.str.1:                               ; @.str.1
	.asciz	"kuKernelLoadModule failed with %08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"sceKernelStartModule failed with %08x\n"

	.no_dead_strip	_load_start_module
.subsections_via_symbols
