	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_init_metrics
_tcp_init_metrics:                      ## @tcp_init_metrics
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_tcp_sk
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	___sk_dst_get
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%r14, %rdi
	callq	_dst_confirm
	movq	_RTAX_CWND@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric_locked
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric
	movq	%rax, (%r15)
LBB0_3:
	movq	_RTAX_SSTHRESH@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	cmovlq	%rax, %rcx
	movq	%rcx, 8(%r15)
	jmp	LBB0_6
LBB0_5:
	movq	_TCP_INFINITE_SSTHRESH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_6:
	movq	_RTAX_REORDERING@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	16(%r15), %r13
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric
	cmpq	%rax, %r13
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_tcp_disable_fack
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric
	movq	%rax, 16(%r15)
LBB0_9:
	movq	_RTAX_RTT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	cmpq	$0, 24(%r15)
	je	LBB0_16
## %bb.11:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric_rtt
	cmpq	24(%r15), %rax
	jle	LBB0_13
## %bb.12:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric_rtt
	movq	%rax, 24(%r15)
	movl	68(%r15), %eax
	movl	%eax, 72(%r15)
LBB0_13:
	movq	_RTAX_RTTVAR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric_rtt
	cmpq	32(%r15), %rax
	jle	LBB0_15
## %bb.14:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dst_metric_rtt
	movq	%rax, %r12
	movq	%rax, 32(%r15)
	movq	%rbx, %rdi
	callq	_tcp_rto_min
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_max
	movq	%rax, 48(%r15)
	movq	%rax, 40(%r15)
LBB0_15:
	movq	%rbx, %rdi
	callq	_tcp_set_rto
LBB0_16:
	cmpq	$0, 24(%r15)
	jne	LBB0_18
## %bb.17:
	movq	_TCP_TIMEOUT_FALLBACK@GOTPCREL(%rip), %rax
	movq	%rbx, %rdi
	movq	(%rax), %rbx
	movq	%rbx, 48(%r15)
	movq	%rbx, 40(%r15)
	movq	%rbx, 32(%r15)
	callq	_inet_csk
	movq	%rbx, (%rax)
LBB0_18:
	movl	$1, %eax
	cmpl	$1, 56(%r15)
	jg	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_tcp_init_cwnd
LBB0_20:
	movl	%eax, 60(%r15)
	movq	_tcp_time_stamp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTAX_CWND,4,2                  ## @RTAX_CWND
	.comm	_RTAX_SSTHRESH,4,2              ## @RTAX_SSTHRESH
	.comm	_TCP_INFINITE_SSTHRESH,8,3      ## @TCP_INFINITE_SSTHRESH
	.comm	_RTAX_REORDERING,4,2            ## @RTAX_REORDERING
	.comm	_RTAX_RTT,4,2                   ## @RTAX_RTT
	.comm	_RTAX_RTTVAR,4,2                ## @RTAX_RTTVAR
	.comm	_TCP_TIMEOUT_FALLBACK,8,3       ## @TCP_TIMEOUT_FALLBACK
	.comm	_tcp_time_stamp,4,2             ## @tcp_time_stamp
	.no_dead_strip	_tcp_init_metrics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_init_metrics
_tcp_init_metrics:                      ; @tcp_init_metrics
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	bl	_tcp_sk
	mov	x19, x0
	mov	x0, x21
	bl	___sk_dst_get
	mov	x20, x0
	cbz	x0, LBB0_16
; %bb.1:
	mov	x0, x20
	bl	_dst_confirm
Lloh0:
	adrp	x22, _RTAX_CWND@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RTAX_CWND@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric_locked
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric
	str	x0, [x19]
LBB0_3:
Lloh2:
	adrp	x22, _RTAX_SSTHRESH@GOTPAGE
Lloh3:
	ldr	x22, [x22, _RTAX_SSTHRESH@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric
	ldr	x8, [x19]
	cmp	x0, x8
	csel	x8, x0, x8, lt
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _TCP_INFINITE_SSTHRESH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TCP_INFINITE_SSTHRESH@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
LBB0_6:
	str	x8, [x19, #8]
Lloh7:
	adrp	x22, _RTAX_REORDERING@GOTPAGE
Lloh8:
	ldr	x22, [x22, _RTAX_REORDERING@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x23, [x19, #16]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric
	cmp	x23, x0
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_tcp_disable_fack
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric
	str	x0, [x19, #16]
LBB0_9:
Lloh9:
	adrp	x22, _RTAX_RTT@GOTPAGE
Lloh10:
	ldr	x22, [x22, _RTAX_RTT@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric
	cbz	x0, LBB0_16
; %bb.10:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_16
; %bb.11:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric_rtt
	ldr	x8, [x19, #24]
	cmp	x0, x8
	b.le	LBB0_13
; %bb.12:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric_rtt
	str	x0, [x19, #24]
	ldr	w8, [x19, #68]
	str	w8, [x19, #72]
LBB0_13:
Lloh11:
	adrp	x22, _RTAX_RTTVAR@GOTPAGE
Lloh12:
	ldr	x22, [x22, _RTAX_RTTVAR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric_rtt
	ldr	x8, [x19, #32]
	cmp	x0, x8
	b.le	LBB0_15
; %bb.14:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dst_metric_rtt
	mov	x22, x0
	str	x0, [x19, #32]
	mov	x0, x21
	bl	_tcp_rto_min
	mov	x1, x0
	mov	x0, x22
	bl	_max
	stp	x0, x0, [x19, #40]
LBB0_15:
	mov	x0, x21
	bl	_tcp_set_rto
LBB0_16:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_18
; %bb.17:
Lloh13:
	adrp	x8, _TCP_TIMEOUT_FALLBACK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TCP_TIMEOUT_FALLBACK@GOTPAGEOFF]
Lloh15:
	ldr	x22, [x8]
	stp	x22, x22, [x19, #40]
	str	x22, [x19, #32]
	mov	x0, x21
	bl	_inet_csk
	str	x22, [x0]
LBB0_18:
	ldr	w8, [x19, #56]
	cmp	w8, #1
	b.le	LBB0_20
; %bb.19:
	mov	w0, #1
	b	LBB0_21
LBB0_20:
	mov	x0, x19
	mov	x1, x20
	bl	_tcp_init_cwnd
LBB0_21:
Lloh16:
	adrp	x8, _tcp_time_stamp@GOTPAGE
Lloh17:
	ldr	x8, [x8, _tcp_time_stamp@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	stp	w0, w8, [x19, #60]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RTAX_CWND,4,2                  ; @RTAX_CWND
	.comm	_RTAX_SSTHRESH,4,2              ; @RTAX_SSTHRESH
	.comm	_TCP_INFINITE_SSTHRESH,8,3      ; @TCP_INFINITE_SSTHRESH
	.comm	_RTAX_REORDERING,4,2            ; @RTAX_REORDERING
	.comm	_RTAX_RTT,4,2                   ; @RTAX_RTT
	.comm	_RTAX_RTTVAR,4,2                ; @RTAX_RTTVAR
	.comm	_TCP_TIMEOUT_FALLBACK,8,3       ; @TCP_TIMEOUT_FALLBACK
	.comm	_tcp_time_stamp,4,2             ; @tcp_time_stamp
	.no_dead_strip	_tcp_init_metrics
.subsections_via_symbols
