	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function main
LCPI0_0:
	.quad	0x4089000000000000              ## double 800
LCPI0_1:
	.quad	0x4082c00000000000              ## double 600
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_dummyErrnoCodes
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	movl	$800, %esi                      ## imm = 0x320
	movl	$600, %edx                      ## imm = 0x258
	callq	_emscripten_set_canvas_element_size
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movq	%rbx, %rdi
	callq	_emscripten_set_element_css_size
	movq	_emscripten_mainloop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_emscripten_set_main_loop
	movl	%r15d, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_rarch_main
	movq	_emscripten_fullscreenchange_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_emscripten_set_fullscreenchange_callback
	movq	_EMSCRIPTEN_RESULT_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	callq	_RARCH_ERR
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#canvas"

	.comm	_emscripten_mainloop,4,2        ## @emscripten_mainloop
L_.str.1:                               ## @.str.1
	.asciz	"#document"

	.comm	_emscripten_fullscreenchange_cb,4,2 ## @emscripten_fullscreenchange_cb
	.comm	_EMSCRIPTEN_RESULT_SUCCESS,8,3  ## @EMSCRIPTEN_RESULT_SUCCESS
L_.str.2:                               ## @.str.2
	.asciz	"[EMSCRIPTEN/CTX] failed to create fullscreen callback: %d\n"

.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	bl	_dummyErrnoCodes
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #800
	mov	w2, #600
	bl	_emscripten_set_canvas_element_size
	mov	x8, #4650248090236747776
	fmov	d0, x8
	mov	x8, #211106232532992
	movk	x8, #16514, lsl #48
	fmov	d1, x8
	mov	x0, x21
	bl	_emscripten_set_element_css_size
Lloh2:
	adrp	x8, _emscripten_mainloop@GOTPAGE
Lloh3:
	ldr	x8, [x8, _emscripten_mainloop@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #0
	bl	_emscripten_set_main_loop
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	bl	_rarch_main
Lloh5:
	adrp	x8, _emscripten_fullscreenchange_cb@GOTPAGE
Lloh6:
	ldr	x8, [x8, _emscripten_fullscreenchange_cb@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, #0
	mov	w2, #0
	bl	_emscripten_set_fullscreenchange_callback
Lloh10:
	adrp	x8, _EMSCRIPTEN_RESULT_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EMSCRIPTEN_RESULT_SUCCESS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_RARCH_ERR
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#canvas"

	.comm	_emscripten_mainloop,4,2        ; @emscripten_mainloop
l_.str.1:                               ; @.str.1
	.asciz	"#document"

	.comm	_emscripten_fullscreenchange_cb,4,2 ; @emscripten_fullscreenchange_cb
	.comm	_EMSCRIPTEN_RESULT_SUCCESS,8,3  ; @EMSCRIPTEN_RESULT_SUCCESS
l_.str.2:                               ; @.str.2
	.asciz	"[EMSCRIPTEN/CTX] failed to create fullscreen callback: %d\n"

.subsections_via_symbols
