	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccid2_change_l_ack_ratio
_ccid2_change_l_ack_ratio:              ## @ccid2_change_l_ack_ratio
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_dccp_sk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ccid2_hc_tx_sk
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_DIV_ROUND_UP
	movq	%rax, %r15
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	cmpq	%r12, %r15
	jge	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_DCCP_WARN
	movq	%r15, %r12
LBB0_3:
	movq	_DCCPF_ACK_RATIO_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	%rbx, %r12
	cmovlq	%r12, %rbx
	cmpq	(%r14), %rbx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_ccid2_pr_debug
	movq	%rbx, (%r14)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Limiting Ack Ratio (%u) to %u\n"

	.comm	_DCCPF_ACK_RATIO_MAX,8,3        ## @DCCPF_ACK_RATIO_MAX
L_.str.1:                               ## @.str.1
	.asciz	"changing local ack ratio to %u\n"

	.no_dead_strip	_ccid2_change_l_ack_ratio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccid2_change_l_ack_ratio
_ccid2_change_l_ack_ratio:              ; @ccid2_change_l_ack_ratio
	.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	x20, x1
	mov	x21, x0
	bl	_dccp_sk
	mov	x19, x0
	mov	x0, x21
	bl	_ccid2_hc_tx_sk
	ldr	w0, [x0]
	mov	w1, #2
	bl	_DIV_ROUND_UP
	mov	x21, x0
	cbz	x20, LBB0_2
; %bb.1:
	cmp	x21, x20
	b.ge	LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_DCCP_WARN
	mov	x20, x21
LBB0_3:
Lloh2:
	adrp	x8, _DCCPF_ACK_RATIO_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DCCPF_ACK_RATIO_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x20, x8
	csel	x20, x20, x8, lt
	ldr	x8, [x19]
	cmp	x20, x8
	b.eq	LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_ccid2_pr_debug
	str	x20, [x19]
LBB0_5:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Limiting Ack Ratio (%u) to %u\n"

	.comm	_DCCPF_ACK_RATIO_MAX,8,3        ; @DCCPF_ACK_RATIO_MAX
l_.str.1:                               ; @.str.1
	.asciz	"changing local ack ratio to %u\n"

	.no_dead_strip	_ccid2_change_l_ack_ratio
.subsections_via_symbols
