	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_varbyte
_encode_varbyte:                        ## @encode_varbyte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	cmpl	$128, %edi
	jl	LBB0_1
## %bb.2:
	movl	%edi, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %edx
	orb	$-128, %dl
	movb	%dl, (%rax)
	incq	%rax
	shrl	$7, %ecx
	cmpl	$16383, %edi                    ## imm = 0x3FFF
	movl	%ecx, %edi
	ja	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	%edi, %ecx
LBB0_4:
	movb	%cl, (%rax)
	incq	%rax
	movq	%rax, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_encode_varbyte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_varbyte
_encode_varbyte:                        ; @encode_varbyte
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cmp	w0, #128
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	orr	w9, w0, #0x80
	strb	w9, [x8], #1
	lsr	w9, w0, #7
	lsr	w10, w0, #14
	mov	x0, x9
	cbnz	w10, LBB0_1
	b	LBB0_3
LBB0_2:
	mov	x9, x0
LBB0_3:
	strb	w9, [x8], #1
	str	x8, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_encode_varbyte
.subsections_via_symbols
