	.file	"extr_ib_cm.c_cm_format_lap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cm_format_lap, @function
cm_format_lap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	mov	esi, DWORD PTR CM_MSG_SEQUENCE_LAP[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	rdi, r12
	call	cm_form_tid@PLT
	mov	esi, DWORD PTR CM_LAP_ATTR_ID[rip]
	lea	rdi, 32[rbx]
	mov	edx, eax
	call	cm_format_mad_hdr@PLT
	mov	eax, DWORD PTR 16[r12]
	mov	esi, DWORD PTR 8[r12]
	mov	rdi, rbx
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR 12[r12]
	mov	DWORD PTR 24[rbx], eax
	call	cm_lap_set_remote_qpn@PLT
	mov	esi, 31
	mov	rdi, rbx
	call	cm_lap_set_remote_resp_timeout@PLT
	mov	eax, DWORD PTR 36[rbp]
	mov	esi, DWORD PTR 20[rbp]
	mov	rdi, rbx
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 32[rbp]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR 28[rbp]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR 8[rbx], eax
	call	cm_lap_set_flow_label@PLT
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, rbx
	call	cm_lap_set_traffic_class@PLT
	mov	eax, DWORD PTR 12[rbp]
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, rbx
	mov	DWORD PTR 4[rbx], eax
	call	cm_lap_set_packet_rate@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, rbx
	call	cm_lap_set_sl@PLT
	mov	esi, 1
	mov	rdi, rbx
	call	cm_lap_set_subnet_local@PLT
	mov	rax, QWORD PTR [r12]
	mov	esi, DWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	cm_ack_timeout@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	cm_lap_set_local_ack_timeout@PLT
	test	r13, r13
	je	.L1
	test	r14, r14
	jne	.L11
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	rdx, r14
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	memcpy@PLT
	.cfi_endproc
.LFE0:
	.size	cm_format_lap, .-cm_format_lap
	.comm	CM_MSG_SEQUENCE_LAP,4,4
	.comm	CM_LAP_ATTR_ID,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_ib_cm.c_cm_format_lap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cm_format_lap, %function
cm_format_lap:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r3
	ldr	r3, .L5
	mov	r5, r2
	ldr	r2, .L5+4
	mov	r4, r0
	mov	r6, r1
	mov	r0, r1
	ldr	r1, [r3]
	ldr	r9, [r2]
	ldr	r8, [sp, #32]
	bl	cm_form_tid
	mov	r1, r9
	mov	r2, r0
	add	r0, r4, #32
	bl	cm_format_mad_hdr
	ldr	r2, [r6, #12]
	ldr	r3, [r6, #8]
	ldr	r1, [r6, #4]
	str	r2, [r4, #28]
	str	r3, [r4, #24]
	mov	r0, r4
	bl	cm_lap_set_remote_qpn
	mov	r1, #31
	mov	r0, r4
	bl	cm_lap_set_remote_resp_timeout
	ldr	r2, [r5, #28]
	ldr	r3, [r5, #24]
	ldr	r0, [r5, #36]
	ldr	r1, [r5, #32]
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	str	r0, [r4, #20]
	str	r1, [r4, #16]
	mov	r0, r4
	ldr	r1, [r5, #20]
	bl	cm_lap_set_flow_label
	ldr	r1, [r5, #16]
	mov	r0, r4
	bl	cm_lap_set_traffic_class
	ldr	r3, [r5, #12]
	ldr	r1, [r5, #8]
	mov	r0, r4
	str	r3, [r4, #4]
	bl	cm_lap_set_packet_rate
	ldr	r1, [r5, #4]
	mov	r0, r4
	bl	cm_lap_set_sl
	mov	r1, #1
	mov	r0, r4
	bl	cm_lap_set_subnet_local
	ldr	r3, [r6]
	ldr	r1, [r5]
	ldr	r3, [r3]
	ldr	r0, [r3]
	bl	cm_ack_timeout
	mov	r1, r0
	mov	r0, r4
	bl	cm_lap_set_local_ack_timeout
	cmp	r7, #0
	cmpne	r8, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r2, r8
	mov	r1, r7
	ldr	r0, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	memcpy
.L6:
	.align	2
.L5:
	.word	CM_MSG_SEQUENCE_LAP
	.word	CM_LAP_ATTR_ID
	.size	cm_format_lap, .-cm_format_lap
	.comm	CM_MSG_SEQUENCE_LAP,4,4
	.comm	CM_LAP_ATTR_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
