	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_ctx_opendingux_set_video_mode
_gfx_ctx_opendingux_set_video_mode:     ## @gfx_ctx_opendingux_set_video_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%r8d, %r8d
	movl	$1280, %eax                     ## imm = 0x500
	cmovnel	%edx, %eax
	movl	$1024, %esi                     ## imm = 0x400
	cmovnel	%ecx, %esi
	movl	$1280, %r8d                     ## imm = 0x500
	testl	%edx, %edx
	cmovel	%r8d, %eax
	movl	$1024, %edx                     ## imm = 0x400
	testl	%ecx, %ecx
	cmovel	%edx, %esi
	movl	%eax, (%rdi)
	movl	%esi, 4(%rdi)
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gfx_ctx_opendingux_set_video_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_ctx_opendingux_set_video_mode
_gfx_ctx_opendingux_set_video_mode:     ; @gfx_ctx_opendingux_set_video_mode
	.cfi_startproc
; %bb.0:
	cmp	w2, #0
	cset	w8, ne
	cmp	w4, #0
	cset	w9, ne
	tst	w8, w9
	mov	w8, #1280
	csel	w8, w2, w8, ne
	cmp	w3, #0
	cset	w10, ne
	tst	w10, w9
	mov	w9, #1024
	csel	w9, w3, w9, ne
	stp	w8, w9, [x0]
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gfx_ctx_opendingux_set_video_mode
.subsections_via_symbols
