	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccid2_hc_tx_init
_ccid2_hc_tx_init:                      ## @ccid2_hc_tx_init
	.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	%rsi, %r14
	callq	_ccid_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_dccp_sk
	movq	%rax, %rbx
	movl	$-1, (%r15)
	movl	8(%rax), %edi
	callq	_rfc3390_bytes_to_packets
	movl	%eax, 24(%r15)
	movl	%eax, %edi
	movl	$2, %esi
	callq	_DIV_ROUND_UP
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	cmpq	%rax, %rcx
	jle	LBB0_3
LBB0_2:
	movq	%rax, (%rbx)
LBB0_3:
	movq	%r15, %rdi
	callq	_ccid2_hc_tx_alloc_seq
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, 4(%r15)
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_ccid2_change_srtt
	movq	$-1, 8(%r15)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	%r15, %rdi
	addq	$16, %rdi
	movq	_ccid2_hc_tx_rto_expire@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_setup_timer
	movq	%r15, %rdi
	callq	_ccid2_hc_tx_check_sanity
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HZ,4,2                         ## @HZ
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_ccid2_hc_tx_rto_expire,4,2     ## @ccid2_hc_tx_rto_expire
	.no_dead_strip	_ccid2_hc_tx_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccid2_hc_tx_init
_ccid2_hc_tx_init:                      ; @ccid2_hc_tx_init
	.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	x19, x1
	bl	_ccid_priv
	mov	x20, x0
	mov	x0, x19
	bl	_dccp_sk
	mov	x21, x0
	mov	w8, #-1
	str	w8, [x20]
	ldr	w0, [x0, #8]
	bl	_rfc3390_bytes_to_packets
	str	w0, [x20, #24]
	mov	w1, #2
	bl	_DIV_ROUND_UP
	ldr	x8, [x21]
	cmp	x8, #0
	ccmp	x8, x0, #0, ne
	b.le	LBB0_2
; %bb.1:
	str	x0, [x21]
LBB0_2:
	mov	x0, x20
	bl	_ccid2_hc_tx_alloc_seq
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	str	w8, [x20, #4]
	mov	x0, x20
	mov	w1, #-1
	bl	_ccid2_change_srtt
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x20, #8]
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #20]
	add	x0, x20, #16
Lloh9:
	adrp	x8, _ccid2_hc_tx_rto_expire@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ccid2_hc_tx_rto_expire@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_setup_timer
	mov	x0, x20
	bl	_ccid2_hc_tx_check_sanity
	mov	w0, #0
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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HZ,4,2                         ; @HZ
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_ccid2_hc_tx_rto_expire,4,2     ; @ccid2_hc_tx_rto_expire
	.no_dead_strip	_ccid2_hc_tx_init
.subsections_via_symbols
