	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movslq	%esi, %r15
	leaq	(%r15,%r15,4), %rbx
	movl	32(%r14,%rbx,8), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	28(%r14,%rbx,8), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movl	24(%r14,%rbx,8), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	movl	20(%r14,%rbx,8), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_err
	movl	16(%r14,%rbx,8), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_err
	movl	12(%r14,%rbx,8), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_pr_err
	movl	8(%r14,%rbx,8), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_pr_err
	movq	_TTM_PL_SYSTEM@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	(%r14,%rbx,8), %rdi
	movq	(%r14,%rbx,8), %rax
	movq	(%rax), %rax
	movq	_TTM_PFX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addq	$8, %rsp
	popq	%rbx
	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%08lX\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
	.comm	_TTM_PFX,4,2                    ## @TTM_PFX
	.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	x19, x1
	ldr	x20, [x0]
	mov	w8, #40
	smaddl	x21, w1, w8, x20
	ldr	w1, [x21, #32]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	ldr	w1, [x21, #28]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	ldr	w1, [x21, #24]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	ldr	w1, [x21, #20]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	ldr	w1, [x21, #16]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
	ldr	w1, [x21, #12]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	ldr	w1, [x21, #8]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_err
Lloh14:
	adrp	x8, _TTM_PL_SYSTEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TTM_PL_SYSTEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w19
	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, w19
	mov	w9, #40
	madd	x0, x8, x9, x20
	ldr	x8, [x0]
	ldr	x2, [x8]
Lloh17:
	adrp	x8, _TTM_PFX@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TTM_PFX@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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%08lX\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
	.comm	_TTM_PFX,4,2                    ; @TTM_PFX
	.no_dead_strip	_ttm_mem_type_debug
.subsections_via_symbols
