	.file	"extr_amdgpu_ttm.c_amdgpu_ttm_tt_pde_flags.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	amdgpu_ttm_tt_pde_flags
	.type	amdgpu_ttm_tt_pde_flags, @function
amdgpu_ttm_tt_pde_flags:
.LFB0:
	.cfi_startproc
	endbr64
	xor	eax, eax
	test	rsi, rsi
	je	.L1
	mov	rdx, QWORD PTR [rsi]
	cmp	rdx, QWORD PTR TTM_PL_SYSTEM[rip]
	je	.L3
	mov	eax, DWORD PTR AMDGPU_PTE_VALID[rip]
.L3:
	cmp	rdx, QWORD PTR TTM_PL_TT[rip]
	je	.L4
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR tt_cached[rip]
	or	eax, DWORD PTR AMDGPU_PTE_SYSTEM[rip]
	cmp	QWORD PTR [rdi], rcx
	jne	.L1
	or	eax, DWORD PTR AMDGPU_PTE_SNOOPED[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	amdgpu_ttm_tt_pde_flags, .-amdgpu_ttm_tt_pde_flags
	.comm	tt_cached,8,8
	.comm	TTM_PL_TT,8,8
	.comm	TTM_PL_SYSTEM,8,8
	.comm	AMDGPU_PTE_VALID,4,4
	.comm	AMDGPU_PTE_SYSTEM,4,4
	.comm	AMDGPU_PTE_SNOOPED,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_amdgpu_ttm.c_amdgpu_ttm_tt_pde_flags.c"
	.text
	.align	2
	.global	amdgpu_ttm_tt_pde_flags
	.syntax unified
	.arm
	.fpu softvfp
	.type	amdgpu_ttm_tt_pde_flags, %function
amdgpu_ttm_tt_pde_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r1, #0
	mov	r3, r0
	beq	.L5
	ldr	r0, .L8
	ldr	r2, [r1]
	ldr	r1, [r0]
	cmp	r2, r1
	moveq	r0, #0
	ldrne	r1, .L8+4
	ldrne	r0, [r1]
.L3:
	ldr	r1, .L8+8
	ldr	r1, [r1]
	cmp	r2, r1
	bxne	lr
	ldr	r2, .L8+12
	ldr	ip, .L8+16
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [ip]
	cmp	r1, r2
	orr	r0, r0, r3
	ldreq	r3, .L8+20
	ldreq	r3, [r3]
	orreq	r0, r0, r3
	bx	lr
.L5:
	mov	r0, r1
	bx	lr
.L9:
	.align	2
.L8:
	.word	TTM_PL_SYSTEM
	.word	AMDGPU_PTE_VALID
	.word	TTM_PL_TT
	.word	tt_cached
	.word	AMDGPU_PTE_SYSTEM
	.word	AMDGPU_PTE_SNOOPED
	.size	amdgpu_ttm_tt_pde_flags, .-amdgpu_ttm_tt_pde_flags
	.comm	tt_cached,4,4
	.comm	TTM_PL_TT,4,4
	.comm	TTM_PL_SYSTEM,4,4
	.comm	AMDGPU_PTE_VALID,4,4
	.comm	AMDGPU_PTE_SYSTEM,4,4
	.comm	AMDGPU_PTE_SNOOPED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
