	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_gfx_frame
_exynos_gfx_frame:                      ## @exynos_gfx_frame
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	$1, %eax
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 16(%r13)
	je	LBB0_25
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.3:
	movl	(%r13), %esi
	cmpl	%r14d, %esi
	jne	LBB0_5
## %bb.4:
	cmpl	%r15d, 4(%r13)
	je	LBB0_8
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_27
## %bb.6:
	testl	%r15d, %r15d
	je	LBB0_27
## %bb.7:
	movl	4(%r13), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_RARCH_LOG
	movl	8(%r13), %edi
	movl	24(%r13), %ecx
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_exynos_setup_scale
	movl	%r14d, (%r13)
	movl	%r15d, 4(%r13)
LBB0_8:
	movl	8(%r13), %edi
	callq	_exynos_free_page
	movq	%rax, %r15
	movl	8(%r13), %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_exynos_blit_frame
	testq	%rax, %rax
	jne	LBB0_24
## %bb.9:
	cmpl	$0, (%r13)
	jne	LBB0_11
	jmp	LBB0_15
LBB0_10:
	xorl	%r15d, %r15d
	cmpl	$0, (%r13)
	je	LBB0_15
LBB0_11:
	cmpl	$0, 4(%r13)
	je	LBB0_15
## %bb.12:
	testq	%r15, %r15
	je	LBB0_16
LBB0_13:
	cmpq	$0, 16(%r13)
	je	LBB0_17
LBB0_14:
	movl	8(%r13), %edi
	movl	12(%r13), %esi
	callq	_exynos_blend_menu
	testq	%rax, %rax
	jne	LBB0_24
	jmp	LBB0_20
LBB0_15:
	movl	8(%r13), %edi
	callq	_exynos_set_fake_blit
	testq	%r15, %r15
	jne	LBB0_13
LBB0_16:
	movl	8(%r13), %edi
	callq	_exynos_free_page
	movq	%rax, %r15
	cmpq	$0, 16(%r13)
	jne	LBB0_14
LBB0_17:
	movq	24(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.18:
	cmpq	$0, 8(%rcx)
	je	LBB0_20
## %bb.19:
	movl	4(%rcx), %edx
	movq	%rcx, %rdi
	xorl	%esi, %esi
	callq	_font_driver_render_msg
LBB0_20:
	movq	16(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.21:
	movq	%r13, %rdi
	callq	_exynos_render_msg
	testq	%rax, %rax
	jne	LBB0_24
## %bb.22:
	movl	$1, (%r15)
LBB0_23:
	movl	8(%r13), %edi
	movq	%r15, %rsi
	callq	_exynos_flip
	testq	%rax, %rax
	movl	$1, %eax
	je	LBB0_25
LBB0_24:
	movl	$0, 4(%r15)
	xorl	%eax, %eax
	jmp	LBB0_25
LBB0_27:
	movl	$1, %eax
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[video_exynos]: resolution changed by core: %ux%u -> %ux%u\n"

	.no_dead_strip	_exynos_gfx_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_gfx_frame
_exynos_gfx_frame:                      ; @exynos_gfx_frame
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x7
	mov	x20, x6
	mov	x23, x5
	mov	x22, x3
	mov	x25, x2
	mov	x24, x1
	mov	x19, x0
	cbnz	x1, LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_26
LBB0_3:
	cbz	x24, LBB0_11
; %bb.4:
	ldr	w1, [x19]
	cmp	w1, w25
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x19, #4]
	cmp	w8, w22
	b.eq	LBB0_9
LBB0_6:
	mov	w0, #1
	cbz	w25, LBB0_26
; %bb.7:
	cbz	w22, LBB0_26
; %bb.8:
	ldr	w2, [x19, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x25
	mov	x4, x22
	bl	_RARCH_LOG
	ldr	w0, [x19, #8]
	ldr	w3, [x19, #24]
	mov	x1, x25
	mov	x2, x22
	bl	_exynos_setup_scale
	stp	w25, w22, [x19]
LBB0_9:
	ldr	w0, [x19, #8]
	bl	_exynos_free_page
	mov	x22, x0
	ldr	w0, [x19, #8]
	mov	x1, x24
	mov	x2, x23
	bl	_exynos_blit_frame
	cbnz	x0, LBB0_25
; %bb.10:
	ldr	w8, [x19]
	cbnz	w8, LBB0_12
	b	LBB0_16
LBB0_11:
	mov	x22, #0
	ldr	w8, [x19]
	cbz	w8, LBB0_16
LBB0_12:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_16
; %bb.13:
	cbz	x22, LBB0_17
LBB0_14:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_18
LBB0_15:
	ldp	w0, w1, [x19, #8]
	bl	_exynos_blend_menu
	cbnz	x0, LBB0_25
	b	LBB0_21
LBB0_16:
	ldr	w0, [x19, #8]
	bl	_exynos_set_fake_blit
	cbnz	x22, LBB0_14
LBB0_17:
	ldr	w0, [x19, #8]
	bl	_exynos_free_page
	mov	x22, x0
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_15
LBB0_18:
	cbz	x21, LBB0_21
; %bb.19:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_21
; %bb.20:
	ldr	w2, [x21, #4]
	mov	x0, x21
	mov	x1, #0
	mov	x3, x21
	bl	_font_driver_render_msg
LBB0_21:
	cbz	x20, LBB0_24
; %bb.22:
	mov	x0, x19
	mov	x1, x20
	bl	_exynos_render_msg
	cbnz	x0, LBB0_25
; %bb.23:
	mov	w8, #1
	str	w8, [x22]
LBB0_24:
	ldr	w0, [x19, #8]
	mov	x1, x22
	bl	_exynos_flip
	cbz	x0, LBB0_2
LBB0_25:
	mov	w0, #0
	str	wzr, [x22, #4]
LBB0_26:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[video_exynos]: resolution changed by core: %ux%u -> %ux%u\n"

	.no_dead_strip	_exynos_gfx_frame
.subsections_via_symbols
