	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function yui_vdp1_fill
LCPI0_0:
	.long	0x41800000                      ## float 16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_yui_vdp1_fill
	.p2align	4, 0x90
_yui_vdp1_fill:                         ## @yui_vdp1_fill
	.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
	movl	$4136, %eax                     ## imm = 0x1028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -4160(%rbp)               ## 8-byte Spill
	callq	_yui_vdp1_clear
	xorl	%edi, %edi
	callq	_Vdp1DebugGetCommandNumberName
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r12
	movq	_MAX_VDP1_COMMAND@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_12
## %bb.2:
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r14), %rbx
	movq	-4160(%rbp), %r13               ## 8-byte Reload
	movl	28(%r13), %edi
	leaq	-4164(%rbp), %r15
	movq	%r15, %rsi
	callq	_gtk_list_store_append
	movl	28(%r13), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movl	$-1, %r8d
	callq	_gtk_list_store_set
	movq	%rbx, %rdi
	leaq	-4144(%rbp), %rsi
	leaq	-4148(%rbp), %rdx
	callq	_Vdp1DebugTexture
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-4144(%rbp), %r8d
	testl	%r8d, %r8d
	jle	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-4148(%rbp), %r9d
	testl	%r9d, %r9d
	jle	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(,%r8,4), %r10d
	movq	_GDK_COLORSPACE_RGB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_yui_texture_free@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movq	%rax, %rdi
	movl	$8, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	pushq	$0
	pushq	%rbx
	pushq	%r10
	callq	_gdk_pixbuf_new_from_data
	addq	$32, %rsp
	movq	%rax, %r12
	movl	-4148(%rbp), %edx
	cmpl	$17, %edx
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cvtsi2ss	%edx, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-4144(%rbp), %xmm0
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %esi
	movq	_GDK_INTERP_BILINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	$16, %edx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-4144(%rbp), %esi
	movq	_GDK_INTERP_BILINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_gdk_pixbuf_scale_simple
	movq	%rax, %r13
	movq	-4160(%rbp), %rax               ## 8-byte Reload
	movl	28(%rax), %edi
	leaq	-4164(%rbp), %rsi
	movl	$1, %edx
	movq	%r13, %rcx
	movl	$-1, %r8d
	callq	_gtk_list_store_set
	movq	%r12, %rdi
	callq	_g_object_unref
	movq	%r13, %rdi
	callq	_g_object_unref
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_Vdp1DebugGetCommandNumberName
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	leaq	1(%r14), %rax
	movq	_MAX_VDP1_COMMAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	movq	%rax, %r14
	jl	LBB0_3
LBB0_12:
	movq	-4160(%rbp), %rbx               ## 8-byte Reload
	movq	(%rbx), %rdi
	leaq	-4144(%rbp), %r14
	movq	%r14, %rsi
	callq	_Vdp1DebugCommand
	movl	24(%rbx), %r15d
	movq	%r14, %rdi
	callq	_g_strstrip
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_gtk_text_buffer_set_text
	movq	(%rbx), %rdi
	leaq	8(%rbx), %rsi
	leaq	12(%rbx), %rdx
	callq	_Vdp1DebugTexture
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_yui_vdp1_draw
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$4136, %rsp                     ## imm = 0x1028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_VDP1_COMMAND,8,3           ## @MAX_VDP1_COMMAND
	.comm	_GDK_COLORSPACE_RGB,4,2         ## @GDK_COLORSPACE_RGB
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_yui_texture_free,4,2           ## @yui_texture_free
	.comm	_GDK_INTERP_BILINEAR,4,2        ## @GDK_INTERP_BILINEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_vdp1_fill                  ; -- Begin function yui_vdp1_fill
	.p2align	2
_yui_vdp1_fill:                         ; @yui_vdp1_fill
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
	bl	_yui_vdp1_clear
	mov	x0, #0
	bl	_Vdp1DebugGetCommandNumberName
	cbz	x0, LBB0_11
; %bb.1:
Lloh5:
	adrp	x23, _MAX_VDP1_COMMAND@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MAX_VDP1_COMMAND@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x21, x0
Lloh7:
	adrp	x24, _GDK_COLORSPACE_RGB@GOTPAGE
Lloh8:
	ldr	x24, [x24, _GDK_COLORSPACE_RGB@GOTPAGEOFF]
Lloh9:
	adrp	x25, _TRUE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	mov	w20, #1
Lloh11:
	adrp	x26, _yui_texture_free@GOTPAGE
Lloh12:
	ldr	x26, [x26, _yui_texture_free@GOTPAGEOFF]
	fmov	s8, #16.00000000
Lloh13:
	adrp	x27, _GDK_INTERP_BILINEAR@GOTPAGE
Lloh14:
	ldr	x27, [x27, _GDK_INTERP_BILINEAR@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x22, x20, #1
	ldr	w0, [x19, #28]
	add	x1, sp, #20
	bl	_gtk_list_store_append
	ldr	w0, [x19, #28]
	add	x1, sp, #20
	mov	w2, #0
	mov	x3, x21
	mov	w4, #-1
	bl	_gtk_list_store_set
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x22
	bl	_Vdp1DebugTexture
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w4, [sp, #24]
	ldr	w5, [sp, #16]
	cmp	w4, #1
	ccmp	w5, #1, #8, ge
	b.lt	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w6, w4, #2
	ldr	w1, [x24]
	ldr	w2, [x25]
	ldr	w7, [x26]
	str	xzr, [sp]
	mov	w3, #8
	bl	_gdk_pixbuf_new_from_data
	mov	x21, x0
	ldr	w2, [sp, #16]
	cmp	w2, #17
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	scvtf	s0, w2
	fdiv	s0, s8, s0
	ldr	s1, [sp, #24]
	scvtf	s1, s1
	fmul	s0, s0, s1
	fcvtzs	w1, s0
	ldr	w3, [x27]
	mov	x0, x21
	mov	w2, #16
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [sp, #24]
	ldr	w3, [x27]
	mov	x0, x21
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_gdk_pixbuf_scale_simple
	mov	x22, x0
	ldr	w0, [x19, #28]
	add	x1, sp, #20
	mov	w2, #1
	mov	x3, x22
	mov	w4, #-1
	bl	_gtk_list_store_set
	mov	x0, x21
	bl	_g_object_unref
	mov	x0, x22
	bl	_g_object_unref
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_Vdp1DebugGetCommandNumberName
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	ldr	x8, [x23]
	add	x9, x20, #1
	cmp	x20, x8
	mov	x20, x9
	b.lt	LBB0_3
LBB0_11:
	ldr	x0, [x19]
	add	x1, sp, #24
	bl	_Vdp1DebugCommand
	ldr	w20, [x19, #24]
	add	x0, sp, #24
	bl	_g_strstrip
	mov	x1, x0
	mov	x0, x20
	mov	w2, #-1
	bl	_gtk_text_buffer_set_text
	ldr	x0, [x19]
	add	x1, x19, #8
	add	x2, x19, #12
	bl	_Vdp1DebugTexture
	str	x0, [x19, #16]
	mov	x0, x19
	bl	_yui_vdp1_draw
	ldur	x8, [x29, #-104]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_VDP1_COMMAND,8,3           ; @MAX_VDP1_COMMAND
	.comm	_GDK_COLORSPACE_RGB,4,2         ; @GDK_COLORSPACE_RGB
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_yui_texture_free,4,2           ; @yui_texture_free
	.comm	_GDK_INTERP_BILINEAR,4,2        ; @GDK_INTERP_BILINEAR
.subsections_via_symbols
