	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FCEUD_SetPalette               ## -- Begin function FCEUD_SetPalette
	.p2align	4, 0x90
_FCEUD_SetPalette:                      ## @FCEUD_SetPalette
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_psdl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rdi,%rdi,2), %rdi
	movq	%rsi, (%rax,%rdi,8)
	movq	%rdx, 8(%rax,%rdi,8)
	movq	%rcx, 16(%rax,%rdi,8)
	movq	_paletterefresh@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_psdl,8,3                       ## @psdl
	.comm	_paletterefresh,4,2             ## @paletterefresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FCEUD_SetPalette               ; -- Begin function FCEUD_SetPalette
	.p2align	2
_FCEUD_SetPalette:                      ; @FCEUD_SetPalette
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _psdl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _psdl@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #24
	madd	x8, x0, x9, x8
	stp	x1, x2, [x8]
	str	x3, [x8, #16]
Lloh3:
	adrp	x8, _paletterefresh@GOTPAGE
Lloh4:
	ldr	x8, [x8, _paletterefresh@GOTPAGEOFF]
	mov	w9, #1
Lloh5:
	str	w9, [x8]
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_psdl,8,3                       ; @psdl
	.comm	_paletterefresh,4,2             ; @paletterefresh
.subsections_via_symbols
