	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_metadata_sector_and_offset
_get_metadata_sector_and_offset:        ## @get_metadata_sector_and_offset
	.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, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	24(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$1, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movb	(%r12), %cl
	movl	%r15d, %ebx
	shll	%cl, %ebx
	jmp	LBB0_3
LBB0_2:
	movl	4(%r12), %ebx
	imull	%r15d, %ebx
LBB0_3:
	movl	8(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_sector_to_block
	movl	$1, %r13d
	movl	$1, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	8(%r12), %edx
	movl	12(%r12), %esi
	leal	(%rdx,%rax), %ecx
	subl	%esi, %ecx
	movl	%r14d, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edi
	movl	%esi, %ecx
	shll	%cl, %r14d
	movl	%eax, %ecx
	shll	%cl, %r13d
	movl	%edx, %ecx
	shll	%cl, %r13d
	decl	%r13d
	jmp	LBB0_6
LBB0_5:
	imull	16(%r12), %r14d
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	8(%r12), %edx
	leal	(%rdx,%rax), %ecx
	movl	%r14d, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edi
	movl	%eax, %ecx
	shll	%cl, %r13d
	movl	%edx, %ecx
	shll	%cl, %r13d
	movl	%r13d, %eax
	decl	%eax
	movl	%r14d, %r13d
	movl	%eax, %r14d
LBB0_6:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r15d
	addl	%r15d, %ebx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %ebx
	andl	%r14d, %r13d
	addl	%edi, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.no_dead_strip	_get_metadata_sector_and_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_metadata_sector_and_offset
_get_metadata_sector_and_offset:        ; @get_metadata_sector_and_offset
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x0, #24]
	ldr	w23, [x8]
	mov	w0, #1
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x22]
	lsl	w24, w20, w8
	b	LBB0_3
LBB0_2:
	ldr	w8, [x22, #4]
	mul	w24, w8, w20
LBB0_3:
	ldr	w25, [x22, #8]
	mov	x0, x22
	mov	x1, x21
	bl	_sector_to_block
	mov	w26, #1
	mov	w0, #1
	bl	_likely
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _SECTOR_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w11, w10, [x22, #8]
	add	w9, w11, w8
	sub	w9, w9, w10
	lsr	w9, w21, w9
	lsl	w10, w21, w10
	lsl	w8, w26, w8
	lsl	w8, w8, w11
	sub	w8, w8, #1
	b	LBB0_6
LBB0_5:
	ldr	w8, [x22, #16]
	mul	w8, w8, w21
Lloh3:
	adrp	x9, _SECTOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x9]
	ldr	w11, [x22, #8]
	add	w9, w11, w10
	lsr	w9, w8, w9
	lsl	w10, w26, w10
	lsl	w10, w10, w11
	sub	w10, w10, #1
LBB0_6:
	and	w8, w10, w8
	lsl	w10, w20, w23
	add	w10, w24, w10
	lsr	w10, w10, w25
	add	w0, w9, w10
	str	w8, [x19]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.no_dead_strip	_get_metadata_sector_and_offset
.subsections_via_symbols
