	.file	"extr_ioctl.c_nvkm_ioctl_path.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"object not found\n"
.LC1:
	.string	"route != owner\n"
	.text
	.p2align 4
	.type	nvkm_ioctl_path, @function
nvkm_ioctl_path:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r9
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	xor	edx, edx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15, QWORD PTR 80[rsp]
	mov	r14, QWORD PTR 88[rsp]
	mov	QWORD PTR [rsp], rcx
	mov	QWORD PTR 8[rsp], r8
	call	nvkm_object_search@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L7
	cmp	QWORD PTR NVIF_IOCTL_V0_OWNER_ANY[rip], r13
	mov	rax, QWORD PTR 0[rbp]
	je	.L3
	cmp	r13, rax
	jne	.L8
.L3:
	mov	QWORD PTR [r15], rax
	mov	eax, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR nvkm_ioctl_v0[rip]
	mov	DWORD PTR [r14], eax
	mov	r14d, DWORD PTR EINVAL[rip]
	neg	r14d
	call	ARRAY_SIZE@PLT
	cmp	rax, rbx
	jbe	.L1
	sal	rbx, 4
	add	rbx, QWORD PTR nvkm_ioctl_v0[rip]
	cmp	QWORD PTR [rbx], 0
	jne	.L1
	mov	rax, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR 8[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	mov	rdx, QWORD PTR [rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	nvif_ioctl@PLT
	mov	r14d, DWORD PTR EACCES[rip]
	neg	r14d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	nvif_ioctl@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	nvkm_ioctl_path, .-nvkm_ioctl_path
	.comm	nvkm_ioctl_v0,8,8
	.comm	NVIF_IOCTL_V0_OWNER_ANY,8,8
	.comm	EINVAL,4,4
	.comm	EACCES,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_ioctl.c_nvkm_ioctl_path.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"object not found\012\000"
	.align	2
.LC1:
	.ascii	"route != owner\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvkm_ioctl_path, %function
nvkm_ioctl_path:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r2
	sub	sp, sp, #4
	mov	r2, #0
	mov	r7, r3
	mov	r6, r0
	ldr	r9, [sp, #40]
	ldr	r8, [sp, #44]
	ldr	fp, [sp, #48]
	ldr	r10, [sp, #52]
	bl	nvkm_object_search
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L7
	ldr	r2, .L9
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r2, r8
	beq	.L3
	cmp	r8, r3
	bne	.L8
.L3:
	ldr	r2, [r4, #4]
	str	r3, [fp]
	str	r2, [r10]
	ldr	r10, .L9+4
	ldr	r3, .L9+8
	ldr	r0, [r10]
	ldr	r8, [r3]
	bl	ARRAY_SIZE
	cmp	r0, r5
	rsb	r8, r8, #0
	bls	.L1
	ldr	r3, [r10]
	ldr	r2, [r3, r5, lsl #3]
	add	r5, r3, r5, lsl #3
	cmp	r2, #0
	bne	.L1
	ldr	lr, [r5, #4]
	mov	r3, r9
	mov	r2, r7
	mov	r1, r4
	mov	r0, r6
	mov	ip, lr
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx	ip
.L8:
	mov	r0, r6
	ldr	r1, .L9+12
	bl	nvif_ioctl
	ldr	r3, .L9+16
	ldr	r8, [r3]
	rsb	r8, r8, #0
.L1:
	mov	r0, r8
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r0, r6
	ldr	r1, .L9+20
	bl	nvif_ioctl
	mov	r0, r4
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	PTR_ERR
.L10:
	.align	2
.L9:
	.word	NVIF_IOCTL_V0_OWNER_ANY
	.word	nvkm_ioctl_v0
	.word	EINVAL
	.word	.LC1
	.word	EACCES
	.word	.LC0
	.size	nvkm_ioctl_path, .-nvkm_ioctl_path
	.comm	nvkm_ioctl_v0,4,4
	.comm	NVIF_IOCTL_V0_OWNER_ANY,4,4
	.comm	EINVAL,4,4
	.comm	EACCES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
