	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function join
_join:                                  ## @join
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	%ebx, -132(%rbp)                ## 4-byte Spill
	leaq	100(%rax), %rdi
	callq	_INIT_LIST_HEAD
	leaq	96(%r14), %rdi
	callq	_spin_lock_init
	leaq	76(%r14), %rbx
	movq	%rbx, %rdi
	callq	_init_completion
	movq	_MD_CLUSTER_BEGIN_JOIN_CLUSTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	72(%r14), %r13
	movq	%r13, %rsi
	callq	_set_bit
	leaq	92(%r14), %rdi
	callq	_init_waitqueue_head
	leaq	88(%r14), %rdi
	callq	_mutex_init
	movq	%r14, (%r12)
	movq	%r12, 80(%r14)
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movl	12(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_sprintf
	movl	8(%r12), %esi
	movq	_DLM_LSFL_FS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LVB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	8(%r14), %rax
	leaq	-136(%rbp), %r10
	movq	_md_ls_ops@GOTPCREL(%rip), %r8
	movq	%r15, %rdi
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movq	%r12, %r9
	pushq	%rax
	pushq	%r10
	callq	_dlm_new_lockspace
	addq	$16, %rsp
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.3:
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_wait_for_completion
	movl	(%r14), %esi
	movl	-132(%rbp), %edx                ## 4-byte Reload
	cmpl	%edx, %esi
	jle	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_pr_err
	movq	_ERANGE@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_25
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_29
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	subl	(%r15), %r12d
	movq	_recv_daemon@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_md_register_thread
	movl	%eax, 64(%r14)
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_lockres_init
	movq	%rax, 56(%r14)
	testq	%rax, %rax
	je	LBB0_25
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_lockres_init
	movq	%rax, 48(%r14)
	testq	%rax, %rax
	je	LBB0_25
## %bb.11:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_lockres_init
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	movq	-120(%rbp), %r13                ## 8-byte Reload
	je	LBB0_26
## %bb.12:
	movq	48(%r14), %rdi
	movq	_DLM_LOCK_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dlm_lock_sync
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
LBB0_8:
	xorl	%eax, %eax
	callq	_pr_err
LBB0_25:
	movq	-120(%rbp), %r13                ## 8-byte Reload
LBB0_26:
	movq	_MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_set_bit
	leaq	68(%r14), %rdi
	callq	_md_unregister_thread
	movq	%r14, %rdi
	addq	$64, %rdi
	callq	_md_unregister_thread
	movq	56(%r14), %rdi
	callq	_lockres_free
	movq	48(%r14), %rdi
	callq	_lockres_free
	movq	40(%r14), %rdi
	callq	_lockres_free
	movq	32(%r14), %rdi
	callq	_lockres_free
	movq	24(%r14), %rdi
	callq	_lockres_free
	movq	16(%r14), %rdi
	callq	_lockres_free
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:
	movl	$2, %esi
	callq	_dlm_release_lockspace
LBB0_28:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	$0, (%rax)
	movq	%r14, %rdi
	callq	_kfree
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.30:
	movl	%r12d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_ack_bast@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.8(%rip), %rsi
	xorl	%r12d, %r12d
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_lockres_init
	movq	%rax, 40(%r14)
	testq	%rax, %rax
	je	LBB0_24
## %bb.15:
	movq	_DLM_LOCK_CR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	_dlm_lock_sync
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.9(%rip), %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_17:
	movq	48(%r14), %rdi
	callq	_dlm_unlock_sync
	movq	32(%r14), %rdi
	movl	(%r12), %esi
	callq	_dlm_lock_sync
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.10(%rip), %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_19:
	movl	(%r14), %edx
	leaq	L_.str.11(%rip), %rdi
	leaq	-112(%rbp), %r13
	movq	%r13, %rsi
	callq	_pr_info
	movl	(%r14), %ecx
	decl	%ecx
	leaq	L_.str.12(%rip), %rdx
	movq	%r13, %rdi
	movl	$64, %esi
	callq	_snprintf
	xorl	%r12d, %r12d
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_lockres_init
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:
	movq	_DLM_LOCK_PW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_dlm_lock_sync
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	leaq	L_.str.13(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_25
LBB0_22:
	leaq	L_.str.14(%rip), %rsi
	xorl	%r12d, %r12d
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_lockres_init
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	jne	LBB0_29
## %bb.23:
	xorl	%r12d, %r12d
LBB0_24:
	subl	(%r15), %r12d
	jmp	LBB0_25
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MD_CLUSTER_BEGIN_JOIN_CLUSTER,4,2 ## @MD_CLUSTER_BEGIN_JOIN_CLUSTER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%pU"

	.comm	_DLM_LSFL_FS,4,2                ## @DLM_LSFL_FS
	.comm	_LVB_SIZE,4,2                   ## @LVB_SIZE
	.comm	_md_ls_ops,4,2                  ## @md_ls_ops
L_.str.1:                               ## @.str.1
	.asciz	"md-cluster: Slot allotted(%d) is greater than available slots(%d)."

	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_recv_daemon,4,2                ## @recv_daemon
L_.str.2:                               ## @.str.2
	.asciz	"cluster_recv"

L_.str.3:                               ## @.str.3
	.asciz	"md-cluster: cannot allocate memory for recv_thread!\n"

L_.str.4:                               ## @.str.4
	.asciz	"message"

L_.str.5:                               ## @.str.5
	.asciz	"token"

L_.str.6:                               ## @.str.6
	.asciz	"no-new-dev"

	.comm	_DLM_LOCK_EX,4,2                ## @DLM_LOCK_EX
	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.7:                               ## @.str.7
	.asciz	"md-cluster: can't join cluster to avoid lock issue\n"

L_.str.8:                               ## @.str.8
	.asciz	"ack"

	.comm	_ack_bast,8,3                   ## @ack_bast
	.comm	_DLM_LOCK_CR,4,2                ## @DLM_LOCK_CR
L_.str.9:                               ## @.str.9
	.asciz	"md-cluster: failed to get a sync CR lock on ACK!(%d)\n"

L_.str.10:                              ## @.str.10
	.asciz	"md-cluster: failed to get a sync CR lock on no-new-dev!(%d)\n"

L_.str.11:                              ## @.str.11
	.asciz	"md-cluster: Joined cluster %s slot %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"bitmap%04d"

	.comm	_DLM_LOCK_PW,4,2                ## @DLM_LOCK_PW
L_.str.13:                              ## @.str.13
	.asciz	"Failed to get bitmap lock\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.14:                              ## @.str.14
	.asciz	"resync"

	.comm	_MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD,4,2 ## @MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD
	.no_dead_strip	_join
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function join
_join:                                  ; @join
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #104
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	add	x0, x0, #100
	bl	_INIT_LIST_HEAD
	add	x0, x20, #96
	bl	_spin_lock_init
	add	x24, x20, #76
	mov	x0, x24
	bl	_init_completion
Lloh6:
	adrp	x8, _MD_CLUSTER_BEGIN_JOIN_CLUSTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MD_CLUSTER_BEGIN_JOIN_CLUSTER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x21, x20, #72
	mov	x1, x21
	bl	_set_bit
	add	x0, x20, #92
	bl	_init_waitqueue_head
	add	x0, x20, #88
	bl	_mutex_init
	str	x20, [x19]
	str	x19, [x20, #80]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	w2, [x19, #12]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_sprintf
Lloh11:
	adrp	x8, _DLM_LSFL_FS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DLM_LSFL_FS@GOTPAGEOFF]
	ldr	w1, [x19, #8]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _LVB_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LVB_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	add	x7, x20, #8
Lloh17:
	adrp	x4, _md_ls_ops@GOTPAGE
Lloh18:
	ldr	x4, [x4, _md_ls_ops@GOTPAGEOFF]
	add	x0, sp, #24
	add	x6, sp, #20
	mov	x5, x19
	bl	_dlm_new_lockspace
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.2:
	mov	x0, x24
	bl	_wait_for_completion
	ldr	w8, [x20]
	cmp	w8, w23
	b.le	LBB0_7
; %bb.3:
	stp	x8, x23, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh21:
	adrp	x8, _ERANGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
LBB0_5:
	neg	w22, w8
	b	LBB0_15
LBB0_6:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_18
LBB0_7:
Lloh26:
	adrp	x23, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x23, [x23, _ENOMEM@GOTPAGEOFF]
	ldr	w8, [x23]
	neg	w22, w8
Lloh28:
	adrp	x8, _recv_daemon@GOTPAGE
Lloh29:
	ldr	x8, [x8, _recv_daemon@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x2, l_.str.2@PAGE
Lloh32:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_md_register_thread
	str	w0, [x20, #64]
	cbz	w0, LBB0_13
; %bb.8:
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	mov	w3, #1
	bl	_lockres_init
	str	x0, [x20, #56]
	cbz	x0, LBB0_15
; %bb.9:
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_lockres_init
	str	x0, [x20, #48]
	cbz	x0, LBB0_15
; %bb.10:
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_lockres_init
	str	x0, [x20, #32]
	cbz	x0, LBB0_15
; %bb.11:
	ldr	x0, [x20, #48]
Lloh39:
	adrp	x8, _DLM_LOCK_EX@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DLM_LOCK_EX@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_dlm_lock_sync
	cbz	w0, LBB0_20
; %bb.12:
Lloh42:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	neg	w22, w8
Lloh45:
	adrp	x0, l_.str.7@PAGE
Lloh46:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh47:
	adrp	x0, l_.str.3@PAGE
Lloh48:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_14:
	bl	_pr_err
LBB0_15:
Lloh49:
	adrp	x8, _MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	add	x0, x20, #68
	bl	_md_unregister_thread
	add	x0, x20, #64
	bl	_md_unregister_thread
	ldr	x0, [x20, #56]
	bl	_lockres_free
	ldr	x0, [x20, #48]
	bl	_lockres_free
	ldr	x0, [x20, #40]
	bl	_lockres_free
	ldr	x0, [x20, #32]
	bl	_lockres_free
	ldr	x0, [x20, #24]
	bl	_lockres_free
	ldr	x0, [x20, #16]
	bl	_lockres_free
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_17
; %bb.16:
	mov	w1, #2
	bl	_dlm_release_lockspace
LBB0_17:
	str	xzr, [x19]
	mov	x0, x20
	bl	_kfree
LBB0_18:
	ldur	x8, [x29, #-56]
Lloh52:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh53:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.19:
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_20:
Lloh55:
	adrp	x8, _ack_bast@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ack_bast@GOTPAGEOFF]
Lloh57:
	ldr	x2, [x8]
Lloh58:
	adrp	x1, l_.str.8@PAGE
Lloh59:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_lockres_init
	str	x0, [x20, #40]
	cbz	x0, LBB0_29
; %bb.21:
Lloh60:
	adrp	x22, _DLM_LOCK_CR@GOTPAGE
Lloh61:
	ldr	x22, [x22, _DLM_LOCK_CR@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_dlm_lock_sync
	cbz	w0, LBB0_23
; %bb.22:
	str	xzr, [sp]
Lloh62:
	adrp	x0, l_.str.9@PAGE
Lloh63:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pr_err
LBB0_23:
	ldr	x0, [x20, #48]
	bl	_dlm_unlock_sync
	ldr	x0, [x20, #32]
	ldr	w1, [x22]
	bl	_dlm_lock_sync
	cbz	w0, LBB0_25
; %bb.24:
	str	xzr, [sp]
Lloh64:
	adrp	x0, l_.str.10@PAGE
Lloh65:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pr_err
LBB0_25:
	ldr	w2, [x20]
Lloh66:
	adrp	x0, l_.str.11@PAGE
Lloh67:
	add	x0, x0, l_.str.11@PAGEOFF
	add	x1, sp, #24
	bl	_pr_info
	ldr	w8, [x20]
	sub	w3, w8, #1
Lloh68:
	adrp	x2, l_.str.12@PAGE
Lloh69:
	add	x2, x2, l_.str.12@PAGEOFF
	add	x0, sp, #24
	mov	w1, #64
	bl	_snprintf
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, #0
	mov	w3, #1
	bl	_lockres_init
	str	x0, [x20, #16]
	cbz	x0, LBB0_29
; %bb.26:
Lloh70:
	adrp	x8, _DLM_LOCK_PW@GOTPAGE
Lloh71:
	ldr	x8, [x8, _DLM_LOCK_PW@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	bl	_dlm_lock_sync
	cbz	w0, LBB0_28
; %bb.27:
Lloh73:
	adrp	x0, l_.str.13@PAGE
Lloh74:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pr_err
Lloh75:
	adrp	x8, _EINVAL@GOTPAGE
Lloh76:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_28:
Lloh77:
	adrp	x1, l_.str.14@PAGE
Lloh78:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_lockres_init
	mov	w22, #0
	str	x0, [x20, #24]
	cbnz	x0, LBB0_18
LBB0_29:
	ldr	w8, [x23]
	b	LBB0_5
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MD_CLUSTER_BEGIN_JOIN_CLUSTER,4,2 ; @MD_CLUSTER_BEGIN_JOIN_CLUSTER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%pU"

	.comm	_DLM_LSFL_FS,4,2                ; @DLM_LSFL_FS
	.comm	_LVB_SIZE,4,2                   ; @LVB_SIZE
	.comm	_md_ls_ops,4,2                  ; @md_ls_ops
l_.str.1:                               ; @.str.1
	.asciz	"md-cluster: Slot allotted(%d) is greater than available slots(%d)."

	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_recv_daemon,4,2                ; @recv_daemon
l_.str.2:                               ; @.str.2
	.asciz	"cluster_recv"

l_.str.3:                               ; @.str.3
	.asciz	"md-cluster: cannot allocate memory for recv_thread!\n"

l_.str.4:                               ; @.str.4
	.asciz	"message"

l_.str.5:                               ; @.str.5
	.asciz	"token"

l_.str.6:                               ; @.str.6
	.asciz	"no-new-dev"

	.comm	_DLM_LOCK_EX,4,2                ; @DLM_LOCK_EX
	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.7:                               ; @.str.7
	.asciz	"md-cluster: can't join cluster to avoid lock issue\n"

l_.str.8:                               ; @.str.8
	.asciz	"ack"

	.comm	_ack_bast,8,3                   ; @ack_bast
	.comm	_DLM_LOCK_CR,4,2                ; @DLM_LOCK_CR
l_.str.9:                               ; @.str.9
	.asciz	"md-cluster: failed to get a sync CR lock on ACK!(%d)\n"

l_.str.10:                              ; @.str.10
	.asciz	"md-cluster: failed to get a sync CR lock on no-new-dev!(%d)\n"

l_.str.11:                              ; @.str.11
	.asciz	"md-cluster: Joined cluster %s slot %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"bitmap%04d"

	.comm	_DLM_LOCK_PW,4,2                ; @DLM_LOCK_PW
l_.str.13:                              ; @.str.13
	.asciz	"Failed to get bitmap lock\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.14:                              ; @.str.14
	.asciz	"resync"

	.comm	_MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD,4,2 ; @MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD
	.no_dead_strip	_join
.subsections_via_symbols
