	.file	"extr_iommu-debug.c_iommu_debug_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"nr_tlb_entries"
	.text
	.p2align 4
	.type	iommu_debug_register, @function
iommu_debug_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	call	to_platform_device@PLT
	mov	rdi, rax
	call	platform_get_drvdata@PLT
	test	rax, rax
	je	.L2
	mov	r12, rax
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[r12]
	mov	esi, DWORD PTR iommu_debug_root[rip]
	call	debugfs_create_dir@PLT
	mov	rdx, rax
	test	rax, rax
	je	.L11
	mov	rcx, r12
	mov	esi, 400
	lea	rdi, .LC0[rip]
	call	debugfs_create_u8@PLT
	test	rax, rax
	je	.L11
	mov	edi, DWORD PTR ver[rip]
	call	DEBUG_ADD_FILE_RO@PLT
	mov	edi, DWORD PTR regs[rip]
	call	DEBUG_ADD_FILE_RO@PLT
	mov	edi, DWORD PTR tlb[rip]
	call	DEBUG_ADD_FILE_RO@PLT
	mov	edi, DWORD PTR pagetable[rip]
	call	DEBUG_ADD_FILE@PLT
	mov	edi, DWORD PTR mmap[rip]
	call	DEBUG_ADD_FILE_RO@PLT
	mov	edi, DWORD PTR mem[rip]
	call	DEBUG_ADD_FILE@PLT
	xor	eax, eax
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	iommu_debug_register, .-iommu_debug_register
	.comm	ver,4,4
	.comm	tlb,4,4
	.comm	regs,4,4
	.comm	pagetable,4,4
	.comm	mmap,4,4
	.comm	mem,4,4
	.comm	iommu_debug_root,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_iommu-debug.c_iommu_debug_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nr_tlb_entries\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iommu_debug_register, %function
iommu_debug_register:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	to_platform_device
	bl	platform_get_drvdata
	subs	r4, r0, #0
	beq	.L2
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r3, .L13
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L3:
	ldr	r3, .L13+4
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	bl	debugfs_create_dir
	subs	r2, r0, #0
	beq	.L11
	mov	r3, r4
	mov	r1, #400
	ldr	r0, .L13+8
	bl	debugfs_create_u8
	cmp	r0, #0
	beq	.L11
	ldr	r3, .L13+12
	ldr	r0, [r3]
	bl	DEBUG_ADD_FILE_RO
	ldr	r3, .L13+16
	ldr	r0, [r3]
	bl	DEBUG_ADD_FILE_RO
	ldr	r3, .L13+20
	ldr	r0, [r3]
	bl	DEBUG_ADD_FILE_RO
	ldr	r3, .L13+24
	ldr	r0, [r3]
	bl	DEBUG_ADD_FILE
	ldr	r3, .L13+28
	ldr	r0, [r3]
	bl	DEBUG_ADD_FILE_RO
	ldr	r3, .L13+32
	ldr	r0, [r3]
	bl	DEBUG_ADD_FILE
	mov	r0, #0
	pop	{r4, pc}
.L11:
	ldr	r3, .L13+36
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L14:
	.align	2
.L13:
	.word	EINVAL
	.word	iommu_debug_root
	.word	.LC0
	.word	ver
	.word	regs
	.word	tlb
	.word	pagetable
	.word	mmap
	.word	mem
	.word	ENOMEM
	.size	iommu_debug_register, .-iommu_debug_register
	.comm	ver,4,4
	.comm	tlb,4,4
	.comm	regs,4,4
	.comm	pagetable,4,4
	.comm	mmap,4,4
	.comm	mem,4,4
	.comm	iommu_debug_root,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
