	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rack_log_to_prr
_rack_log_to_prr:                       ## @rack_log_to_prr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_TCP_LOG_STATE_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$36, %edx
	callq	_memset
	movl	36(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	32(%rbx), %eax
	movl	%eax, -44(%rbp)
	movdqu	16(%rbx), %xmm0
	pshufd	$225, %xmm0, %xmm0              ## xmm0 = xmm0[1,0,2,3]
	movdqu	%xmm0, -60(%rbp)
	movl	%r15d, -72(%rbp)
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_tcp_get_usecs
	movl	%eax, -64(%rbp)
	movq	8(%rbx), %rdi
	movl	16(%rbx), %esi
	callq	_ctf_flight_size
	movl	%eax, -68(%rbp)
	movq	(%rbx), %rax
	movq	8(%rbx), %rdi
	movq	(%rax), %rcx
	leaq	4(%rcx), %rdx
	movq	_BBR_LOG_BBRUPD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	$0
	pushq	%r14
	pushq	$0
	callq	_TCP_LOG_EVENTP
	addq	$32, %rsp
LBB0_2:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_LOG_STATE_OFF,8,3          ## @TCP_LOG_STATE_OFF
	.comm	_BBR_LOG_BBRUPD,4,2             ## @BBR_LOG_BBRUPD
	.no_dead_strip	_rack_log_to_prr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rack_log_to_prr
_rack_log_to_prr:                       ; @rack_log_to_prr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _TCP_LOG_STATE_OFF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCP_LOG_STATE_OFF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #36
	bl	_memset
	ldr	d0, [x19, #32]
	stur	d0, [sp, #52]
	ldr	q0, [x19, #16]
	mov.16b	v1, v0
	mov.s	v1[0], v0[1]
	mov.s	v1[1], v0[0]
	stur	q1, [sp, #36]
	str	w20, [sp, #24]
	add	x20, sp, #16
	add	x0, sp, #16
	bl	_tcp_get_usecs
	str	w0, [sp, #32]
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #16]
	bl	_ctf_flight_size
	str	w0, [sp, #28]
	ldp	x8, x0, [x19]
	ldr	x3, [x8]
	add	x2, x3, #4
Lloh3:
	adrp	x8, _BBR_LOG_BBRUPD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BBR_LOG_BBRUPD@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	str	x20, [sp, #8]
	str	wzr, [sp]
	add	x7, sp, #24
	mov	x1, #0
	mov	w5, #0
	mov	w6, #0
	bl	_TCP_LOG_EVENTP
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_LOG_STATE_OFF,8,3          ; @TCP_LOG_STATE_OFF
	.comm	_BBR_LOG_BBRUPD,4,2             ; @BBR_LOG_BBRUPD
	.no_dead_strip	_rack_log_to_prr
.subsections_via_symbols
