	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_line_close_meta           ## -- Begin function pblk_line_close_meta
	.p2align	4, 0x90
_pblk_line_close_meta:                  ## @pblk_line_close_meta
	.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, %r14
	movq	%rdi, %r15
	addq	$16, %rdi
	movq	48(%rsi), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rsi
	callq	_emeta_to_wa
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_emeta_to_vsc
	movl	20(%r15), %edx
	movl	32(%r15), %esi
	movl	%eax, %edi
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_emeta_to_bb
	movl	40(%r14), %esi
	movl	16(%r15), %edx
	movl	%eax, %edi
	callq	_memcpy
	leaq	12(%r15), %rdi
	callq	_atomic64_read
	movl	%eax, %edi
	callq	_cpu_to_le64
	movq	%rax, 16(%r12)
	leaq	8(%r15), %rdi
	callq	_atomic64_read
	movl	%eax, %edi
	callq	_cpu_to_le64
	movq	%rax, 8(%r12)
	leaq	4(%r15), %rdi
	callq	_atomic64_read
	movl	%eax, %edi
	callq	_cpu_to_le64
	movq	%rax, (%r12)
	movq	56(%rbx), %rdi
	callq	_le32_to_cpu
	movq	_PBLK_MAGIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpq	%rdi, %rax
	je	LBB0_2
## %bb.1:
	leaq	16(%rbx), %r12
	callq	_cpu_to_le32
	movq	%rax, 56(%rbx)
	leaq	48(%rbx), %rdi
	movq	%r15, %rsi
	callq	_guid_copy
	movq	(%r14), %rdi
	callq	_cpu_to_le32
	movq	%rax, 40(%rbx)
	movl	36(%r14), %edi
	callq	_cpu_to_le16
	movl	%eax, 32(%rbx)
	movq	_EMETA_VERSION_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_EMETA_VERSION_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_pblk_calc_meta_header_crc
	movq	%rax, %rdi
	callq	_cpu_to_le32
	movq	%rax, 16(%rbx)
LBB0_2:
	movl	32(%r14), %edi
	callq	_cpu_to_le64
	movq	%rax, 8(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_pblk_calc_emeta_crc
	movq	%rax, %rdi
	callq	_cpu_to_le32
	movq	%rax, (%rbx)
	leaq	24(%r15), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	leaq	24(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	16(%r14), %rax
	cmpq	%rax, 8(%r14)
	je	LBB0_4
## %bb.3:
	movq	%rax, 8(%r14)
LBB0_4:
	addq	$28, %r14
	leaq	28(%r15), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pblk_line_should_sync_meta     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PBLK_MAGIC,8,3                 ## @PBLK_MAGIC
	.comm	_EMETA_VERSION_MAJOR,4,2        ## @EMETA_VERSION_MAJOR
	.comm	_EMETA_VERSION_MINOR,4,2        ## @EMETA_VERSION_MINOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_line_close_meta           ; -- Begin function pblk_line_close_meta
	.p2align	2
_pblk_line_close_meta:                  ; @pblk_line_close_meta
	.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	x20, x1
	mov	x19, x0
	add	x0, x0, #16
	ldr	x8, [x1, #48]
	ldr	x21, [x8]
	mov	x1, x21
	bl	_emeta_to_wa
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_emeta_to_vsc
	ldr	w1, [x19, #32]
	ldr	w2, [x19, #20]
	bl	_memcpy
	mov	x0, x21
	bl	_emeta_to_bb
	ldr	w1, [x20, #40]
	ldr	w2, [x19, #16]
	bl	_memcpy
	add	x0, x19, #12
	bl	_atomic64_read
	bl	_cpu_to_le64
	str	x0, [x22, #16]
	add	x0, x19, #8
	bl	_atomic64_read
	bl	_cpu_to_le64
	str	x0, [x22, #8]
	add	x0, x19, #4
	bl	_atomic64_read
	bl	_cpu_to_le64
	str	x0, [x22]
	ldr	x0, [x21, #56]
	bl	_le32_to_cpu
	mov	x8, x0
Lloh0:
	adrp	x9, _PBLK_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PBLK_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x9]
	cmp	x8, x0
	b.eq	LBB0_2
; %bb.1:
	add	x22, x21, #16
	bl	_cpu_to_le32
	str	x0, [x21, #56]
	add	x0, x21, #48
	mov	x1, x19
	bl	_guid_copy
	ldr	x0, [x20]
	bl	_cpu_to_le32
	str	x0, [x21, #40]
	ldr	w0, [x20, #36]
	bl	_cpu_to_le16
	str	w0, [x21, #32]
Lloh3:
	adrp	x8, _EMETA_VERSION_MAJOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMETA_VERSION_MAJOR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _EMETA_VERSION_MINOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EMETA_VERSION_MINOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #24]
	mov	x0, x19
	mov	x1, x22
	bl	_pblk_calc_meta_header_crc
	bl	_cpu_to_le32
	str	x0, [x21, #16]
LBB0_2:
	ldr	w0, [x20, #32]
	bl	_cpu_to_le64
	str	x0, [x21, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_pblk_calc_emeta_crc
	bl	_cpu_to_le32
	str	x0, [x21]
	add	x21, x19, #24
	mov	x0, x21
	bl	_spin_lock
	add	x22, x20, #24
	mov	x0, x22
	bl	_spin_lock
	ldp	x9, x8, [x20, #8]
	cmp	x9, x8
	b.eq	LBB0_4
; %bb.3:
	str	x8, [x20, #8]
LBB0_4:
	add	x0, x20, #28
	add	x1, x19, #28
	bl	_list_add_tail
	mov	x0, x22
	bl	_spin_unlock
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x19
	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
	b	_pblk_line_should_sync_meta
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PBLK_MAGIC,8,3                 ; @PBLK_MAGIC
	.comm	_EMETA_VERSION_MAJOR,4,2        ; @EMETA_VERSION_MAJOR
	.comm	_EMETA_VERSION_MINOR,4,2        ; @EMETA_VERSION_MINOR
.subsections_via_symbols
