	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prefix
_prefix:                                ## @prefix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	jle	LBB0_5
## %bb.1:
	leal	(,%rsi,8), %eax
	movl	%esi, %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$255, (%rdi,%rdx,4)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	addl	$8, %ecx
	cmpq	%rdx, %r8
	jne	LBB0_2
	jmp	LBB0_4
LBB0_5:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
LBB0_6:
	cmpl	%esi, %edx
	jne	LBB0_8
LBB0_7:
	movl	%ecx, %eax
	popq	%rbp
	retq
LBB0_8:
	movl	%edx, %edx
	movl	(%rdi,%rdx,4), %r8d
	movl	$7, %r9d
	testb	$-128, %r8b
	je	LBB0_21
## %bb.9:
	testb	$64, %r8b
	jne	LBB0_11
## %bb.10:
	orl	$1, %ecx
	movl	$6, %r9d
	jmp	LBB0_21
LBB0_11:
	testb	$32, %r8b
	jne	LBB0_13
## %bb.12:
	orl	$2, %ecx
	movl	$5, %r9d
	jmp	LBB0_21
LBB0_13:
	testb	$16, %r8b
	jne	LBB0_15
## %bb.14:
	orl	$3, %ecx
	movl	$4, %r9d
	jmp	LBB0_21
LBB0_15:
	testb	$8, %r8b
	jne	LBB0_17
## %bb.16:
	orl	$4, %ecx
	movl	$3, %r9d
	jmp	LBB0_21
LBB0_17:
	testb	$4, %r8b
	jne	LBB0_19
## %bb.18:
	orl	$5, %ecx
	movl	$2, %r9d
	jmp	LBB0_21
LBB0_19:
	testb	$2, %r8b
	jne	LBB0_34
## %bb.20:
	orl	$6, %ecx
	movl	$1, %r9d
LBB0_21:
	xorl	%eax, %eax
	btl	%r9d, %r8d
	jae	LBB0_22
LBB0_4:
	popq	%rbp
	retq
LBB0_22:
	movl	%r9d, %r10d
	decl	%r10d
	je	LBB0_35
## %bb.23:
	btl	%r10d, %r8d
	jb	LBB0_4
## %bb.24:
	movl	%r9d, %r10d
	addl	$-2, %r10d
	je	LBB0_35
## %bb.25:
	btl	%r10d, %r8d
	jb	LBB0_4
## %bb.26:
	movl	%r9d, %r10d
	addl	$-3, %r10d
	je	LBB0_35
## %bb.27:
	btl	%r10d, %r8d
	jb	LBB0_4
## %bb.28:
	movl	%r9d, %r10d
	addl	$-4, %r10d
	je	LBB0_35
## %bb.29:
	btl	%r10d, %r8d
	jb	LBB0_4
## %bb.30:
	movl	%r9d, %r10d
	addl	$-5, %r10d
	je	LBB0_35
## %bb.31:
	btl	%r10d, %r8d
	jb	LBB0_4
## %bb.32:
	addl	$-6, %r9d
	je	LBB0_35
## %bb.33:
	btl	%r9d, %r8d
	jb	LBB0_4
	jmp	LBB0_35
LBB0_34:
	orl	$7, %ecx
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	leal	1(%rdx), %eax
	cmpl	%esi, %eax
	jge	LBB0_7
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	cmpl	$0, 4(%rdi,%rdx,4)
	leaq	1(%rdx), %rdx
	je	LBB0_35
## %bb.37:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prefix
_prefix:                                ; @prefix
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	cmp	w1, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x9, #0
	mov	w0, #0
	lsl	w10, w1, #3
	mov	w11, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8, x9, lsl #2]
	cmp	w12, #255
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	add	w0, w0, #8
	cmp	x11, x9
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x10
	ret
LBB0_5:
	mov	w9, #0
	mov	w0, #0
LBB0_6:
	cmp	w9, w1
	b.eq	LBB0_23
; %bb.7:
	ldr	w10, [x8, w9, uxtw #2]
	tbnz	w10, #7, LBB0_9
; %bb.8:
	mov	w11, #7
	b	LBB0_21
LBB0_9:
	tbnz	w10, #6, LBB0_11
; %bb.10:
	orr	w0, w0, #0x1
	mov	w11, #6
	b	LBB0_21
LBB0_11:
	tbnz	w10, #5, LBB0_13
; %bb.12:
	orr	w0, w0, #0x2
	mov	w11, #5
	b	LBB0_21
LBB0_13:
	tbnz	w10, #4, LBB0_15
; %bb.14:
	orr	w0, w0, #0x3
	mov	w11, #4
	b	LBB0_21
LBB0_15:
	tbnz	w10, #3, LBB0_17
; %bb.16:
	orr	w0, w0, #0x4
	mov	w11, #3
	b	LBB0_21
LBB0_17:
	tbnz	w10, #2, LBB0_19
; %bb.18:
	mov	w11, #5
	orr	w0, w0, w11
	mov	w11, #2
	b	LBB0_21
LBB0_19:
	tbnz	w10, #1, LBB0_36
; %bb.20:
	orr	w0, w0, #0x6
	mov	w11, #1
LBB0_21:
	lsr	w12, w10, w11
	tbz	w12, #0, LBB0_24
LBB0_22:
	mov	w0, #0
LBB0_23:
	ret
LBB0_24:
	subs	w12, w11, #1
	b.eq	LBB0_37
; %bb.25:
	lsr	w12, w10, w12
	tbnz	w12, #0, LBB0_22
; %bb.26:
	subs	w12, w11, #2
	b.eq	LBB0_37
; %bb.27:
	lsr	w12, w10, w12
	tbnz	w12, #0, LBB0_22
; %bb.28:
	subs	w12, w11, #3
	b.eq	LBB0_37
; %bb.29:
	lsr	w12, w10, w12
	tbnz	w12, #0, LBB0_22
; %bb.30:
	subs	w12, w11, #4
	b.eq	LBB0_37
; %bb.31:
	lsr	w12, w10, w12
	tbnz	w12, #0, LBB0_22
; %bb.32:
	subs	w12, w11, #5
	b.eq	LBB0_37
; %bb.33:
	lsr	w12, w10, w12
	tbnz	w12, #0, LBB0_22
; %bb.34:
	subs	w11, w11, #6
	b.eq	LBB0_37
; %bb.35:
	lsr	w10, w10, w11
	tbnz	w10, #0, LBB0_22
	b	LBB0_37
LBB0_36:
	orr	w0, w0, #0x7
LBB0_37:
	mov	w9, w9
	add	x8, x8, #4
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	add	w10, w9, #1
	cmp	w10, w1
	b.ge	LBB0_23
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	ldr	w10, [x8, x9, lsl #2]
	add	x9, x9, #1
	cbz	w10, LBB0_38
	b	LBB0_22
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_prefix
.subsections_via_symbols
