	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resync_info_update
_resync_info_update:                    ## @resync_info_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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	(%rdi), %r14
	movq	$0, -40(%rbp)
	testl	%edx, %edx
	jne	LBB0_3
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	-32(%rbp), %edi
	callq	_le64_to_cpu
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	(%r14), %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_add_resync_info
	movq	(%r14), %rdi
	movq	_DLM_LOCK_PW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dlm_lock_sync
	movq	_RESYNCING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -40(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le64
	movq	%rax, -48(%rbp)
	movl	%ebx, %edi
	callq	_cpu_to_le64
	movq	%rax, -56(%rbp)
	xorl	%edx, %edx
	orl	%r15d, %ebx
	sete	%dl
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_sendmsg
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_DLM_LOCK_PW,4,2                ## @DLM_LOCK_PW
	.comm	_RESYNCING,4,2                  ## @RESYNCING
	.no_dead_strip	_resync_info_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resync_info_update
_resync_info_update:                    ; @resync_info_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x2
	mov	x21, x1
	ldr	x19, [x0]
	str	xzr, [sp, #16]
	cbnz	w2, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w1, [x8]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [sp, #24]
	bl	_le64_to_cpu
	cbz	x0, LBB0_3
LBB0_2:
	ldr	x0, [x19]
	mov	x1, x21
	mov	x2, x20
	bl	_add_resync_info
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _DLM_LOCK_PW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLM_LOCK_PW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_dlm_lock_sync
Lloh3:
	adrp	x8, _RESYNCING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESYNCING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [sp, #16]
	mov	x0, x21
	bl	_cpu_to_le64
	str	x0, [sp, #8]
	mov	x0, x20
	bl	_cpu_to_le64
	str	x0, [sp]
	orr	w8, w20, w21
	cmp	w8, #0
	cset	w2, eq
	mov	x1, sp
	mov	x0, x19
	bl	_sendmsg
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DLM_LOCK_PW,4,2                ; @DLM_LOCK_PW
	.comm	_RESYNCING,4,2                  ; @RESYNCING
	.no_dead_strip	_resync_info_update
.subsections_via_symbols
