	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function output_big_uleb128
_output_big_uleb128:                    ## @output_big_uleb128
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movl	%edx, %r8d
	sarl	$31, %r8d
	andl	%edx, %r8d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-1(%rax), %rcx
	cmpq	$0, -8(%rsi,%rax,8)
	movq	%rcx, %rax
	je	LBB0_1
## %bb.3:
	incl	%ecx
	movl	%ecx, %r8d
LBB0_4:
	xorl	%eax, %eax
	movq	_CHARS_PER_LITTLENUM@GOTPCREL(%rip), %r9
	xorl	%r10d, %r10d
	xorl	%ecx, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	$-7, %ecx
	sarq	$7, %r10
	incq	%rax
	testb	$-128, %dl
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$6, %ecx
	jg	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r8d, %r8d
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rsi), %rdx
	shlq	%cl, %rdx
	orq	%rdx, %r10
	movl	(%r9), %edx
	leal	(%rcx,%rdx,8), %ecx
	decl	%r8d
	addq	$8, %rsi
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r10d, %edx
	andl	$127, %edx
	leal	128(%rdx), %r11d
	cmpq	$127, %r10
	cmoval	%r11d, %edx
	testl	%r8d, %r8d
	cmovgl	%r11d, %edx
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	%dl, (%rdi,%rax)
	jmp	LBB0_10
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHARS_PER_LITTLENUM,4,2        ## @CHARS_PER_LITTLENUM
	.no_dead_strip	_output_big_uleb128
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output_big_uleb128
_output_big_uleb128:                    ; @output_big_uleb128
	.cfi_startproc
; %bb.0:
	mov	w8, w2
	cmp	w2, #0
	csel	w9, w2, wzr, lt
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x10, x8, #1
	add	x8, x1, x8, lsl #3
	ldur	x11, [x8, #-8]
	mov	x8, x10
	cbz	x11, LBB0_1
; %bb.3:
	add	w9, w10, #1
LBB0_4:
	mov	x8, #0
	mov	x10, #0
	mov	w11, #0
Lloh0:
	adrp	x12, _CHARS_PER_LITTLENUM@GOTPAGE
Lloh1:
	ldr	x12, [x12, _CHARS_PER_LITTLENUM@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	asr	x10, x10, #7
	add	x8, x8, #1
	tbz	w13, #7, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, #6
	b.gt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	subs	w13, w9, #1
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x1], #8
	lsl	x9, x9, x11
	orr	x10, x9, x10
	ldr	w9, [x12]
	add	w11, w11, w9, lsl #3
	mov	x9, x13
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	w13, w10, #0x7f
	sub	w11, w11, #7
	cmp	x10, #127
	ccmp	w9, #0, #0, ls
	mov	w14, #128
	bfxil	w14, w10, #0, #7
	csel	w13, w14, w13, gt
	cbz	x0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w13, [x0, x8]
	b	LBB0_5
LBB0_11:
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CHARS_PER_LITTLENUM,4,2        ; @CHARS_PER_LITTLENUM
	.no_dead_strip	_output_big_uleb128
.subsections_via_symbols
