	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Xz_WriteVarInt                 ## -- Begin function Xz_WriteVarInt
	.p2align	4, 0x90
_Xz_WriteVarInt:                        ## @Xz_WriteVarInt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	movl	%esi, %r8d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%eax
	movl	%esi, %edx
	andl	$127, %edx
	leal	128(%rdx), %ecx
	movl	%ecx, (%rdi,%rax,4)
	sarl	$7, %r8d
	cmpl	$127, %esi
	movl	%r8d, %esi
	ja	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	movl	%edx, (%rdi,%rcx,4)
	incl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Xz_WriteVarInt                 ; -- Begin function Xz_WriteVarInt
	.p2align	2
_Xz_WriteVarInt:                        ; @Xz_WriteVarInt
	.cfi_startproc
; %bb.0:
	mov	w8, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x1
	mov	w10, #128
	bfxil	w10, w1, #0, #7
	add	w8, w8, #1
	str	w10, [x0, w8, uxtw #2]
	asr	w1, w1, #7
	cmp	w9, #127
	b.hi	LBB0_1
; %bb.2:
	and	w9, w9, #0x7f
	str	w9, [x0, w8, uxtw #2]
	add	w0, w8, #1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
