	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function consume_limits_r
_consume_limits_r:                      ## @consume_limits_r
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_r_buf_size
	cmpq	%r15, %rax
	jle	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	callq	_r_buf_tell
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_11
## %bb.3:
	cmpq	%r15, %rcx
	jg	LBB0_11
## %bb.4:
	movq	%rbx, %rdi
	callq	_r_buf_tell
	movq	%rax, %r12
	leaq	8(%r14), %r13
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_consume_u7_r
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	leaq	16(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_consume_u32_r
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	cmpq	$0, (%r13)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_consume_u32_r
	testl	%eax, %eax
	je	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	callq	_r_buf_tell
	subq	%r12, %rax
	movq	%rax, %rdi
	callq	_R_ABS
	cltq
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_consume_limits_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function consume_limits_r
_consume_limits_r:                      ; @consume_limits_r
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_r_buf_size
	cmp	x0, x21
	b.le	LBB0_9
; %bb.2:
	mov	x0, x19
	bl	_r_buf_tell
	mov	x8, x0
	mov	x0, #0
	cbz	x20, LBB0_10
; %bb.3:
	cmp	x8, x21
	b.gt	LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_r_buf_tell
	mov	x22, x0
	add	x23, x20, #8
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_consume_u7_r
	cbz	w0, LBB0_9
; %bb.5:
	add	x2, x20, #16
	mov	x0, x19
	mov	x1, x21
	bl	_consume_u32_r
	cbz	w0, LBB0_9
; %bb.6:
	ldr	x8, [x23]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_consume_u32_r
	cbz	w0, LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_r_buf_tell
	sub	x0, x0, x22
	bl	_R_ABS
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	b	LBB0_10
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_consume_limits_r
.subsections_via_symbols
