	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_surface_trace           ## -- Begin function update_surface_trace
	.p2align	4, 0x90
_update_surface_trace:                  ## @update_surface_trace
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_DC_LOGGER_INIT
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.1:
	movl	%r14d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	$16, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
	incq	%r12
	addq	$24, %rbx
	cmpq	%r12, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rax), %esi
	movl	8(%rax), %edx
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	96(%rax), %esi
	movl	92(%rax), %edx
	movl	88(%rax), %ecx
	movl	84(%rax), %r8d
	movl	80(%rax), %r9d
	movl	76(%rax), %r10d
	movl	72(%rax), %r11d
	movl	64(%rax), %r14d
	movl	68(%rax), %r15d
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r14
	pushq	%r15
	pushq	%r11
	pushq	%r10
	callq	_SURFACE_TRACE
	addq	$32, %rsp
	movq	-8(%rbx), %rax
	movl	52(%rax), %esi
	movl	48(%rax), %edx
	movl	44(%rax), %ecx
	movl	40(%rax), %r8d
	movl	36(%rax), %r9d
	movl	32(%rax), %edi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	28(%rax), %r11d
	movl	24(%rax), %r14d
	movl	20(%rax), %r15d
	movl	12(%rax), %r13d
	movl	16(%rax), %r10d
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r13
	pushq	%r10
	pushq	%r15
	pushq	%r14
	pushq	%r11
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_SURFACE_TRACE
	addq	$48, %rsp
	movq	-8(%rbx), %rax
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	movl	60(%rax), %ecx
	movl	56(%rax), %r8d
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
	movq	-8(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	60(%rax), %esi
	movl	56(%rax), %edx
	movl	52(%rax), %ecx
	movl	48(%rax), %r8d
	movl	44(%rax), %r9d
	movl	40(%rax), %edi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	36(%rax), %edi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	32(%rax), %edi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	28(%rax), %edi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	24(%rax), %edi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	20(%rax), %edi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rax), %r11d
	movl	12(%rax), %r14d
	movl	8(%rax), %r15d
	movl	(%rax), %r13d
	movl	4(%rax), %r10d
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r13
	pushq	%r10
	pushq	%r15
	pushq	%r14
	pushq	%r11
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_SURFACE_TRACE
	addq	$96, %rsp
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SURFACE_TRACE                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Update %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"flip_addr->address.type = %d;\nflip_addr->address.grph.addr.quad_part = 0x%llX;\nflip_addr->address.grph.meta_addr.quad_part = 0x%llX;\nflip_addr->flip_immediate = %d;\n"

L_.str.2:                               ## @.str.2
	.asciz	"plane_info->color_space = %d;\nplane_info->format = %d;\nplane_info->plane_size.surface_pitch = %d;\nplane_info->plane_size.surface_size.height = %d;\nplane_info->plane_size.surface_size.width = %d;\nplane_info->plane_size.surface_size.x = %d;\nplane_info->plane_size.surface_size.y = %d;\nplane_info->rotation = %d;\nplane_info->stereo_format = %d;\n"

L_.str.3:                               ## @.str.3
	.asciz	"plane_info->tiling_info.gfx8.num_banks = %d;\nplane_info->tiling_info.gfx8.bank_width = %d;\nplane_info->tiling_info.gfx8.bank_width_c = %d;\nplane_info->tiling_info.gfx8.bank_height = %d;\nplane_info->tiling_info.gfx8.bank_height_c = %d;\nplane_info->tiling_info.gfx8.tile_aspect = %d;\nplane_info->tiling_info.gfx8.tile_aspect_c = %d;\nplane_info->tiling_info.gfx8.tile_split = %d;\nplane_info->tiling_info.gfx8.tile_split_c = %d;\nplane_info->tiling_info.gfx8.tile_mode = %d;\nplane_info->tiling_info.gfx8.tile_mode_c = %d;\n"

L_.str.4:                               ## @.str.4
	.asciz	"plane_info->tiling_info.gfx8.pipe_config = %d;\nplane_info->tiling_info.gfx8.array_mode = %d;\nplane_info->visible = %d;\nplane_info->per_pixel_alpha = %d;\n"

L_.str.5:                               ## @.str.5
	.asciz	"surface->tiling_info.gfx9.swizzle = %d;\n"

L_.str.6:                               ## @.str.6
	.asciz	"scaling_info->src_rect.x = %d;\nscaling_info->src_rect.y = %d;\nscaling_info->src_rect.width = %d;\nscaling_info->src_rect.height = %d;\nscaling_info->dst_rect.x = %d;\nscaling_info->dst_rect.y = %d;\nscaling_info->dst_rect.width = %d;\nscaling_info->dst_rect.height = %d;\nscaling_info->clip_rect.x = %d;\nscaling_info->clip_rect.y = %d;\nscaling_info->clip_rect.width = %d;\nscaling_info->clip_rect.height = %d;\nscaling_info->scaling_quality.h_taps = %d;\nscaling_info->scaling_quality.v_taps = %d;\nscaling_info->scaling_quality.h_taps_c = %d;\nscaling_info->scaling_quality.v_taps_c = %d;\n"

L_.str.7:                               ## @.str.7
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_surface_trace           ; -- Begin function update_surface_trace
	.p2align	2
_update_surface_trace:                  ; @update_surface_trace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x20, x2
	mov	x19, x1
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_DC_LOGGER_INIT
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x27, #0
	mov	w28, w20
	add	x21, x19, #8
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
Lloh2:
	adrp	x20, l_.str.7@PAGE
Lloh3:
	add	x20, x20, l_.str.7@PAGEOFF
Lloh4:
	adrp	x22, l_.str.2@PAGE
Lloh5:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh6:
	adrp	x23, l_.str.3@PAGE
Lloh7:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh8:
	adrp	x24, l_.str.4@PAGE
Lloh9:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh10:
	adrp	x25, l_.str.5@PAGE
Lloh11:
	add	x25, x25, l_.str.5@PAGEOFF
Lloh12:
	adrp	x26, l_.str.1@PAGE
Lloh13:
	add	x26, x26, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_SURFACE_TRACE
	add	x27, x27, #1
	add	x21, x21, #24
	cmp	x28, x27
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x27, [sp]
	mov	x0, x19
	bl	_SURFACE_TRACE
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w10, w9, [x8, #8]
	ldp	w8, w11, [x8]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
	mov	x0, x26
	bl	_SURFACE_TRACE
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w10, w9, [x8, #92]
	ldp	w12, w11, [x8, #84]
	ldp	w14, w13, [x8, #76]
	ldp	w16, w15, [x8, #68]
	ldr	w8, [x8, #64]
	stp	x16, x8, [sp, #56]
	stp	x14, x15, [sp, #40]
	stp	x12, x13, [sp, #24]
	stp	x10, x11, [sp, #8]
	str	x9, [sp]
	mov	x0, x22
	bl	_SURFACE_TRACE
	ldr	x8, [x21]
	ldp	w10, w9, [x8, #48]
	ldp	w12, w11, [x8, #40]
	ldp	w14, w13, [x8, #32]
	ldp	w16, w15, [x8, #24]
	ldp	w0, w17, [x8, #16]
	ldr	w8, [x8, #12]
	stp	x0, x8, [sp, #72]
	stp	x16, x17, [sp, #56]
	stp	x14, x15, [sp, #40]
	stp	x12, x13, [sp, #24]
	stp	x10, x11, [sp, #8]
	str	x9, [sp]
	mov	x0, x23
	bl	_SURFACE_TRACE
	ldr	x8, [x21]
	ldp	w10, w9, [x8, #4]
	ldp	w8, w11, [x8, #56]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
	mov	x0, x24
	bl	_SURFACE_TRACE
	ldr	x8, [x21]
	ldr	w8, [x8]
	str	x8, [sp]
	mov	x0, x25
	bl	_SURFACE_TRACE
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x21, #-8]
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w10, w9, [x8, #56]
	ldp	w12, w11, [x8, #48]
	ldp	w14, w13, [x8, #40]
	ldp	w16, w15, [x8, #32]
	ldp	w0, w17, [x8, #24]
	ldp	w2, w1, [x8, #16]
	ldp	w4, w3, [x8, #8]
	ldp	w8, w5, [x8]
	stp	x5, x8, [sp, #112]
	stp	x3, x4, [sp, #96]
	stp	x1, x2, [sp, #80]
	stp	x17, x0, [sp, #64]
	stp	x15, x16, [sp, #48]
	stp	x13, x14, [sp, #32]
	stp	x11, x12, [sp, #16]
	stp	x9, x10, [sp]
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_SURFACE_TRACE
	b	LBB0_2
LBB0_9:
Lloh16:
	adrp	x0, l_.str.7@PAGE
Lloh17:
	add	x0, x0, l_.str.7@PAGEOFF
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_SURFACE_TRACE
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Update %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"flip_addr->address.type = %d;\nflip_addr->address.grph.addr.quad_part = 0x%llX;\nflip_addr->address.grph.meta_addr.quad_part = 0x%llX;\nflip_addr->flip_immediate = %d;\n"

l_.str.2:                               ; @.str.2
	.asciz	"plane_info->color_space = %d;\nplane_info->format = %d;\nplane_info->plane_size.surface_pitch = %d;\nplane_info->plane_size.surface_size.height = %d;\nplane_info->plane_size.surface_size.width = %d;\nplane_info->plane_size.surface_size.x = %d;\nplane_info->plane_size.surface_size.y = %d;\nplane_info->rotation = %d;\nplane_info->stereo_format = %d;\n"

l_.str.3:                               ; @.str.3
	.asciz	"plane_info->tiling_info.gfx8.num_banks = %d;\nplane_info->tiling_info.gfx8.bank_width = %d;\nplane_info->tiling_info.gfx8.bank_width_c = %d;\nplane_info->tiling_info.gfx8.bank_height = %d;\nplane_info->tiling_info.gfx8.bank_height_c = %d;\nplane_info->tiling_info.gfx8.tile_aspect = %d;\nplane_info->tiling_info.gfx8.tile_aspect_c = %d;\nplane_info->tiling_info.gfx8.tile_split = %d;\nplane_info->tiling_info.gfx8.tile_split_c = %d;\nplane_info->tiling_info.gfx8.tile_mode = %d;\nplane_info->tiling_info.gfx8.tile_mode_c = %d;\n"

l_.str.4:                               ; @.str.4
	.asciz	"plane_info->tiling_info.gfx8.pipe_config = %d;\nplane_info->tiling_info.gfx8.array_mode = %d;\nplane_info->visible = %d;\nplane_info->per_pixel_alpha = %d;\n"

l_.str.5:                               ; @.str.5
	.asciz	"surface->tiling_info.gfx9.swizzle = %d;\n"

l_.str.6:                               ; @.str.6
	.asciz	"scaling_info->src_rect.x = %d;\nscaling_info->src_rect.y = %d;\nscaling_info->src_rect.width = %d;\nscaling_info->src_rect.height = %d;\nscaling_info->dst_rect.x = %d;\nscaling_info->dst_rect.y = %d;\nscaling_info->dst_rect.width = %d;\nscaling_info->dst_rect.height = %d;\nscaling_info->clip_rect.x = %d;\nscaling_info->clip_rect.y = %d;\nscaling_info->clip_rect.width = %d;\nscaling_info->clip_rect.height = %d;\nscaling_info->scaling_quality.h_taps = %d;\nscaling_info->scaling_quality.v_taps = %d;\nscaling_info->scaling_quality.h_taps_c = %d;\nscaling_info->scaling_quality.v_taps_c = %d;\n"

l_.str.7:                               ; @.str.7
	.asciz	"\n"

.subsections_via_symbols
