	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function walk_ablock
_walk_ablock:                           ## @walk_ablock
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	-68(%rbp), %rdi
	movq	%rdx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	8(%r12), %ebx
	movl	-68(%rbp), %edi
	callq	_le64_to_cpu
	leaq	-80(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_get_ablock
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %r12
	movl	12(%rax), %r14d
	movq	%r15, %r13
	movl	(%r15), %r15d
	imull	-64(%rbp), %r15d                ## 4-byte Folded Reload
	addl	%ebx, %r15d
	movl	8(%rax), %edi
	movq	-56(%rbp), %rsi
	movl	%ebx, %edx
	callq	_element_at
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	*%r12
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	cmpl	%ebx, -60(%rbp)                 ## 4-byte Folded Reload
	movq	%r13, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_6
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_7:
	movl	%eax, %r14d
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_9:
	movl	8(%rax), %edi
	movq	-80(%rbp), %rsi
	callq	_unlock_ablock
LBB0_10:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_walk_ablock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function walk_ablock
_walk_ablock:                           ; @walk_ablock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #28
	mov	x1, x2
	mov	w2, #4
	bl	_memcpy
	ldr	w21, [x19, #8]
	ldr	w0, [sp, #28]
	bl	_le64_to_cpu
	mov	x1, x0
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x21
	bl	_get_ablock
	mov	x24, x0
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	cbz	w0, LBB0_5
; %bb.2:
	mov	x22, x0
	mov	w23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x19]
	ldr	w8, [x20]
	madd	w24, w8, w21, w23
	ldp	w0, w25, [x19, #8]
	ldr	x1, [sp, #8]
	mov	x2, x23
	bl	_element_at
	mov	x2, x0
	mov	x0, x25
	mov	x1, x24
	blr	x26
	cbnz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	cmp	w22, w23
	b.ne	LBB0_3
LBB0_5:
	mov	w24, #0
	b	LBB0_7
LBB0_6:
	mov	x24, x0
LBB0_7:
	ldr	w0, [x19, #8]
	ldr	x1, [sp, #16]
	bl	_unlock_ablock
LBB0_8:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_walk_ablock
.subsections_via_symbols
