	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__dwarf_write_uleb128           ## -- Begin function _dwarf_write_uleb128
	.p2align	4, 0x90
__dwarf_write_uleb128:                  ## @_dwarf_write_uleb128
	.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
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rdi,%rax), %r8
	cmpq	%rsi, %r8
	jae	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%edx, %ecx
	andl	$127, %ecx
	movl	%edx, %r9d
	sarl	$7, %r9d
	leal	128(%rcx), %r10d
	addq	$4, %rax
	cmpl	$127, %edx
	cmovlel	%ecx, %r10d
	movl	%r10d, (%r8)
	movl	%r9d, %edx
	jg	LBB0_1
## %bb.3:
	shrq	$2, %rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_4:
	movl	$-1, %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	__dwarf_write_uleb128           ; -- Begin function _dwarf_write_uleb128
	.p2align	2
__dwarf_write_uleb128:                  ; @_dwarf_write_uleb128
	.cfi_startproc
; %bb.0:
	mov	x8, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x0, x8
	cmp	x9, x1
	b.hs	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	and	w10, w2, #0x7f
	mov	w11, #128
	bfxil	w11, w2, #0, #7
	asr	w12, w2, #7
	cmp	w2, #127
	csel	w10, w11, w10, gt
	str	w10, [x9]
	add	x8, x8, #4
	mov	x2, x12
	b.gt	LBB0_1
; %bb.3:
	lsr	x0, x8, #2
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_4:
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
