	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_decode_value_var          ## -- Begin function dccp_decode_value_var
	.p2align	4, 0x90
_dccp_decode_value_var:                 ## @dccp_decode_value_var
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DCCP_OPTVAL_MAXLEN@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%esi, (%rax)
	setle	%cl
	leaq	(%rdi,%rcx,4), %rax
	xorl	%ecx, %ecx
	cmpl	$5, %esi
	setge	%cl
	leaq	(%rax,%rcx,4), %rcx
	cmpl	$4, %esi
	jl	LBB0_2
## %bb.1:
	movl	(%rcx), %eax
	addq	$4, %rcx
	shll	$24, %eax
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	cmpl	$3, %esi
	jne	LBB0_4
LBB0_3:
	movl	(%rcx), %edx
	addq	$4, %rcx
	shll	$16, %edx
	addl	%eax, %edx
LBB0_5:
	movl	(%rcx), %eax
	addq	$4, %rcx
	shll	$8, %eax
	addl	%edx, %eax
LBB0_7:
	addl	(%rcx), %eax
LBB0_8:
	popq	%rbp
	retq
LBB0_4:
	xorl	%edx, %edx
	cmpl	$2, %esi
	jge	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	cmpl	$1, %esi
	je	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_DCCP_OPTVAL_MAXLEN,4,2         ## @DCCP_OPTVAL_MAXLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_decode_value_var          ; -- Begin function dccp_decode_value_var
	.p2align	2
_dccp_decode_value_var:                 ; @dccp_decode_value_var
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DCCP_OPTVAL_MAXLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCCP_OPTVAL_MAXLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	cset	w8, le
	add	x8, x0, w8, uxtw #2
	cmp	w1, #4
	cset	w9, gt
	add	x8, x8, w9, uxtw #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w9, [x8], #4
	lsl	w9, w9, #24
	b	LBB0_4
LBB0_2:
	cmp	w1, #3
	b.ne	LBB0_8
; %bb.3:
	mov	w9, #0
LBB0_4:
	ldr	w10, [x8], #4
	add	w9, w9, w10, lsl #16
LBB0_5:
	ldr	w10, [x8], #4
	add	w9, w9, w10, lsl #8
LBB0_6:
	ldr	w8, [x8]
	add	w0, w8, w9
LBB0_7:
	ret
LBB0_8:
	cmp	w1, #2
	b.lt	LBB0_10
; %bb.9:
	mov	w9, #0
	b	LBB0_5
LBB0_10:
	mov	w9, #0
	mov	w0, #0
	cmp	w1, #1
	b.eq	LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DCCP_OPTVAL_MAXLEN,4,2         ; @DCCP_OPTVAL_MAXLEN
.subsections_via_symbols
