	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccid3_hc_rx_insert_options
_ccid3_hc_rx_insert_options:            ## @ccid3_hc_rx_insert_options
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_DCCP_OPEN@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_DCCP_PARTOPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_2:
	movq	%r15, %rdi
	callq	_ccid3_hc_rx_sk
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_dccp_packet_without_ack
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	4(%r12), %edi
	callq	_htonl
	movl	%eax, -40(%rbp)
	movl	(%r12), %edi
	callq	_htonl
	movl	%eax, -36(%rbp)
	movq	_TFRC_OPT_LOSS_EVENT_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$4, %r8d
	callq	_dccp_insert_option
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_TFRC_OPT_RECEIVE_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$4, %r8d
	callq	_dccp_insert_option
	xorl	%ebx, %ebx
	negq	%rax
	sbbl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCCP_OPEN,8,3                  ## @DCCP_OPEN
	.comm	_DCCP_PARTOPEN,8,3              ## @DCCP_PARTOPEN
	.comm	_TFRC_OPT_LOSS_EVENT_RATE,4,2   ## @TFRC_OPT_LOSS_EVENT_RATE
	.comm	_TFRC_OPT_RECEIVE_RATE,4,2      ## @TFRC_OPT_RECEIVE_RATE
	.no_dead_strip	_ccid3_hc_rx_insert_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccid3_hc_rx_insert_options
_ccid3_hc_rx_insert_options:            ; @ccid3_hc_rx_insert_options
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DCCP_OPEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCCP_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _DCCP_PARTOPEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DCCP_PARTOPEN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_ccid3_hc_rx_sk
	mov	x21, x0
	mov	x0, x19
	bl	_dccp_packet_without_ack
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
	add	sp, sp, #64
	ret
LBB0_4:
	ldr	w0, [x21, #4]
	bl	_htonl
	str	w0, [sp, #12]
	ldr	w0, [x21]
	bl	_htonl
	str	w0, [sp, #8]
Lloh6:
	adrp	x8, _TFRC_OPT_LOSS_EVENT_RATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TFRC_OPT_LOSS_EVENT_RATE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w4, #4
	bl	_dccp_insert_option
	cbz	x0, LBB0_6
; %bb.5:
	mov	w0, #-1
	b	LBB0_3
LBB0_6:
Lloh9:
	adrp	x8, _TFRC_OPT_RECEIVE_RATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TFRC_OPT_RECEIVE_RATE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w4, #4
	bl	_dccp_insert_option
	cmp	x0, #0
	csetm	w0, ne
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DCCP_OPEN,8,3                  ; @DCCP_OPEN
	.comm	_DCCP_PARTOPEN,8,3              ; @DCCP_PARTOPEN
	.comm	_TFRC_OPT_LOSS_EVENT_RATE,4,2   ; @TFRC_OPT_LOSS_EVENT_RATE
	.comm	_TFRC_OPT_RECEIVE_RATE,4,2      ; @TFRC_OPT_RECEIVE_RATE
	.no_dead_strip	_ccid3_hc_rx_insert_options
.subsections_via_symbols
