	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yui_vdp2_draw
_yui_vdp2_draw:                         ## @yui_vdp2_draw
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movl	%edx, %ebx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.2:
	movl	%ecx, %r14d
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.4:
	movq	%rdi, %r15
	leal	(,%rbx,4), %r10d
	movq	_GDK_COLORSPACE_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_yui_texture_free@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	subq	$8, %rsp
	movq	%rsi, %rdi
	movl	%eax, %esi
	movl	$8, %ecx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	pushq	$0
	pushq	%r11
	pushq	%r10
	callq	_gdk_pixbuf_new_from_data
	addq	$32, %rsp
	movq	%rax, %r12
	movl	(%r15), %edi
	callq	_YUI_VIEWER
	movl	%eax, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_yui_viewer_draw_pixbuf
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_g_object_unref                 ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GDK_COLORSPACE_RGB,4,2         ## @GDK_COLORSPACE_RGB
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_yui_texture_free,4,2           ## @yui_texture_free
	.no_dead_strip	_yui_vdp2_draw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yui_vdp2_draw
_yui_vdp2_draw:                         ; @yui_vdp2_draw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_4
; %bb.1:
	mov	x20, x2
	cmp	w2, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x19, x3
	cmp	w3, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x21, x0
	lsl	w6, w20, #2
Lloh0:
	adrp	x8, _GDK_COLORSPACE_RGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GDK_COLORSPACE_RGB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TRUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x9, _yui_texture_free@GOTPAGE
Lloh7:
	ldr	x9, [x9, _yui_texture_free@GOTPAGEOFF]
Lloh8:
	ldr	w7, [x9]
	str	xzr, [sp]
	mov	x0, x1
	mov	x1, x8
	mov	w3, #8
	mov	x4, x20
	mov	x5, x19
	bl	_gdk_pixbuf_new_from_data
	mov	x22, x0
	ldr	w0, [x21]
	bl	_YUI_VIEWER
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_yui_viewer_draw_pixbuf
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_g_object_unref
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GDK_COLORSPACE_RGB,4,2         ; @GDK_COLORSPACE_RGB
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_yui_texture_free,4,2           ; @yui_texture_free
	.no_dead_strip	_yui_vdp2_draw
.subsections_via_symbols
