	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_block_by_offset
_find_block_by_offset:                  ## @find_block_by_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rax
	movq	(%rdi), %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rsi
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rdx
	movq	(%r8,%rsi), %rsi
	movq	%rdx, %rdi
	testq	%rsi, %rsi
	jne	LBB0_3
	jmp	LBB0_7
LBB0_1:
	xorl	%edx, %edx
LBB0_7:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovneq	%rdx, %rax
LBB0_8:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmoveq	%rax, %rdi
	movq	%rdi, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_block_by_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_block_by_offset
_find_block_by_offset:                  ; @find_block_by_offset
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_5
; %bb.1:
	mov	x8, #0
	ldr	x9, [x0]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x1, x2
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	b.gt	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x10, x1
	ldr	x1, [x9, x1]
	mov	x8, x10
	cbnz	x1, LBB0_2
	b	LBB0_6
LBB0_5:
	mov	x10, #0
LBB0_6:
	cmp	w3, #0
	csel	x2, xzr, x10, eq
LBB0_7:
	mov	x0, x2
	ret
LBB0_8:
	cmp	w3, #0
	csel	x0, xzr, x8, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_block_by_offset
.subsections_via_symbols
