	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function examine_cyclic_buffer
_examine_cyclic_buffer:                 ## @examine_cyclic_buffer
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %ecx
	movl	%ecx, %eax
	movzbl	%ch, %esi
	movq	%rsi, %r8
	movzbl	%cl, %r9d
	shrq	$24, %rcx
	shrl	$16, %eax
	movzbl	%al, %r12d
	movq	_MAXREGMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	8(%rdi), %r15
	leaq	(%rdx,%rdx,2), %r10
	leaq	(%r15,%r10,8), %r14
	movl	(%r15,%r10,8), %r13d
	movl	%r13d, %edx
	andl	%r11d, %edx
	movq	16(%r15,%r10,8), %rsi
	movslq	%edx, %rbx
	shlq	$4, %rbx
	movq	(%rsi,%rbx), %rdx
	cmpq	%rcx, (%rdx)
	jne	LBB0_5
## %bb.1:
	cmpq	%r12, 8(%rdx)
	jne	LBB0_5
## %bb.2:
	movq	%r8, %rax
	cmpq	%r8, 16(%rdx)
	jne	LBB0_5
## %bb.3:
	cmpq	%r9, 24(%rdx)
	jne	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	$0, 8(%rcx)
	movq	8(%rsi,%rbx), %rdx
	movl	(%rdx), %esi
	movl	4(%rdx), %eax
	shll	$24, %esi
	shll	$16, %eax
	orl	%esi, %eax
	movl	8(%rdx), %esi
	shll	$8, %esi
	orl	%eax, %esi
	orl	12(%rdx), %esi
	movslq	%esi, %rdx
	movq	%rdx, (%rcx)
	incl	%r13d
	movl	%r13d, (%r14)
	decq	8(%r15,%r10,8)
	decl	(%rdi)
	jmp	LBB0_13
LBB0_5:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15,%r10,8), %rbx
	xorl	%r14d, %r14d
	cmpq	$1, %rbx
	je	LBB0_14
## %bb.6:
	leaq	(%r15,%r10,8), %r10
	addq	$8, %r10
	movl	$1, %eax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incq	%rax
	cmpq	%rax, %rbx
	je	LBB0_14
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%r13), %edx
	andl	%r11d, %edx
	movslq	%edx, %rdx
	shlq	$4, %rdx
	movq	(%rsi,%rdx), %r15
	cmpq	%rcx, (%r15)
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%r12, 8(%r15)
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r8, %rdi
	cmpq	%r8, 16(%r15)
	jne	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%r9, 24(%r15)
	jne	LBB0_7
## %bb.12:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	$0, 8(%rcx)
	movq	8(%rsi,%rdx), %rdx
	movl	(%rdx), %esi
	movl	4(%rdx), %edi
	shll	$24, %esi
	shll	$16, %edi
	orl	%esi, %edi
	movl	8(%rdx), %esi
	shll	$8, %esi
	orl	%edi, %esi
	orl	12(%rdx), %esi
	movslq	%esi, %rdx
	movq	%rdx, (%rcx)
	addl	%eax, %r13d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, (%rcx)
	subq	%rax, (%r10)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	subl	%eax, (%rcx)
LBB0_13:
	movl	$1, %r14d
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXREGMASK,4,2                 ## @MAXREGMASK
	.no_dead_strip	_examine_cyclic_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function examine_cyclic_buffer
_examine_cyclic_buffer:                 ; @examine_cyclic_buffer
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	lsr	x10, x8, #24
	ubfx	x11, x8, #16, #8
	ubfx	x12, x8, #8, #8
	and	x13, x8, #0xff
Lloh0:
	adrp	x8, _MAXREGMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXREGMASK@GOTPAGEOFF]
Lloh2:
	ldr	w15, [x8]
	ldr	x16, [x0, #8]
	mov	w8, #24
	madd	x8, x2, x8, x16
	ldr	w9, [x8]
	and	w17, w9, w15
	ldr	x14, [x8, #16]
	sbfiz	x3, x17, #4, #32
	ldr	x3, [x14, x3]
	ldr	x4, [x3]
	cmp	x4, x10
	b.ne	LBB0_5
; %bb.1:
	ldr	x4, [x3, #8]
	cmp	x4, x11
	b.ne	LBB0_5
; %bb.2:
	ldr	x4, [x3, #16]
	cmp	x4, x12
	b.ne	LBB0_5
; %bb.3:
	ldr	x3, [x3, #24]
	cmp	x3, x13
	b.ne	LBB0_5
; %bb.4:
	sxtw	x10, w17
	ldr	x11, [x1, #8]
	add	x10, x14, x10, lsl #4
	ldr	x10, [x10, #8]
	ldp	w12, w13, [x10]
	lsl	w13, w13, #16
	orr	w12, w13, w12, lsl #24
	ldp	w13, w10, [x10, #8]
	orr	w12, w12, w13, lsl #8
	orr	w10, w12, w10
	sxtw	x10, w10
	stp	x10, xzr, [x11]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w8, #24
	madd	x8, x2, x8, x16
	ldr	x9, [x8, #8]
	sub	x9, x9, #1
	str	x9, [x8, #8]
	ldr	w8, [x0]
	sub	w8, w8, #1
	b	LBB0_13
LBB0_5:
	mov	w17, #24
	madd	x16, x2, x17, x16
	ldr	x2, [x16, #8]!
	cmp	x2, #1
	b.eq	LBB0_14
; %bb.6:
	mov	w17, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x17, x17, #1
	cmp	x2, x17
	b.eq	LBB0_14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	w3, w9, w17
	and	w3, w15, w3
	sbfiz	x4, x3, #4, #32
	ldr	x4, [x14, x4]
	ldr	x5, [x4]
	cmp	x5, x10
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x5, [x4, #8]
	cmp	x5, x11
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x5, [x4, #16]
	cmp	x5, x12
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x4, [x4, #24]
	cmp	x4, x13
	b.ne	LBB0_7
; %bb.12:
	sxtw	x10, w3
	ldr	x11, [x1, #8]
	add	x10, x14, x10, lsl #4
	ldr	x10, [x10, #8]
	ldp	w12, w13, [x10]
	lsl	w13, w13, #16
	orr	w12, w13, w12, lsl #24
	ldp	w13, w10, [x10, #8]
	orr	w12, w12, w13, lsl #8
	orr	w10, w12, w10
	sxtw	x10, w10
	stp	x10, xzr, [x11]
	add	w9, w9, w17
	str	w9, [x8]
	ldr	x8, [x16]
	sub	x8, x8, x17
	str	x8, [x16]
	ldr	w8, [x0]
	sub	w8, w8, w17
LBB0_13:
	str	w8, [x0]
	mov	w0, #1
	ret
LBB0_14:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXREGMASK,4,2                 ; @MAXREGMASK
	.no_dead_strip	_examine_cyclic_buffer
.subsections_via_symbols
