	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blargg_ntsc_snes_render_rgb565
_blargg_ntsc_snes_render_rgb565:        ## @blargg_ntsc_snes_render_rgb565
	.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	%r9, %r15
	movl	%r8d, %r11d
	movl	%ecx, %r10d
	movl	%edx, %r9d
	movl	%esi, %r8d
	movq	%rdi, %rbx
	movq	24(%rbp), %r14
	movl	16(%rbp), %edx
	movl	32(%rbp), %eax
	addl	%eax, %eax
	movl	4(%rdi), %ecx
	movl	8(%rdi), %edi
	cmpl	$256, %esi                      ## imm = 0x100
	jg	LBB0_2
## %bb.1:
	movq	%r15, %rsi
	pushq	%r11
	pushq	%r10
	pushq	%rax
	pushq	%r14
	callq	_retroarch_snes_ntsc_blit
	jmp	LBB0_3
LBB0_2:
	movq	%r15, %rsi
	pushq	%r11
	pushq	%r10
	pushq	%rax
	pushq	%r14
	callq	_retroarch_snes_ntsc_blit_hires
LBB0_3:
	addq	$32, %rsp
	movl	(%rbx), %eax
	xorl	%eax, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_blargg_ntsc_snes_render_rgb565
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blargg_ntsc_snes_render_rgb565
_blargg_ntsc_snes_render_rgb565:        ; @blargg_ntsc_snes_render_rgb565
	.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
	mov	x8, x7
	mov	x9, x5
	mov	x10, x3
	mov	x5, x2
	mov	x11, x1
	mov	x19, x0
	ldr	w12, [x29, #16]
	ldr	w0, [x0, #8]
	ldr	w3, [x19, #4]
	lsl	w7, w12, #1
	cmp	w1, #256
	b.gt	LBB0_2
; %bb.1:
	stp	w10, w4, [sp]
	mov	x1, x9
	mov	x2, x6
	mov	x4, x11
	mov	x6, x8
	bl	_retroarch_snes_ntsc_blit
	b	LBB0_3
LBB0_2:
	stp	w10, w4, [sp]
	mov	x1, x9
	mov	x2, x6
	mov	x4, x11
	mov	x6, x8
	bl	_retroarch_snes_ntsc_blit_hires
LBB0_3:
	ldp	w8, w9, [x19]
	eor	w8, w9, w8
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_blargg_ntsc_snes_render_rgb565
.subsections_via_symbols
