	.file	"extr_ocs_els.c_ocs_send_pdisc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"IO alloc failed\n"
.LC1:
	.string	"pdisc"
	.text
	.p2align 4
	.globl	ocs_send_pdisc
	.type	ocs_send_pdisc, @function
ocs_send_pdisc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	node_els_trace@PLT
	mov	edx, DWORD PTR OCS_ELS_ROLE_ORIGINATOR[rip]
	mov	esi, 16
	mov	rdi, r15
	call	ocs_els_io_alloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L6
	mov	QWORD PTR 32[rax], rbp
	mov	rbp, QWORD PTR 24[r12]
	mov	edx, 16
	mov	QWORD PTR 56[rax], rbx
	mov	QWORD PTR 48[rax], r14
	mov	rdi, rbp
	mov	DWORD PTR 40[rax], r13d
	lea	rax, .LC1[rip]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR [r15]
	mov	esi, DWORD PTR [rax]
	call	ocs_memcpy@PLT
	mov	eax, DWORD PTR FC_ELS_CMD_PDISC[rip]
	xor	edx, edx
	mov	rdi, r12
	mov	QWORD PTR 0[rbp], 0
	mov	esi, DWORD PTR __ocs_els_init[rip]
	mov	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR OCS_HW_ELS_REQ[rip]
	mov	QWORD PTR 8[r12], rbx
	mov	DWORD PTR 16[r12], eax
	call	ocs_io_transition@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC0[rip]
	call	ocs_log_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ocs_send_pdisc, .-ocs_send_pdisc
	.comm	__ocs_els_init,4,4
	.comm	OCS_HW_ELS_REQ,4,4
	.comm	OCS_ELS_ROLE_ORIGINATOR,4,4
	.comm	FC_ELS_CMD_PDISC,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_ocs_els.c_ocs_send_pdisc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IO alloc failed\012\000"
	.align	2
.LC1:
	.ascii	"pdisc\000"
	.text
	.align	2
	.global	ocs_send_pdisc
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_send_pdisc, %function
ocs_send_pdisc:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r6, r1
	mov	r8, r2
	mov	r7, r3
	ldr	r9, [r0, #4]
	bl	node_els_trace
	ldr	r1, .L7
	mov	r0, r5
	ldr	r2, [r1]
	mov	r1, #8
	bl	ocs_els_io_alloc
	subs	r4, r0, #0
	beq	.L6
	ldr	r2, [r5]
	ldr	r3, .L7+4
	ldr	r1, [r2]
	ldr	r5, [r4, #12]
	ldr	r2, [sp, #32]
	str	r3, [r4]
	str	r2, [r4, #16]
	mov	r0, r5
	mov	r2, #8
	str	r6, [r4, #28]
	str	r8, [r4, #24]
	str	r7, [r4, #20]
	bl	ocs_memcpy
	mov	r2, #0
	ldr	r1, .L7+8
	ldr	r3, .L7+12
	ldr	r0, [r1]
	ldr	r1, [r3]
	ldr	r3, .L7+16
	str	r0, [r5, #4]
	str	r2, [r5]
	mov	r0, r4
	str	r1, [r4, #8]
	str	r6, [r4, #4]
	ldr	r1, [r3]
	bl	ocs_io_transition
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r0, r9
	ldr	r1, .L7+20
	bl	ocs_log_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	OCS_ELS_ROLE_ORIGINATOR
	.word	.LC1
	.word	FC_ELS_CMD_PDISC
	.word	OCS_HW_ELS_REQ
	.word	__ocs_els_init
	.word	.LC0
	.size	ocs_send_pdisc, .-ocs_send_pdisc
	.comm	__ocs_els_init,4,4
	.comm	OCS_HW_ELS_REQ,4,4
	.comm	OCS_ELS_ROLE_ORIGINATOR,4,4
	.comm	FC_ELS_CMD_PDISC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
