	.file	"extr_ttm_bo.c_ttm_mem_reg_is_pci.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ttm_mem_reg_is_pci
	.type	ttm_mem_reg_is_pci, @function
ttm_mem_reg_is_pci:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rsi]
	mov	rax, QWORD PTR [rdi]
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	r8d, eax
	and	r8d, DWORD PTR TTM_MEMTYPE_FLAG_FIXED[rip]
	jne	.L3
	cmp	rdx, QWORD PTR TTM_PL_SYSTEM[rip]
	je	.L1
	test	DWORD PTR TTM_MEMTYPE_FLAG_CMA[rip], eax
	jne	.L1
	xor	r8d, r8d
	mov	eax, DWORD PTR 8[rsi]
	test	DWORD PTR TTM_PL_FLAG_CACHED[rip], eax
	sete	r8b
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r8d, 1
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	ttm_mem_reg_is_pci, .-ttm_mem_reg_is_pci
	.comm	TTM_PL_SYSTEM,8,8
	.comm	TTM_PL_FLAG_CACHED,4,4
	.comm	TTM_MEMTYPE_FLAG_FIXED,4,4
	.comm	TTM_MEMTYPE_FLAG_CMA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ttm_bo.c_ttm_mem_reg_is_pci.c"
	.text
	.align	2
	.global	ttm_mem_reg_is_pci
	.syntax unified
	.arm
	.fpu softvfp
	.type	ttm_mem_reg_is_pci, %function
ttm_mem_reg_is_pci:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r0]
	ldr	r2, [r1]
	ldr	r0, .L5
	ldr	r3, [r3, r2, lsl #2]
	ldr	r0, [r0]
	ands	r0, r3, r0
	bne	.L3
	ldr	ip, .L5+4
	ldr	ip, [ip]
	cmp	r2, ip
	bxeq	lr
	ldr	r2, .L5+8
	ldr	r2, [r2]
	tst	r3, r2
	bxne	lr
	ldr	r3, .L5+12
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bx	lr
.L3:
	mov	r0, #1
	bx	lr
.L6:
	.align	2
.L5:
	.word	TTM_MEMTYPE_FLAG_FIXED
	.word	TTM_PL_SYSTEM
	.word	TTM_MEMTYPE_FLAG_CMA
	.word	TTM_PL_FLAG_CACHED
	.size	ttm_mem_reg_is_pci, .-ttm_mem_reg_is_pci
	.comm	TTM_PL_SYSTEM,4,4
	.comm	TTM_PL_FLAG_CACHED,4,4
	.comm	TTM_MEMTYPE_FLAG_FIXED,4,4
	.comm	TTM_MEMTYPE_FLAG_CMA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
