	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_lp_owd_calculator
_tcp_lp_owd_calculator:                 ## @tcp_lp_owd_calculator
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_tcp_sk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_inet_csk_ca
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_tcp_lp_remote_hz_estimator
	movl	%eax, %ecx
	movl	%eax, (%r15)
	movl	4(%r15), %edi
	movq	_LP_VALID_RHZ@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_1
## %bb.3:
	movq	_LP_RESOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ecx
	imull	(%r14), %ecx
	movq	_HZ@GOTPCREL(%rip), %rbx
	movl	%esi, %eax
	cltd
	idivl	(%rbx)
	movl	%eax, %edx
	imull	4(%r14), %edx
	movl	%ecx, %esi
	subl	%edx, %esi
	movl	%esi, %eax
	negl	%eax
	cmovsl	%esi, %eax
	cmpl	%edx, %ecx
	je	LBB0_2
## %bb.4:
	movq	_LP_VALID_OWD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	movq	_LP_VALID_OWD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %edi
LBB0_5:
	movl	%edi, 4(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LP_VALID_RHZ,4,2               ## @LP_VALID_RHZ
	.comm	_LP_RESOL,4,2                   ## @LP_RESOL
	.comm	_HZ,4,2                         ## @HZ
	.comm	_LP_VALID_OWD,4,2               ## @LP_VALID_OWD
	.no_dead_strip	_tcp_lp_owd_calculator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_lp_owd_calculator
_tcp_lp_owd_calculator:                 ; @tcp_lp_owd_calculator
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x0
	bl	_tcp_sk
	mov	x20, x0
	mov	x0, x21
	bl	_inet_csk_ca
	mov	x19, x0
	mov	x0, x21
	bl	_tcp_lp_remote_hz_estimator
	str	w0, [x19]
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _LP_VALID_RHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LP_VALID_RHZ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _LP_RESOL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LP_RESOL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w10, w9, w0
	ldp	w11, w12, [x20]
	mul	w10, w10, w11
Lloh6:
	adrp	x11, _HZ@GOTPAGE
Lloh7:
	ldr	x11, [x11, _HZ@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	sdiv	w9, w9, w11
	mul	w9, w9, w12
	subs	w11, w10, w9
	cneg	w0, w11, mi
	cmp	w10, w9
	b.eq	LBB0_4
; %bb.2:
Lloh9:
	adrp	x9, _LP_VALID_OWD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LP_VALID_OWD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
Lloh12:
	adrp	x9, _LP_VALID_OWD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LP_VALID_OWD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	bic	w8, w8, w9
LBB0_5:
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LP_VALID_RHZ,4,2               ; @LP_VALID_RHZ
	.comm	_LP_RESOL,4,2                   ; @LP_RESOL
	.comm	_HZ,4,2                         ; @HZ
	.comm	_LP_VALID_OWD,4,2               ; @LP_VALID_OWD
	.no_dead_strip	_tcp_lp_owd_calculator
.subsections_via_symbols
