	.file	"extr_lpfc_attr.c_lpfc_link_state_store.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"up"
.LC1:
	.string	"down"
	.text
	.p2align 4
	.type	lpfc_link_state_store, @function
lpfc_link_state_store:
.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, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	class_to_shost@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	edx, 2
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	neg	r12d
	mov	rbx, QWORD PTR [rax]
	call	strncmp@PLT
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR LPFC_LINK_DOWN[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L7
.L2:
	mov	edx, 4
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	rax, rax
	je	.L8
.L3:
	test	r12d, r12d
	je	.L9
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR LPFC_LINK_UP[rip]
	cmp	QWORD PTR [rbx], rax
	jl	.L3
	mov	rdi, rbx
	call	[QWORD PTR 16[rbx]]
	mov	r12d, eax
	test	r12d, r12d
	jne	.L1
.L9:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	strlen@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbx
	call	[QWORD PTR 8[rbx]]
	mov	r12d, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	lpfc_link_state_store, .-lpfc_link_state_store
	.comm	LPFC_LINK_UP,8,8
	.comm	LPFC_LINK_DOWN,8,8
	.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_lpfc_attr.c_lpfc_link_state_store.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"down\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_link_state_store, %function
lpfc_link_state_store:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	bl	class_to_shost
	ldr	r1, .L9
	ldrb	r2, [r4]	@ zero_extendqisi2
	ldr	r3, [r0]
	ldr	r5, [r1]
	cmp	r2, #117
	ldr	r6, [r3]
	rsb	r5, r5, #0
	bne	.L3
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L3
	ldr	r3, .L9+4
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L8
.L3:
	mov	r2, #4
	mov	r0, r4
	ldr	r1, .L9+8
	bl	strncmp
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L9+12
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L4
	mov	r0, r6
	ldr	r3, [r6, #8]
	blx	r3
	mov	r5, r0
.L4:
	cmp	r5, #0
	bne	.L1
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	strlen
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r6
	ldr	r3, [r6, #4]
	blx	r3
	mov	r5, r0
	b	.L4
.L10:
	.align	2
.L9:
	.word	EINVAL
	.word	LPFC_LINK_DOWN
	.word	.LC0
	.word	LPFC_LINK_UP
	.size	lpfc_link_state_store, .-lpfc_link_state_store
	.comm	LPFC_LINK_UP,4,4
	.comm	LPFC_LINK_DOWN,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
