	.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
	xorl	%eax, %eax
	movl	%esi, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %edx
	orl	$128, %edx
	movzbl	%dl, %r8d
	movl	%eax, %edx
	incl	%eax
	movl	%r8d, (%rdi,%rdx,4)
	sarl	$7, %ecx
	cmpl	$127, %esi
	movl	%ecx, %esi
	ja	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	andl	$127, -4(%rdi,%rcx,4)
	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, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w9, #128
	bfxil	w9, w1, #0, #7
	str	w9, [x0, w8, uxtw #2]
	add	w8, w8, #1
	asr	w9, w1, #7
	cmp	w1, #127
	mov	x1, x9
	b.hi	LBB0_1
; %bb.2:
	add	x9, x0, w8, uxtw #2
	ldur	w10, [x9, #-4]
	and	w10, w10, #0x7f
	stur	w10, [x9, #-4]
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
