	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_array_get_value             ## -- Begin function dm_array_get_value
	.p2align	4, 0x90
_dm_array_get_value:                    ## @dm_array_get_value
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	4(%rdi), %edi
	callq	_dm_tm_get_bm
	movl	%eax, %edi
	callq	_dm_bm_block_size
	movl	(%r13), %edi
	movq	%rax, %rsi
	callq	_calc_max_entries
	movl	%eax, %ecx
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r15d
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_lookup_ablock
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	-48(%rbp), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	cmpl	%eax, %r15d
	jae	LBB0_2
## %bb.3:
	movq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_element_at
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_memcpy
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	_ENODATA@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_unlock_ablock
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODATA,4,2                    ## @ENODATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_array_get_value             ; -- Begin function dm_array_get_value
	.p2align	2
_dm_array_get_value:                    ; @dm_array_get_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_dm_tm_get_bm
	bl	_dm_bm_block_size
	mov	x1, x0
	ldr	w0, [x19]
	bl	_calc_max_entries
	mov	x23, x0
	udiv	w24, w21, w0
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_lookup_ablock
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.1:
	msub	w21, w24, w23, w21
	ldr	x8, [sp]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	cmp	w21, w0
	b.hs	LBB0_3
; %bb.2:
	ldr	x1, [sp]
	mov	x0, x19
	mov	x2, x21
	bl	_element_at
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x20
	bl	_memcpy
	mov	w22, #0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _ENODATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_4:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_unlock_ablock
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODATA,4,2                    ; @ENODATA
.subsections_via_symbols
