	.file	"extr_rack.c_rack_log_to_prr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rack_log_to_prr, @function
rack_log_to_prr:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 64
	.cfi_def_cfa_offset 96
	mov	rdx, QWORD PTR TCP_LOG_STATE_OFF[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	cmp	QWORD PTR [rax], rdx
	je	.L1
	lea	r12, 16[rsp]
	mov	rbx, rdi
	mov	edx, 36
	mov	ebp, esi
	mov	rdi, r12
	xor	esi, esi
	call	memset@PLT
	mov	rax, QWORD PTR 24[rbx]
	mov	DWORD PTR 16[rsp], ebp
	lea	rbp, 12[rsp]
	mov	rdi, rbp
	mov	QWORD PTR 36[rsp], rax
	mov	rax, QWORD PTR 32[rbx]
	mov	QWORD PTR 44[rsp], rax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR 20[rbx]
	mov	DWORD PTR 28[rsp], eax
	call	tcp_get_usecs@PLT
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 8[rbx]
	mov	DWORD PTR 24[rsp], eax
	call	ctf_flight_size@PLT
	mov	rdi, QWORD PTR 8[rbx]
	xor	r9d, r9d
	xor	esi, esi
	mov	DWORD PTR 20[rsp], eax
	mov	rax, QWORD PTR [rbx]
	mov	r8d, DWORD PTR BBR_LOG_BBRUPD[rip]
	mov	rcx, QWORD PTR [rax]
	push	rbp
	.cfi_def_cfa_offset 104
	push	0
	.cfi_def_cfa_offset 112
	push	r12
	.cfi_def_cfa_offset 120
	lea	rdx, 4[rcx]
	push	0
	.cfi_def_cfa_offset 128
	call	TCP_LOG_EVENTP@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 96
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rack_log_to_prr, .-rack_log_to_prr
	.comm	TCP_LOG_STATE_OFF,8,8
	.comm	BBR_LOG_BBRUPD,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_rack.c_rack_log_to_prr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rack_log_to_prr, %function
rack_log_to_prr:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, [r0, #4]
	ldr	r3, .L7
	ldr	r2, [r2]
	ldr	r3, [r3]
	sub	sp, sp, #72
	cmp	r2, r3
	ldr	r3, .L7+4
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	beq	.L1
	mov	r4, r0
	mov	r5, #0
	ldr	r2, [r0, #28]
	ldr	r3, [r0, #24]
	ldr	r0, [r0, #20]
	str	r1, [sp, #32]
	str	r2, [sp, #64]
	ldr	r1, [r4, #16]
	ldr	r2, [r4, #8]
	str	r3, [sp, #60]
	add	r6, sp, #28
	ldr	r3, [r4, #12]
	str	r0, [sp, #56]
	mov	r0, r6
	str	r2, [sp, #48]
	str	r1, [sp, #52]
	str	r3, [sp, #44]
	str	r5, [sp, #36]
	str	r5, [sp, #40]
	bl	tcp_get_usecs
	mov	r3, r0
	ldmib	r4, {r0, r1}
	str	r3, [sp, #40]
	bl	ctf_flight_size
	mov	ip, r0
	ldr	r3, [r4]
	ldr	r2, .L7+8
	ldr	r3, [r3]
	ldr	lr, [r2]
	add	r2, sp, #32
	str	r6, [sp, #20]
	str	r5, [sp, #16]
	str	r5, [sp, #8]
	str	r5, [sp, #4]
	ldr	r0, [r4, #4]
	mov	r1, r5
	str	r2, [sp, #12]
	str	lr, [sp]
	add	r2, r3, #4
	str	ip, [sp, #36]
	bl	TCP_LOG_EVENTP
.L1:
	ldr	r3, .L7+4
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #72
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	TCP_LOG_STATE_OFF
	.word	.LC0
	.word	BBR_LOG_BBRUPD
	.size	rack_log_to_prr, .-rack_log_to_prr
	.comm	TCP_LOG_STATE_OFF,4,4
	.comm	BBR_LOG_BBRUPD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
