	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_metadata_update
_process_metadata_update:               ## @process_metadata_update
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	(%rsi), %edi
	callq	_le32_to_cpu
	movl	%eax, (%rbx)
	movl	4(%r14), %edi
	movq	_DLM_LOCK_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dlm_lock_sync
	movq	8(%rbx), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_mddev_trylock
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_wait_event
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_md_reload_sb
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mddev_unlock                   ## TAILCALL
LBB0_1:
	movq	_MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	xorl	%esi, %esi
	testq	%rax, %rax
	setne	%sil
	movl	%r15d, %edi
	callq	_wait_event
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_md_reload_sb                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DLM_LOCK_CR,4,2                ## @DLM_LOCK_CR
	.comm	_MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD,4,2 ## @MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD
	.no_dead_strip	_process_metadata_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_metadata_update
_process_metadata_update:               ; @process_metadata_update
	.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, x0
	ldr	x20, [x0, #16]
	ldr	w0, [x1]
	bl	_le32_to_cpu
	str	w0, [x19]
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x8, _DLM_LOCK_CR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLM_LOCK_CR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_dlm_lock_sync
	ldr	x8, [x19, #8]
	ldr	w21, [x8]
	mov	x0, x19
	bl	_mddev_trylock
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w1, #1
	bl	_wait_event
	ldr	w1, [x19]
	mov	x0, x19
	bl	_md_reload_sb
	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	_mddev_unlock
LBB0_2:
Lloh3:
	adrp	x8, _MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cmp	x0, #0
	cset	w1, ne
	mov	x0, x21
	bl	_wait_event
	ldr	w1, [x19]
	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	_md_reload_sb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DLM_LOCK_CR,4,2                ; @DLM_LOCK_CR
	.comm	_MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD,4,2 ; @MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD
	.no_dead_strip	_process_metadata_update
.subsections_via_symbols
