	.file	"extr_bnxt_debugfs.c_bnxt_debug_dev_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dim"
	.text
	.p2align 4
	.globl	bnxt_debug_dev_init
	.type	bnxt_debug_dev_init, @function
bnxt_debug_dev_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, DWORD PTR 24[rdi]
	call	pci_name@PLT
	mov	rsi, QWORD PTR bnxt_debug_mnt[rip]
	mov	rdi, rax
	call	debugfs_create_dir@PLT
	lea	rdi, .LC0[rip]
	mov	QWORD PTR 16[rbp], rax
	mov	rsi, rax
	call	debugfs_create_dir@PLT
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	jle	.L1
	mov	r12, rax
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L1
.L4:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR [rax+rbx*8]
	cmp	QWORD PTR [rdi], 0
	je	.L3
	mov	esi, ebx
	add	rdi, 8
	mov	rdx, r12
	add	rbx, 1
	call	debugfs_dim_ring_init@PLT
	cmp	DWORD PTR 0[rbp], ebx
	jg	.L4
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bnxt_debug_dev_init, .-bnxt_debug_dev_init
	.comm	bnxt_debug_mnt,8,8
	.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_bnxt_debugfs.c_bnxt_debug_dev_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dim\000"
	.text
	.align	2
	.global	bnxt_debug_dev_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnxt_debug_dev_init, %function
bnxt_debug_dev_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r0, #12]
	bl	pci_name
	ldr	r3, .L11
	ldr	r1, [r3]
	bl	debugfs_create_dir
	mov	r1, r0
	ldr	r0, .L11+4
	str	r1, [r5, #8]
	bl	debugfs_create_dir
	ldr	ip, [r5]
	cmp	ip, #0
	pople	{r4, r5, r6, pc}
	mov	r6, r0
	mov	r4, #0
	b	.L4
.L3:
	add	r4, r4, #1
	cmp	ip, r4
	pople	{r4, r5, r6, pc}
.L4:
	ldr	r3, [r5, #4]
	ldr	r0, [r3, r4, lsl #2]
	ldr	r1, [r0]
	cmp	r1, #0
	beq	.L3
	mov	r2, r6
	mov	r1, r4
	add	r0, r0, #4
	bl	debugfs_dim_ring_init
	ldr	ip, [r5]
	b	.L3
.L12:
	.align	2
.L11:
	.word	bnxt_debug_mnt
	.word	.LC0
	.size	bnxt_debug_dev_init, .-bnxt_debug_dev_init
	.comm	bnxt_debug_mnt,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
