	.file	"extr_bfa_svc.c_bfa_fcport_sm_disabled.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Port Enable"
.LC1:
	.string	"Base port enabled: WWN = %s\n"
	.text
	.p2align 4
	.type	bfa_fcport_sm_disabled, @function
bfa_fcport_sm_disabled:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbx
	sub	rsp, 16
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BFA_STRING_32[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L21:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L21
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L22
.L4:
	mov	rdi, QWORD PTR [r12]
	mov	esi, r13d
	mov	rbx, rsp
	mov	r14, QWORD PTR 8[rdi]
	call	bfa_trc@PLT
	lea	eax, -128[r13]
	cmp	eax, 6
	ja	.L5
	lea	rdx, .L7[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L12-.L7
	.long	.L1-.L7
	.long	.L11-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L1-.L7
	.long	.L6-.L7
	.text
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r12
	call	bfa_fcport_send_enable@PLT
	test	eax, eax
	je	.L13
	mov	esi, DWORD PTR bfa_fcport_sm_enabling[rip]
	mov	rdi, r12
	call	bfa_sm_set_state@PLT
.L14:
	mov	rax, QWORD PTR [r12]
	mov	edx, DWORD PTR BFA_PL_EID_PORT_ENABLE[rip]
	lea	r8, .LC0[rip]
	xor	ecx, ecx
	mov	esi, DWORD PTR BFA_PL_MID_HAL[rip]
	mov	edi, DWORD PTR [rax]
	call	bfa_plog_str@PLT
	mov	esi, DWORD PTR 8[r12]
	mov	rdi, rbx
	call	wwn2str@PLT
	mov	edi, DWORD PTR KERN_INFO[rip]
	mov	rsi, r14
	mov	r8, rbx
	mov	edx, DWORD PTR bfa_log_level[rip]
	lea	rcx, .LC1[rip]
	call	BFA_LOG@PLT
	mov	esi, DWORD PTR BFA_PORT_AEN_ENABLE[rip]
	mov	rdi, r12
	call	bfa_fcport_aen_post@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR bfa_fcport_sm_dport[rip]
	mov	rdi, r12
	call	bfa_sm_set_state@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, DWORD PTR bfa_fcport_sm_iocfail[rip]
	mov	rdi, r12
	call	bfa_sm_set_state@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR bfa_fcport_sm_ddport[rip]
	mov	rdi, r12
	call	bfa_sm_set_state@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR bfa_fcport_sm_stopped[rip]
	mov	rdi, r12
	call	bfa_sm_set_state@PLT
	jmp	.L1
.L5:
	mov	rdi, QWORD PTR [r12]
	mov	esi, r13d
	call	bfa_sm_fault@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR bfa_fcport_sm_enabling_qwait[rip]
	mov	rdi, r12
	call	bfa_sm_set_state@PLT
	jmp	.L14
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bfa_fcport_sm_disabled, .-bfa_fcport_sm_disabled
	.comm	bfa_log_level,4,4
	.comm	bfa_fcport_sm_stopped,4,4
	.comm	bfa_fcport_sm_iocfail,4,4
	.comm	bfa_fcport_sm_enabling_qwait,4,4
	.comm	bfa_fcport_sm_enabling,4,4
	.comm	bfa_fcport_sm_dport,4,4
	.comm	bfa_fcport_sm_ddport,4,4
	.comm	KERN_INFO,4,4
	.comm	BFA_STRING_32,4,4
	.comm	BFA_PORT_AEN_ENABLE,4,4
	.comm	BFA_PL_MID_HAL,4,4
	.comm	BFA_PL_EID_PORT_ENABLE,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_bfa_svc.c_bfa_fcport_sm_disabled.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Port Enable\000"
	.align	2
.LC1:
	.ascii	"Base port enabled: WWN = %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_fcport_sm_disabled, %function
bfa_fcport_sm_disabled:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	mov	r5, r1
	ldr	r3, .L16
	mov	r4, r0
	ldr	r3, [r3]
	ldr	r0, [r0]
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L16+4
	ldr	r7, [r0, #4]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	bfa_trc
	sub	r3, r5, #128
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L9
	.word	.L1
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L1
	.word	.L3
.L2:
	mov	r1, r5
	ldr	r0, [r4]
	bl	bfa_sm_fault
.L1:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L3:
	ldr	r3, .L16+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfa_sm_set_state
	b	.L1
.L9:
	ldr	r3, .L16+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfa_sm_set_state
	b	.L1
.L8:
	ldr	r3, .L16+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfa_sm_set_state
	b	.L1
.L7:
	mov	r0, r4
	bl	bfa_fcport_send_enable
	cmp	r0, #0
	ldrne	r3, .L16+20
	ldreq	r3, .L16+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfa_sm_set_state
	ldr	r3, [r4]
	ldr	r2, .L16+28
	ldr	r0, [r3]
	ldr	r1, .L16+32
	ldr	r3, .L16+36
	ldr	r2, [r2]
	ldr	r1, [r1]
	add	r6, sp, #8
	str	r3, [sp]
	mov	r3, #0
	bl	bfa_plog_str
	ldr	r1, [r4, #4]
	mov	r0, r6
	bl	wwn2str
	ldr	r3, .L16+40
	ldr	r2, .L16+44
	str	r6, [sp]
	mov	r1, r7
	ldr	r2, [r2]
	ldr	r0, [r3]
	ldr	r3, .L16+48
	bl	BFA_LOG
	ldr	r3, .L16+52
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfa_fcport_aen_post
	b	.L1
.L6:
	ldr	r3, .L16+56
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfa_sm_set_state
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	BFA_STRING_32
	.word	.LC2
	.word	bfa_fcport_sm_ddport
	.word	bfa_fcport_sm_stopped
	.word	bfa_fcport_sm_iocfail
	.word	bfa_fcport_sm_enabling
	.word	bfa_fcport_sm_enabling_qwait
	.word	BFA_PL_EID_PORT_ENABLE
	.word	BFA_PL_MID_HAL
	.word	.LC0
	.word	KERN_INFO
	.word	bfa_log_level
	.word	.LC1
	.word	BFA_PORT_AEN_ENABLE
	.word	bfa_fcport_sm_dport
	.size	bfa_fcport_sm_disabled, .-bfa_fcport_sm_disabled
	.comm	bfa_log_level,4,4
	.comm	bfa_fcport_sm_stopped,4,4
	.comm	bfa_fcport_sm_iocfail,4,4
	.comm	bfa_fcport_sm_enabling_qwait,4,4
	.comm	bfa_fcport_sm_enabling,4,4
	.comm	bfa_fcport_sm_dport,4,4
	.comm	bfa_fcport_sm_ddport,4,4
	.comm	KERN_INFO,4,4
	.comm	BFA_STRING_32,4,4
	.comm	BFA_PORT_AEN_ENABLE,4,4
	.comm	BFA_PL_MID_HAL,4,4
	.comm	BFA_PL_EID_PORT_ENABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
