	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_lp_remote_hz_estimator
_tcp_lp_remote_hz_estimator:            ## @tcp_lp_remote_hz_estimator
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_tcp_sk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_inet_csk_ca
	movq	%rax, %rcx
	movl	(%rax), %edi
	movl	%edi, %esi
	shll	$6, %esi
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	movq	16(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.2:
	movq	(%r14), %rax
	subq	%rbx, %rax
	je	LBB0_10
## %bb.3:
	movq	8(%r14), %rbx
	subq	%rdx, %rbx
	je	LBB0_10
## %bb.4:
	movq	_HZ@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	%rdx, %rax
	movq	%rax, %rdx
	orq	%rbx, %rdx
	shrq	$32, %rdx
	je	LBB0_5
## %bb.6:
	cqto
	idivq	%rbx
	jmp	LBB0_7
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	movl	%eax, %edx
	negl	%edx
	cmovsl	%eax, %edx
	testl	%esi, %esi
	jle	LBB0_9
## %bb.8:
	andl	$67108863, %edi                 ## imm = 0x3FFFFFF
	subl	%edi, %esi
	addl	%edx, %esi
	jmp	LBB0_10
LBB0_9:
	shll	$6, %edx
	movl	%edx, %esi
LBB0_10:
	movq	_LP_VALID_RHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$64, %esi
	jl	LBB0_12
## %bb.11:
	orl	%eax, 24(%rcx)
	jmp	LBB0_13
LBB0_12:
	notl	%eax
	andl	%eax, 24(%rcx)
LBB0_13:
	sarl	$6, %esi
	movups	(%r14), %xmm0
	movups	%xmm0, 8(%rcx)
	movl	%esi, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_LP_VALID_RHZ,4,2               ## @LP_VALID_RHZ
	.no_dead_strip	_tcp_lp_remote_hz_estimator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_lp_remote_hz_estimator
_tcp_lp_remote_hz_estimator:            ; @tcp_lp_remote_hz_estimator
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_tcp_sk
	mov	x19, x0
	mov	x0, x20
	bl	_inet_csk_ca
	ldr	w9, [x0]
	lsl	w8, w9, #6
	ldr	x10, [x0, #8]
	cbz	x10, LBB0_7
; %bb.1:
	ldr	x11, [x0, #16]
	cbz	x11, LBB0_7
; %bb.2:
	ldr	x12, [x19]
	subs	x10, x12, x10
	b.eq	LBB0_7
; %bb.3:
	ldr	x12, [x19, #8]
	subs	x11, x12, x11
	b.eq	LBB0_7
; %bb.4:
Lloh0:
	adrp	x12, _HZ@GOTPAGE
Lloh1:
	ldr	x12, [x12, _HZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x12, [x12]
	mul	x10, x10, x12
	sdiv	x10, x10, x11
	cmp	w10, #0
	cneg	w10, w10, mi
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.5:
	and	w9, w9, #0x3ffffff
	sub	w8, w8, w9
	add	w8, w8, w10
	b	LBB0_7
LBB0_6:
	lsl	w8, w10, #6
LBB0_7:
Lloh3:
	adrp	x9, _LP_VALID_RHZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LP_VALID_RHZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #64
	b.lt	LBB0_9
; %bb.8:
	ldr	w10, [x0, #24]
	orr	w9, w10, w9
	b	LBB0_10
LBB0_9:
	ldr	w10, [x0, #24]
	bic	w9, w10, w9
LBB0_10:
	str	w9, [x0, #24]
	asr	w8, w8, #6
	ldr	q0, [x19]
	stur	q0, [x0, #8]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_LP_VALID_RHZ,4,2               ; @LP_VALID_RHZ
	.no_dead_strip	_tcp_lp_remote_hz_estimator
.subsections_via_symbols
