	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_gl_draw                    ## -- Begin function yui_gl_draw
	.p2align	4, 0x90
_yui_gl_draw:                           ## @yui_gl_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_VIDCore@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-32(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_GTK_WIDGET
	movl	4(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_GTK_WIDGET
	movl	8(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%rbx), %eax
	shll	$2, %eax
	movl	%eax, 8(%rbx)
	movq	_dispbuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	_GDK_COLORSPACE_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-32(%rbp), %r8d
	movl	-28(%rbp), %r9d
	leal	(,%r8,4), %eax
	subq	$32, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rsp)
	movl	%eax, (%rsp)
	movl	$8, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_gdk_pixbuf_new_from_data
	addq	$32, %rsp
	movq	%rax, %r14
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	movq	_X_NOSCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	-32(%rbp), %eax
	cmpl	%eax, %esi
	jge	LBB0_4
## %bb.2:
	movq	_Y_NOSCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jge	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_GTK_WIDGET
	movl	(%rax), %edi
	movl	-32(%rbp), %r10d
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	subl	%r10d, %ecx
	movl	%ecx, %r9d
	shrl	$31, %r9d
	addl	%ecx, %r9d
	sarl	%r9d
	movl	-28(%rbp), %r11d
	subl	%r11d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	movq	_GDK_RGB_DITHER_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	xorl	%esi, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	$0
	pushq	%r15
	pushq	%r11
	pushq	%r10
	pushq	%rax
	callq	_gdk_draw_pixbuf
	addq	$48, %rsp
	jmp	LBB0_5
LBB0_4:
	movq	_GDK_INTERP_NEAREST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_gdk_pixbuf_scale_simple
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_GTK_WIDGET
	movl	(%rax), %edi
	movl	(%rbx), %r10d
	movl	4(%rbx), %r11d
	movq	_GDK_RGB_DITHER_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	xorl	%esi, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	%rax
	pushq	%r11
	pushq	%r10
	pushq	$0
	callq	_gdk_draw_pixbuf
	addq	$48, %rsp
	movq	%r15, %rdi
	callq	_g_object_unref
LBB0_5:
	movq	%r14, %rdi
	callq	_g_object_unref
	movl	$1, 12(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDCore,8,3                    ## @VIDCore
	.comm	_dispbuffer,8,3                 ## @dispbuffer
	.comm	_GDK_COLORSPACE_RGB,4,2         ## @GDK_COLORSPACE_RGB
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_X_NOSCALE,4,2                  ## @X_NOSCALE
	.comm	_Y_NOSCALE,4,2                  ## @Y_NOSCALE
	.comm	_GDK_RGB_DITHER_NONE,4,2        ## @GDK_RGB_DITHER_NONE
	.comm	_GDK_INTERP_NEAREST,4,2         ## @GDK_INTERP_NEAREST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_gl_draw                    ; -- Begin function yui_gl_draw
	.p2align	2
_yui_gl_draw:                           ; @yui_gl_draw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _VIDCore@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDCore@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x0, sp, #28
	add	x1, sp, #24
	blr	x8
	mov	x0, x19
	bl	_GTK_WIDGET
	ldr	w8, [x0, #4]
	str	w8, [x19]
	mov	x0, x19
	bl	_GTK_WIDGET
	ldr	w8, [x0, #8]
	ldr	w9, [x19]
	lsl	w9, w9, #2
	stp	w8, w9, [x19, #4]
Lloh3:
	adrp	x8, _dispbuffer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dispbuffer@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.1:
Lloh6:
	adrp	x8, _GDK_COLORSPACE_RGB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GDK_COLORSPACE_RGB@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldp	w5, w4, [sp, #24]
	lsl	w6, w4, #2
	str	xzr, [sp]
	mov	w3, #8
	mov	x7, #0
	bl	_gdk_pixbuf_new_from_data
	mov	x20, x0
Lloh12:
	adrp	x8, _X_NOSCALE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _X_NOSCALE@GOTPAGEOFF]
	ldr	w9, [sp, #28]
Lloh14:
	ldr	w8, [x8]
	ldp	w1, w2, [x19]
	add	w8, w8, w9
	cmp	w1, w8
	b.ge	LBB0_4
; %bb.2:
	ldr	w8, [sp, #24]
Lloh15:
	adrp	x9, _Y_NOSCALE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _Y_NOSCALE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	add	w8, w9, w8
	cmp	w2, w8
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_GTK_WIDGET
	ldr	w0, [x0]
	ldr	w7, [sp, #28]
	ldp	w8, w9, [x19]
	sub	w8, w8, w7
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w5, w8, #1
	ldr	w8, [sp, #24]
	sub	w9, w9, w8
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w6, w9, #1
Lloh18:
	adrp	x9, _GDK_RGB_DITHER_NONE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _GDK_RGB_DITHER_NONE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	str	xzr, [sp, #8]
	stp	w8, w9, [sp]
	mov	x1, #0
	mov	x2, x20
	mov	w3, #0
	mov	w4, #0
	bl	_gdk_draw_pixbuf
	b	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, _GDK_INTERP_NEAREST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GDK_INTERP_NEAREST@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_gdk_pixbuf_scale_simple
	mov	x21, x0
	mov	x0, x19
	bl	_GTK_WIDGET
	ldr	w0, [x0]
	ldp	w7, w8, [x19]
Lloh24:
	adrp	x9, _GDK_RGB_DITHER_NONE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _GDK_RGB_DITHER_NONE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	str	xzr, [sp, #8]
	stp	w8, w9, [sp]
	mov	x1, #0
	mov	x2, x21
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_gdk_draw_pixbuf
	mov	x0, x21
	bl	_g_object_unref
LBB0_5:
	mov	x0, x20
	bl	_g_object_unref
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDCore,8,3                    ; @VIDCore
	.comm	_dispbuffer,8,3                 ; @dispbuffer
	.comm	_GDK_COLORSPACE_RGB,4,2         ; @GDK_COLORSPACE_RGB
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_X_NOSCALE,4,2                  ; @X_NOSCALE
	.comm	_Y_NOSCALE,4,2                  ; @Y_NOSCALE
	.comm	_GDK_RGB_DITHER_NONE,4,2        ; @GDK_RGB_DITHER_NONE
	.comm	_GDK_INTERP_NEAREST,4,2         ; @GDK_INTERP_NEAREST
.subsections_via_symbols
