	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_outsize_for_pvsz
_encode_outsize_for_pvsz:               ## @encode_outsize_for_pvsz
	.cfi_startproc
## %bb.0:
	cmpl	$4097, %edi                     ## imm = 0x1001
	jl	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$5, %eax
	cmpl	$1024, %edi                     ## imm = 0x400
	jg	LBB0_6
## %bb.3:
	movl	$4, %eax
	cmpl	$128, %edi
	jg	LBB0_6
## %bb.4:
	movl	$3, %eax
	cmpl	$4, %edi
	jg	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	testl	%edi, %edi
	setle	%cl
	movl	$2, %eax
	subl	%ecx, %eax
LBB0_6:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_encode_outsize_for_pvsz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_outsize_for_pvsz
_encode_outsize_for_pvsz:               ; @encode_outsize_for_pvsz
	.cfi_startproc
; %bb.0:
	cmp	w0, #1, lsl #12                 ; =4096
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	mov	w8, #5
	mov	w9, #4
	mov	w10, #3
	cmp	w0, #1
	mov	w11, #1
	cinc	w11, w11, ge
	cmp	w0, #4
	csel	w10, w10, w11, gt
	cmp	w0, #128
	csel	w9, w9, w10, gt
	cmp	w0, #1024
	csel	w0, w8, w9, gt
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_encode_outsize_for_pvsz
.subsections_via_symbols
