	.file	"extr_qlcnic_sysfs.c_qlcnic_create_diag_entries.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to create port stats sysfs entry"
	.align 8
.LC1:
	.string	"failed to create diag_mode sysfs entry\n"
	.align 8
.LC2:
	.string	"failed to create crb sysfs entry\n"
	.align 8
.LC3:
	.string	"failed to create mem sysfs entry\n"
	.align 8
.LC4:
	.string	"failed to create beacon sysfs entry"
	.align 8
.LC5:
	.string	"failed to create rss sysfs entry\n"
	.align 8
.LC6:
	.string	"failed to create elb_mode sysfs entry\n"
	.align 8
.LC7:
	.string	"failed to create pci config sysfs entry"
	.align 8
.LC8:
	.string	"failed to create esw config sysfs entry"
	.align 8
.LC9:
	.string	"failed to create npar config sysfs entry"
	.align 8
.LC10:
	.string	"failed to create pm config sysfs entry"
	.align 8
.LC11:
	.string	"failed to create eswitch stats sysfs entry"
	.text
	.p2align 4
	.globl	qlcnic_create_diag_entries
	.type	qlcnic_create_diag_entries, @function
qlcnic_create_diag_entries:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, bin_attr_port_stats[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 16[rdi]
	mov	rdi, rbp
	call	device_create_bin_file@PLT
	test	rax, rax
	jne	.L57
.L2:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR QLCNIC_NON_PRIV_FUNC[rip]
	cmp	QWORD PTR [rax], rdx
	je	.L1
	lea	rsi, dev_attr_diag_mode[rip]
	mov	rdi, rbp
	call	device_create_file@PLT
	test	rax, rax
	jne	.L58
.L5:
	lea	rsi, bin_attr_crb[rip]
	mov	rdi, rbp
	call	device_create_bin_file@PLT
	test	rax, rax
	jne	.L59
.L6:
	lea	rsi, bin_attr_mem[rip]
	mov	rdi, rbp
	call	device_create_bin_file@PLT
	test	rax, rax
	jne	.L60
.L7:
	lea	rsi, dev_attr_beacon[rip]
	mov	rdi, rbp
	call	device_create_file@PLT
	test	rax, rax
	jne	.L61
.L8:
	lea	rsi, dev_attr_max_rss[rip]
	mov	rdi, rbp
	call	device_create_file@PLT
	test	rax, rax
	jne	.L62
.L9:
	lea	rsi, dev_attr_elb_mode[rip]
	mov	rdi, rbp
	call	device_create_file@PLT
	test	rax, rax
	jne	.L63
.L10:
	lea	rsi, bin_attr_pci_config[rip]
	mov	rdi, rbp
	call	device_create_bin_file@PLT
	test	rax, rax
	jne	.L64
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR QLCNIC_ESWITCH_ENABLED[rip], eax
	jne	.L65
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L65:
	.cfi_restore_state
	lea	rsi, bin_attr_esw_config[rip]
	mov	rdi, rbp
	call	device_create_bin_file@PLT
	test	rax, rax
	jne	.L66
.L13:
	mov	rax, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR QLCNIC_MGMT_FUNC[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L1
	lea	rsi, bin_attr_npar_config[rip]
	mov	rdi, rbp
	call	device_create_bin_file@PLT
	test	rax, rax
	jne	.L67
.L14:
	lea	rsi, bin_attr_pm_config[rip]
	mov	rdi, rbp
	call	device_create_bin_file@PLT
	test	rax, rax
	jne	.L68
.L15:
	lea	rsi, bin_attr_esw_stats[rip]
	mov	rdi, rbp
	call	device_create_bin_file@PLT
	test	rax, rax
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	lea	rsi, .LC11[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	dev_info@PLT
	.p2align 4,,10
	.p2align 3
.L64:
	.cfi_restore_state
	lea	rsi, .LC7[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR QLCNIC_ESWITCH_ENABLED[rip], eax
	je	.L1
	jmp	.L65
	.p2align 4,,10
	.p2align 3
.L63:
	lea	rsi, .LC6[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L62:
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L61:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L60:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L59:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L58:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L57:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L66:
	lea	rsi, .LC8[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L68:
	lea	rsi, .LC10[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L67:
	lea	rsi, .LC9[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L14
	.cfi_endproc
.LFE0:
	.size	qlcnic_create_diag_entries, .-qlcnic_create_diag_entries
	.comm	dev_attr_max_rss,4,4
	.comm	dev_attr_elb_mode,4,4
	.comm	dev_attr_diag_mode,4,4
	.comm	dev_attr_beacon,4,4
	.comm	bin_attr_port_stats,4,4
	.comm	bin_attr_pm_config,4,4
	.comm	bin_attr_pci_config,4,4
	.comm	bin_attr_npar_config,4,4
	.comm	bin_attr_mem,4,4
	.comm	bin_attr_esw_stats,4,4
	.comm	bin_attr_esw_config,4,4
	.comm	bin_attr_crb,4,4
	.comm	QLCNIC_NON_PRIV_FUNC,8,8
	.comm	QLCNIC_MGMT_FUNC,8,8
	.comm	QLCNIC_ESWITCH_ENABLED,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_qlcnic_sysfs.c_qlcnic_create_diag_entries.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to create port stats sysfs entry\000"
	.align	2
.LC1:
	.ascii	"failed to create diag_mode sysfs entry\012\000"
	.align	2
.LC2:
	.ascii	"failed to create crb sysfs entry\012\000"
	.align	2
.LC3:
	.ascii	"failed to create mem sysfs entry\012\000"
	.align	2
.LC4:
	.ascii	"failed to create beacon sysfs entry\000"
	.align	2
.LC5:
	.ascii	"failed to create rss sysfs entry\012\000"
	.align	2
.LC6:
	.ascii	"failed to create elb_mode sysfs entry\012\000"
	.align	2
.LC7:
	.ascii	"failed to create pci config sysfs entry\000"
	.align	2
.LC8:
	.ascii	"failed to create esw config sysfs entry\000"
	.align	2
.LC9:
	.ascii	"failed to create npar config sysfs entry\000"
	.align	2
.LC10:
	.ascii	"failed to create pm config sysfs entry\000"
	.align	2
.LC11:
	.ascii	"failed to create eswitch stats sysfs entry\000"
	.text
	.align	2
	.global	qlcnic_create_diag_entries
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_create_diag_entries, %function
qlcnic_create_diag_entries:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0, #8]
	mov	r5, r0
	ldr	r1, .L68
	mov	r0, r4
	bl	device_create_bin_file
	cmp	r0, #0
	bne	.L57
.L2:
	ldr	r2, [r5, #4]
	ldr	r3, .L68+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	ldr	r1, .L68+8
	bl	device_create_file
	cmp	r0, #0
	bne	.L58
.L5:
	mov	r0, r4
	ldr	r1, .L68+12
	bl	device_create_bin_file
	cmp	r0, #0
	bne	.L59
.L6:
	mov	r0, r4
	ldr	r1, .L68+16
	bl	device_create_bin_file
	cmp	r0, #0
	bne	.L60
.L7:
	mov	r0, r4
	ldr	r1, .L68+20
	bl	device_create_file
	cmp	r0, #0
	bne	.L61
.L8:
	mov	r0, r4
	ldr	r1, .L68+24
	bl	device_create_file
	cmp	r0, #0
	bne	.L62
.L9:
	mov	r0, r4
	ldr	r1, .L68+28
	bl	device_create_file
	cmp	r0, #0
	bne	.L63
.L10:
	mov	r0, r4
	ldr	r1, .L68+32
	bl	device_create_bin_file
	cmp	r0, #0
	bne	.L64
.L11:
	ldr	r3, .L68+36
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	ldr	r1, .L68+40
	bl	device_create_bin_file
	cmp	r0, #0
	bne	.L65
.L13:
	ldr	r2, [r5, #4]
	ldr	r3, .L68+44
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	popne	{r4, r5, r6, pc}
	mov	r0, r4
	ldr	r1, .L68+48
	bl	device_create_bin_file
	cmp	r0, #0
	bne	.L66
.L14:
	mov	r0, r4
	ldr	r1, .L68+52
	bl	device_create_bin_file
	cmp	r0, #0
	bne	.L67
.L15:
	mov	r0, r4
	ldr	r1, .L68+56
	bl	device_create_bin_file
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, .L68+60
	b	dev_info
.L64:
	mov	r0, r4
	ldr	r1, .L68+64
	bl	dev_info
	b	.L11
.L63:
	mov	r0, r4
	ldr	r1, .L68+68
	bl	dev_info
	b	.L10
.L62:
	mov	r0, r4
	ldr	r1, .L68+72
	bl	dev_info
	b	.L9
.L61:
	mov	r0, r4
	ldr	r1, .L68+76
	bl	dev_info
	b	.L8
.L60:
	mov	r0, r4
	ldr	r1, .L68+80
	bl	dev_info
	b	.L7
.L59:
	mov	r0, r4
	ldr	r1, .L68+84
	bl	dev_info
	b	.L6
.L58:
	mov	r0, r4
	ldr	r1, .L68+88
	bl	dev_info
	b	.L5
.L57:
	mov	r0, r4
	ldr	r1, .L68+92
	bl	dev_info
	b	.L2
.L65:
	mov	r0, r4
	ldr	r1, .L68+96
	bl	dev_info
	b	.L13
.L67:
	mov	r0, r4
	ldr	r1, .L68+100
	bl	dev_info
	b	.L15
.L66:
	mov	r0, r4
	ldr	r1, .L68+104
	bl	dev_info
	b	.L14
.L69:
	.align	2
.L68:
	.word	bin_attr_port_stats
	.word	QLCNIC_NON_PRIV_FUNC
	.word	dev_attr_diag_mode
	.word	bin_attr_crb
	.word	bin_attr_mem
	.word	dev_attr_beacon
	.word	dev_attr_max_rss
	.word	dev_attr_elb_mode
	.word	bin_attr_pci_config
	.word	QLCNIC_ESWITCH_ENABLED
	.word	bin_attr_esw_config
	.word	QLCNIC_MGMT_FUNC
	.word	bin_attr_npar_config
	.word	bin_attr_pm_config
	.word	bin_attr_esw_stats
	.word	.LC11
	.word	.LC7
	.word	.LC6
	.word	.LC5
	.word	.LC4
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.word	.LC8
	.word	.LC10
	.word	.LC9
	.size	qlcnic_create_diag_entries, .-qlcnic_create_diag_entries
	.comm	dev_attr_max_rss,4,4
	.comm	dev_attr_elb_mode,4,4
	.comm	dev_attr_diag_mode,4,4
	.comm	dev_attr_beacon,4,4
	.comm	bin_attr_port_stats,4,4
	.comm	bin_attr_pm_config,4,4
	.comm	bin_attr_pci_config,4,4
	.comm	bin_attr_npar_config,4,4
	.comm	bin_attr_mem,4,4
	.comm	bin_attr_esw_stats,4,4
	.comm	bin_attr_esw_config,4,4
	.comm	bin_attr_crb,4,4
	.comm	QLCNIC_NON_PRIV_FUNC,4,4
	.comm	QLCNIC_MGMT_FUNC,4,4
	.comm	QLCNIC_ESWITCH_ENABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
