	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sm_ll_lookup_bitmap            ## -- Begin function sm_ll_lookup_bitmap
	.p2align	4, 0x90
_sm_ll_lookup_bitmap:                   ## @sm_ll_lookup_bitmap
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	12(%rdi), %esi
	movl	%ebx, %edi
	callq	_do_div
	movl	%eax, %r15d
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	*(%r12)
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movl	8(%r12), %ebx
	movl	-40(%rbp), %edi
	callq	_le64_to_cpu
	movq	_dm_sm_bitmap_validator@GOTPCREL(%rip), %rdx
	leaq	-48(%rbp), %rcx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dm_tm_read_lock
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rdi
	callq	_dm_bitmap_data
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_sm_lookup_bitmap
	movl	%eax, (%r14)
	movl	8(%r12), %edi
	movq	-48(%rbp), %rsi
	callq	_dm_tm_unlock
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dm_sm_bitmap_validator,4,2     ## @dm_sm_bitmap_validator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sm_ll_lookup_bitmap            ; -- Begin function sm_ll_lookup_bitmap
	.p2align	2
_sm_ll_lookup_bitmap:                   ; @sm_ll_lookup_bitmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w1, [x0, #12]
	mov	x0, x22
	bl	_do_div
	mov	x21, x0
	ldr	x8, [x20]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x22
	blr	x8
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w22, [x20, #8]
	ldr	w0, [sp, #8]
	bl	_le64_to_cpu
	mov	x1, x0
Lloh0:
	adrp	x2, _dm_sm_bitmap_validator@GOTPAGE
Lloh1:
	ldr	x2, [x2, _dm_sm_bitmap_validator@GOTPAGEOFF]
	mov	x3, sp
	mov	x0, x22
	bl	_dm_tm_read_lock
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldr	x0, [sp]
	bl	_dm_bitmap_data
	mov	x1, x21
	bl	_sm_lookup_bitmap
	str	w0, [x19]
	ldr	w0, [x20, #8]
	ldr	x1, [sp]
	bl	_dm_tm_unlock
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dm_sm_bitmap_validator,4,2     ; @dm_sm_bitmap_validator
.subsections_via_symbols
