	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_for_slice
_check_for_slice:                       ## @check_for_slice
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %r12
	leaq	16(%rdi), %r15
	movq	%r15, %rdi
	callq	_get_bits_count
	movl	%eax, %ebx
	negl	%ebx
	andl	$7, %ebx
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_show_bits
	xorl	%ebx, %ebx
	cmpl	$128, %eax
	sete	%bl
	shll	$3, %ebx
LBB0_3:
	addl	$24, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_show_bits_long
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_skip_bits_long
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_get_bits
	movl	%eax, 4(%r12)
	cmpl	(%r12), %eax
	jge	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_decode_slice_header
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_for_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_for_slice
_check_for_slice:                       ; @check_for_slice
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x20, x0, #16
	mov	x0, x20
	bl	_get_bits_count
	neg	w8, w0
	ands	w8, w8, #0x7
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	w1, #8
	bl	_show_bits
	cmp	w0, #128
	cset	w8, eq
	lsl	w8, w8, #3
LBB0_3:
	add	w21, w8, #24
	mov	x0, x20
	mov	x1, x21
	bl	_show_bits_long
	and	w8, w0, #0xffffff
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_skip_bits_long
	mov	x0, x20
	mov	w1, #8
	bl	_get_bits
	str	w0, [x19, #4]
	ldr	w8, [x19]
	cmp	w0, w8
	b.ge	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_decode_slice_header
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_check_for_slice
.subsections_via_symbols
