	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttm_mem_type_debug
_ttm_mem_type_debug:                    ## @ttm_mem_type_debug
	.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
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movslq	%edx, %r12
	leaq	(%r12,%r12,4), %rbx
	movl	32(%r15,%rbx,8), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_printf
	movl	28(%r15,%rbx,8), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_printf
	movl	24(%r15,%rbx,8), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_printf
	movl	20(%r15,%rbx,8), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_printf
	movl	16(%r15,%rbx,8), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_printf
	movl	12(%r15,%rbx,8), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_printf
	movl	8(%r15,%rbx,8), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_printf
	movq	_TTM_PL_SYSTEM@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	(%r15,%rbx,8), %rdi
	movq	(%r15,%rbx,8), %rax
	movq	(%rax), %rax
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"    has_type: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"    use_type: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"    flags: 0x%08X\n"

L_.str.3:                               ## @.str.3
	.asciz	"    gpu_offset: 0x%08llX\n"

L_.str.4:                               ## @.str.4
	.asciz	"    size: %llu\n"

L_.str.5:                               ## @.str.5
	.asciz	"    available_caching: 0x%08X\n"

L_.str.6:                               ## @.str.6
	.asciz	"    default_caching: 0x%08X\n"

	.comm	_TTM_PL_SYSTEM,4,2              ## @TTM_PL_SYSTEM
	.no_dead_strip	_ttm_mem_type_debug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttm_mem_type_debug
_ttm_mem_type_debug:                    ; @ttm_mem_type_debug
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x19, x1
	ldr	x21, [x0]
	mov	w8, #40
	smaddl	x22, w2, w8, x21
	ldr	w2, [x22, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w2, [x22, #28]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w2, [x22, #24]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w2, [x22, #20]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w2, [x22, #16]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w2, [x22, #12]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
	ldr	w2, [x22, #8]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_drm_printf
Lloh14:
	adrp	x8, _TTM_PL_SYSTEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TTM_PL_SYSTEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	sxtw	x8, w20
	mov	w9, #40
	madd	x0, x8, x9, x21
	ldr	x8, [x0]
	ldr	x2, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"    has_type: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"    use_type: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"    flags: 0x%08X\n"

l_.str.3:                               ; @.str.3
	.asciz	"    gpu_offset: 0x%08llX\n"

l_.str.4:                               ; @.str.4
	.asciz	"    size: %llu\n"

l_.str.5:                               ; @.str.5
	.asciz	"    available_caching: 0x%08X\n"

l_.str.6:                               ; @.str.6
	.asciz	"    default_caching: 0x%08X\n"

	.comm	_TTM_PL_SYSTEM,4,2              ; @TTM_PL_SYSTEM
	.no_dead_strip	_ttm_mem_type_debug
.subsections_via_symbols
