	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkcmap
_checkcmap:                             ## @checkcmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rdi), %rdx
	movq	16(%rdi), %rsi
	movq	8(%rdi), %r8
	movb	(%rdi), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	xorl	%ecx, %ecx
	movl	$16, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rdi, %rdi
	jle	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$255, (%rdx,%rcx)
	jg	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$255, (%rsi,%rcx)
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%rdi
	cmpl	$256, (%r8,%rcx)                ## imm = 0x100
	leaq	4(%rcx), %rcx
	jl	LBB0_1
LBB0_6:
	popq	%rbp
	retq
LBB0_2:
	movl	$8, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_checkcmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkcmap
_checkcmap:                             ; @checkcmap
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0, #16]
	ldp	x11, x10, [x0]
	mov	w12, #1
	lsl	x11, x12, x11
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	x11, x11, #1
	b.lt	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w12, [x8], #4
	cmp	w12, #255
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w12, [x9]
	cmp	w12, #255
	b.gt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x9, #4
	ldr	w12, [x10], #4
	cmp	w12, #256
	b.lt	LBB0_1
LBB0_5:
	mov	w0, #16
	ret
LBB0_6:
	mov	w0, #8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_checkcmap
.subsections_via_symbols
