	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function era_map
_era_map:                               ## @era_map
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movq	%r14, %rdi
	callq	_get_block
	movl	%eax, %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_remap_to_origin
	movq	_REQ_PREFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DM_MAPIO_REMAPPED@GOTPCREL(%rip), %r12
	testl	%eax, (%rbx)
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_bio_data_dir
	movq	_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_metadata_current_marked
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_defer_bio
	movq	_DM_MAPIO_SUBMITTED@GOTPCREL(%rip), %r12
LBB0_4:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_PREFLUSH,4,2               ## @REQ_PREFLUSH
	.comm	_WRITE,8,3                      ## @WRITE
	.comm	_DM_MAPIO_SUBMITTED,4,2         ## @DM_MAPIO_SUBMITTED
	.comm	_DM_MAPIO_REMAPPED,4,2          ## @DM_MAPIO_REMAPPED
	.no_dead_strip	_era_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function era_map
_era_map:                               ; @era_map
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	ldr	x20, [x0]
	mov	x0, x20
	bl	_get_block
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_remap_to_origin
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _REQ_PREFLUSH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REQ_PREFLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_bio_data_dir
Lloh3:
	adrp	x8, _WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x20]
	mov	x1, x21
	bl	_metadata_current_marked
	cbz	w0, LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _DM_MAPIO_REMAPPED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_MAPIO_REMAPPED@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_defer_bio
Lloh8:
	adrp	x8, _DM_MAPIO_SUBMITTED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DM_MAPIO_SUBMITTED@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_PREFLUSH,4,2               ; @REQ_PREFLUSH
	.comm	_WRITE,8,3                      ; @WRITE
	.comm	_DM_MAPIO_SUBMITTED,4,2         ; @DM_MAPIO_SUBMITTED
	.comm	_DM_MAPIO_REMAPPED,4,2          ; @DM_MAPIO_REMAPPED
	.no_dead_strip	_era_map
.subsections_via_symbols
