	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pre_surface_trace              ## -- Begin function pre_surface_trace
	.p2align	4, 0x90
_pre_surface_trace:                     ## @pre_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	$40, %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_3
## %bb.1:
	movl	%r14d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r14,8), %r12
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
	movl	176(%r12), %esi
	movl	172(%r12), %edx
	movl	168(%r12), %ecx
	movl	164(%r12), %r8d
	movl	160(%r12), %r9d
	movl	156(%r12), %r10d
	movl	152(%r12), %r11d
	movl	144(%r12), %ebx
	movl	148(%r12), %r13d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r13
	pushq	%r11
	pushq	%r10
	callq	_SURFACE_TRACE
	addq	$32, %rsp
	movl	140(%r12), %esi
	movl	136(%r12), %edx
	movl	132(%r12), %ecx
	movl	128(%r12), %r8d
	movl	124(%r12), %r9d
	movl	120(%r12), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	116(%r12), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	112(%r12), %r13d
	movl	108(%r12), %ebx
	movl	104(%r12), %r15d
	movl	96(%r12), %r10d
	movl	100(%r12), %r11d
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r11
	pushq	%r15
	pushq	%rbx
	pushq	%r13
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_SURFACE_TRACE
	addq	$64, %rsp
	movl	92(%r12), %esi
	movl	88(%r12), %edx
	movl	84(%r12), %ecx
	movl	76(%r12), %r9d
	movl	80(%r12), %r8d
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
	movl	52(%r12), %esi
	movl	48(%r12), %edx
	movl	44(%r12), %ecx
	movl	40(%r12), %r8d
	movl	36(%r12), %r9d
	movl	32(%r12), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	28(%r12), %r11d
	movl	24(%r12), %r15d
	movl	20(%r12), %r13d
	movl	12(%r12), %ebx
	movl	16(%r12), %r10d
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	pushq	%r13
	pushq	%r15
	pushq	%r11
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_SURFACE_TRACE
	addq	$48, %rsp
	movl	4(%r12), %edx
	movl	8(%r12), %esi
	movl	72(%r12), %ecx
	movl	68(%r12), %r8d
	movl	64(%r12), %r9d
	movl	60(%r12), %r10d
	movl	56(%r12), %ebx
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	pushq	%rbx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	pushq	%r10
	callq	_SURFACE_TRACE
	addq	$16, %rsp
	movl	(%r12), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_SURFACE_TRACE
	incq	%r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_3:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	addq	$40, %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	"Planes %d:\n"

L_.str.1:                               ## @.str.1
	.asciz	"plane_state->visible = %d;\nplane_state->flip_immediate = %d;\nplane_state->address.type = %d;\nplane_state->address.grph.addr.quad_part = 0x%llX;\nplane_state->address.grph.meta_addr.quad_part = 0x%llX;\nplane_state->scaling_quality.h_taps = %d;\nplane_state->scaling_quality.v_taps = %d;\nplane_state->scaling_quality.h_taps_c = %d;\nplane_state->scaling_quality.v_taps_c = %d;\n"

L_.str.2:                               ## @.str.2
	.asciz	"plane_state->src_rect.x = %d;\nplane_state->src_rect.y = %d;\nplane_state->src_rect.width = %d;\nplane_state->src_rect.height = %d;\nplane_state->dst_rect.x = %d;\nplane_state->dst_rect.y = %d;\nplane_state->dst_rect.width = %d;\nplane_state->dst_rect.height = %d;\nplane_state->clip_rect.x = %d;\nplane_state->clip_rect.y = %d;\nplane_state->clip_rect.width = %d;\nplane_state->clip_rect.height = %d;\n"

L_.str.3:                               ## @.str.3
	.asciz	"plane_state->plane_size.surface_size.x = %d;\nplane_state->plane_size.surface_size.y = %d;\nplane_state->plane_size.surface_size.width = %d;\nplane_state->plane_size.surface_size.height = %d;\nplane_state->plane_size.surface_pitch = %d;\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"plane_state->tiling_info.gfx8.pipe_config = %d;\nplane_state->tiling_info.gfx8.array_mode = %d;\nplane_state->color_space = %d;\nplane_state->dcc.enable = %d;\nplane_state->format = %d;\nplane_state->rotation = %d;\nplane_state->stereo_format = %d;\n"

L_.str.6:                               ## @.str.6
	.asciz	"plane_state->tiling_info.gfx9.swizzle = %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	_pre_surface_trace              ; -- Begin function pre_surface_trace
	.p2align	2
_pre_surface_trace:                     ; @pre_surface_trace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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_3
; %bb.1:
	mov	x28, #0
	mov	w20, w20
Lloh0:
	adrp	x22, l_.str.2@PAGE
Lloh1:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh2:
	adrp	x23, l_.str.3@PAGE
Lloh3:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh4:
	adrp	x24, l_.str.4@PAGE
Lloh5:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh6:
	adrp	x25, l_.str.5@PAGE
Lloh7:
	add	x25, x25, l_.str.5@PAGEOFF
Lloh8:
	adrp	x26, l_.str.6@PAGE
Lloh9:
	add	x26, x26, l_.str.6@PAGEOFF
Lloh10:
	adrp	x27, l_.str.7@PAGE
Lloh11:
	add	x27, x27, l_.str.7@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19, x28, lsl #3]
	str	x28, [sp]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SURFACE_TRACE
	ldp	w9, w8, [x21, #172]
	ldp	w11, w10, [x21, #164]
	ldp	w13, w12, [x21, #156]
	ldp	w15, w14, [x21, #148]
	ldr	w16, [x21, #144]
	stp	x15, x16, [sp, #56]
	stp	x13, x14, [sp, #40]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_SURFACE_TRACE
	ldp	w9, w8, [x21, #136]
	ldp	w11, w10, [x21, #128]
	ldp	w13, w12, [x21, #120]
	ldp	w15, w14, [x21, #112]
	ldp	w17, w16, [x21, #104]
	ldp	w1, w0, [x21, #96]
	stp	x0, x1, [sp, #80]
	stp	x16, x17, [sp, #64]
	stp	x14, x15, [sp, #48]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
	mov	x0, x22
	bl	_SURFACE_TRACE
	ldp	w9, w8, [x21, #88]
	ldp	w11, w10, [x21, #80]
	ldr	w12, [x21, #76]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x0, x23
	bl	_SURFACE_TRACE
	ldp	w9, w8, [x21, #48]
	ldp	w11, w10, [x21, #40]
	ldp	w13, w12, [x21, #32]
	ldp	w15, w14, [x21, #24]
	ldp	w17, w16, [x21, #16]
	ldr	w0, [x21, #12]
	stp	x17, x0, [sp, #72]
	stp	x15, x16, [sp, #56]
	stp	x13, x14, [sp, #40]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x0, x24
	bl	_SURFACE_TRACE
	ldp	w9, w8, [x21, #4]
	ldp	w11, w10, [x21, #68]
	ldp	w13, w12, [x21, #60]
	ldr	w14, [x21, #56]
	stp	x13, x14, [sp, #40]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x0, x25
	bl	_SURFACE_TRACE
	ldr	w8, [x21]
	str	x8, [sp]
	mov	x0, x26
	bl	_SURFACE_TRACE
	mov	x0, x27
	bl	_SURFACE_TRACE
	add	x28, x28, #1
	cmp	x20, x28
	b.ne	LBB0_2
LBB0_3:
Lloh16:
	adrp	x0, l_.str.7@PAGE
Lloh17:
	add	x0, x0, l_.str.7@PAGEOFF
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	b	_SURFACE_TRACE
	.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	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Planes %d:\n"

l_.str.1:                               ; @.str.1
	.asciz	"plane_state->visible = %d;\nplane_state->flip_immediate = %d;\nplane_state->address.type = %d;\nplane_state->address.grph.addr.quad_part = 0x%llX;\nplane_state->address.grph.meta_addr.quad_part = 0x%llX;\nplane_state->scaling_quality.h_taps = %d;\nplane_state->scaling_quality.v_taps = %d;\nplane_state->scaling_quality.h_taps_c = %d;\nplane_state->scaling_quality.v_taps_c = %d;\n"

l_.str.2:                               ; @.str.2
	.asciz	"plane_state->src_rect.x = %d;\nplane_state->src_rect.y = %d;\nplane_state->src_rect.width = %d;\nplane_state->src_rect.height = %d;\nplane_state->dst_rect.x = %d;\nplane_state->dst_rect.y = %d;\nplane_state->dst_rect.width = %d;\nplane_state->dst_rect.height = %d;\nplane_state->clip_rect.x = %d;\nplane_state->clip_rect.y = %d;\nplane_state->clip_rect.width = %d;\nplane_state->clip_rect.height = %d;\n"

l_.str.3:                               ; @.str.3
	.asciz	"plane_state->plane_size.surface_size.x = %d;\nplane_state->plane_size.surface_size.y = %d;\nplane_state->plane_size.surface_size.width = %d;\nplane_state->plane_size.surface_size.height = %d;\nplane_state->plane_size.surface_pitch = %d;\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"plane_state->tiling_info.gfx8.pipe_config = %d;\nplane_state->tiling_info.gfx8.array_mode = %d;\nplane_state->color_space = %d;\nplane_state->dcc.enable = %d;\nplane_state->format = %d;\nplane_state->rotation = %d;\nplane_state->stereo_format = %d;\n"

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

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

.subsections_via_symbols
