	.file	"extr_qla_attr.c_qla2x00_alloc_sysfs_attr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to create sysfs %s binary attribute (%d).\n"
	.align 8
.LC1:
	.string	"Successfully created sysfs %s binary attribute.\n"
	.text
	.p2align 4
	.globl	qla2x00_alloc_sysfs_attr
	.type	qla2x00_alloc_sysfs_attr, @function
qla2x00_alloc_sysfs_attr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR bin_file_entries[rip]
	mov	r12, QWORD PTR 8[rdi]
	cmp	QWORD PTR 8[rbx], 0
	je	.L1
	mov	rbp, rdi
	lea	r13, .LC1[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r8, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR ql_log_warn[rip]
	mov	r9d, eax
	mov	rsi, rbp
	lea	rcx, .LC0[rip]
	mov	edx, 243
	call	ql_log@PLT
.L5:
	add	rbx, 24
	cmp	QWORD PTR 8[rbx], 0
	je	.L1
.L2:
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jne	.L23
.L3:
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, r12
	call	sysfs_create_bin_file@PLT
	test	eax, eax
	jne	.L9
	mov	r8, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR ql_dbg_init[rip]
	mov	rcx, r13
	mov	rsi, rbp
	mov	edx, 244
	add	rbx, 24
	call	ql_dbg@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L2
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	IS_FWI2_CAPABLE@PLT
	test	eax, eax
	je	.L5
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 2
	jne	.L6
	mov	edi, DWORD PTR 0[rbp]
	call	IS_QLA25XX@PLT
	test	eax, eax
	je	.L5
	mov	eax, DWORD PTR [rbx]
.L6:
	cmp	eax, 3
	jne	.L3
	mov	edi, DWORD PTR 0[rbp]
	call	IS_CNA_CAPABLE@PLT
	test	eax, eax
	jne	.L3
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	qla2x00_alloc_sysfs_attr, .-qla2x00_alloc_sysfs_attr
	.comm	ql_log_warn,4,4
	.comm	ql_dbg_init,4,4
	.comm	bin_file_entries,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_qla_attr.c_qla2x00_alloc_sysfs_attr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to create sysfs %s binary attribute (%d).\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"Successfully created sysfs %s binary attribute.\012"
	.ascii	"\000"
	.text
	.align	2
	.global	qla2x00_alloc_sysfs_attr
	.syntax unified
	.arm
	.fpu softvfp
	.type	qla2x00_alloc_sysfs_attr, %function
qla2x00_alloc_sysfs_attr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L27
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r4, [r3]
	ldr	r6, [r0, #4]
	ldr	r3, [r4, #4]
	sub	sp, sp, #8
	cmp	r3, #0
	beq	.L1
	mov	r5, r0
	ldr	r10, .L27+4
	ldr	r9, .L27+8
	ldr	r8, .L27+12
	ldr	r7, .L27+16
	add	r4, r4, #12
	b	.L11
.L9:
	str	r0, [sp, #4]
	ldr	r2, [r4, #-8]
	mov	r3, r7
	str	r2, [sp]
	mov	r1, r5
	mov	r2, #243
	ldr	r0, [r8]
	bl	ql_log
.L5:
	ldr	r3, [r4, #4]
	add	r4, r4, #12
	cmp	r3, #0
	beq	.L1
.L11:
	ldr	r3, [r4, #-12]
	cmp	r3, #0
	bne	.L26
.L3:
	mov	r0, r6
	ldr	r1, [r4, #-4]
	bl	sysfs_create_bin_file
	cmp	r0, #0
	bne	.L9
	ldr	r2, [r4, #-8]
	mov	r3, r9
	str	r2, [sp]
	mov	r1, r5
	mov	r2, #244
	ldr	r0, [r10]
	add	r4, r4, #12
	bl	ql_dbg
	ldr	r3, [r4, #-8]
	cmp	r3, #0
	bne	.L11
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L26:
	ldr	r0, [r5]
	bl	IS_FWI2_CAPABLE
	cmp	r0, #0
	beq	.L5
	ldr	r3, [r4, #-12]
	cmp	r3, #2
	bne	.L6
	ldr	r0, [r5]
	bl	IS_QLA25XX
	cmp	r0, #0
	beq	.L5
	ldr	r3, [r4, #-12]
.L6:
	cmp	r3, #3
	bne	.L3
	ldr	r0, [r5]
	bl	IS_CNA_CAPABLE
	cmp	r0, #0
	bne	.L3
	b	.L5
.L28:
	.align	2
.L27:
	.word	bin_file_entries
	.word	ql_dbg_init
	.word	.LC1
	.word	ql_log_warn
	.word	.LC0
	.size	qla2x00_alloc_sysfs_attr, .-qla2x00_alloc_sysfs_attr
	.comm	ql_log_warn,4,4
	.comm	ql_dbg_init,4,4
	.comm	bin_file_entries,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
