	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_lba_list_from_emeta
_get_lba_list_from_emeta:               ## @get_lba_list_from_emeta
	.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
	pushq	%rax
	.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, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %edi
	movl	8(%rax), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_kvmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_pblk_line_emeta_read
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pblk_err
	jmp	LBB0_8
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pblk_recov_check_emeta
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_pblk_err
	jmp	LBB0_8
LBB0_6:
	movl	(%r13), %esi
	movl	%r12d, %edi
	callq	_kvmalloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_emeta_to_lbas
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_memcpy
LBB0_8:
	movq	%r14, %rdi
	callq	_kvfree
LBB0_9:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"line %d read emeta failed (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"inconsistent emeta (line %d)\n"

	.no_dead_strip	_get_lba_list_from_emeta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_lba_list_from_emeta
_get_lba_list_from_emeta:               ; @get_lba_list_from_emeta
	.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	x22, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w21, [x8, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_kvmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_pblk_line_emeta_read
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w2, [x22]
	str	x0, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	mov	x22, #0
	b	LBB0_8
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_pblk_recov_check_emeta
	cbz	w0, LBB0_9
; %bb.5:
	ldr	w2, [x22]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x20
	bl	_pblk_err
	mov	x22, #0
LBB0_7:
	mov	x0, x19
	bl	_kvfree
LBB0_8:
	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
LBB0_9:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_kvmalloc
	mov	x22, x0
	cbz	x0, LBB0_7
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	bl	_emeta_to_lbas
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_memcpy
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"line %d read emeta failed (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"inconsistent emeta (line %d)\n"

	.no_dead_strip	_get_lba_list_from_emeta
.subsections_via_symbols
