	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_module_start                   ## -- Begin function module_start
	.p2align	4, 0x90
_module_start:                          ## @module_start
	.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	_buttons@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_thread_active@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_main_thread@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	movl	$17, %edx
	movl	$512, %ecx                      ## imm = 0x200
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sceKernelCreateThread
	movq	_main_thread_id@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpq	$0, (%rbx)
	js	LBB0_2
## %bb.1:
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_sceKernelStartThread
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buttons,8,3                    ## @buttons
	.comm	_thread_active,8,3              ## @thread_active
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"main Thread"

	.comm	_main_thread,8,3                ## @main_thread
	.comm	_main_thread_id,4,2             ## @main_thread_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_module_start                   ; -- Begin function module_start
	.p2align	2
_module_start:                          ; @module_start
	.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, _buttons@GOTPAGE
Lloh1:
	ldr	x8, [x8, _buttons@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _thread_active@GOTPAGE
Lloh4:
	ldr	x8, [x8, _thread_active@GOTPAGEOFF]
Lloh5:
	str	xzr, [x8]
Lloh6:
	adrp	x19, _main_thread@GOTPAGE
Lloh7:
	ldr	x19, [x19, _main_thread@GOTPAGEOFF]
	ldr	x1, [x19]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #17
	mov	w3, #512
	mov	w4, #0
	mov	x5, #0
	bl	_sceKernelCreateThread
Lloh10:
	adrp	x8, _main_thread_id@GOTPAGE
Lloh11:
	ldr	x8, [x8, _main_thread_id@GOTPAGEOFF]
Lloh12:
	str	w0, [x8]
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_2
; %bb.1:
	mov	w1, #0
	mov	w2, #0
	bl	_sceKernelStartThread
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_buttons,8,3                    ; @buttons
	.comm	_thread_active,8,3              ; @thread_active
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"main Thread"

	.comm	_main_thread,8,3                ; @main_thread
	.comm	_main_thread_id,4,2             ; @main_thread_id
.subsections_via_symbols
