	.file	"extr_cm.c_cm_format_path_from_lap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cm_format_path_from_lap, @function
cm_format_path_from_lap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR 8[rdx]
	mov	rbx, rdi
	mov	rdi, rdx
	mov	DWORD PTR 80[rsi], eax
	mov	eax, DWORD PTR 4[rdx]
	mov	DWORD PTR 76[rsi], eax
	call	cm_lap_get_flow_label@PLT
	mov	rdi, r12
	mov	DWORD PTR 72[rbp], eax
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR 68[rbp], eax
	call	cm_lap_get_traffic_class@PLT
	mov	DWORD PTR 0[rbp], 1
	mov	rdi, r12
	mov	DWORD PTR 64[rbp], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 60[rbp], eax
	call	cm_lap_get_sl@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rdi, r12
	mov	DWORD PTR 56[rbp], eax
	mov	rax, QWORD PTR IB_SA_EQ[rip]
	mov	DWORD PTR 40[rbp], edx
	mov	QWORD PTR 48[rbp], rax
	mov	QWORD PTR 32[rbp], rax
	call	cm_lap_get_packet_rate@PLT
	mov	rdi, r12
	mov	DWORD PTR 24[rbp], eax
	mov	rax, QWORD PTR IB_SA_EQ[rip]
	mov	QWORD PTR 16[rbp], rax
	call	cm_lap_get_local_ack_timeout@PLT
	xor	edx, edx
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	test	rax, rax
	mov	rdi, r12
	setg	dl
	sub	rax, rdx
	mov	QWORD PTR 8[rbp], rax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	cm_format_path_lid_from_lap@PLT
	.cfi_endproc
.LFE0:
	.size	cm_format_path_from_lap, .-cm_format_path_from_lap
	.comm	IB_SA_EQ,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_cm.c_cm_format_path_from_lap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cm_format_path_from_lap, %function
cm_format_path_from_lap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ldr	r2, [r2, #8]
	ldr	r3, [r5, #4]
	mov	r6, r0
	str	r2, [r1, #52]
	str	r3, [r1, #48]
	mov	r0, r5
	mov	r4, r1
	bl	cm_lap_get_flow_label
	ldr	r3, [r5]
	str	r0, [r4, #44]
	str	r3, [r4, #40]
	mov	r0, r5
	bl	cm_lap_get_traffic_class
	mov	r2, #1
	ldr	r3, [r6, #4]
	str	r0, [r4, #36]
	str	r2, [r4]
	str	r3, [r4, #32]
	mov	r0, r5
	bl	cm_lap_get_sl
	ldr	r7, .L4
	ldr	r2, [r6]
	ldr	r3, [r7]
	str	r0, [r4, #28]
	str	r2, [r4, #20]
	str	r3, [r4, #24]
	str	r3, [r4, #16]
	mov	r0, r5
	bl	cm_lap_get_packet_rate
	ldr	r3, [r7]
	str	r0, [r4, #12]
	str	r3, [r4, #8]
	mov	r0, r5
	bl	cm_lap_get_local_ack_timeout
	cmp	r0, #0
	subgt	r0, r0, #1
	mov	r1, r4
	str	r0, [r4, #4]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	cm_format_path_lid_from_lap
.L5:
	.align	2
.L4:
	.word	IB_SA_EQ
	.size	cm_format_path_from_lap, .-cm_format_path_from_lap
	.comm	IB_SA_EQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
