	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recv_daemon
_recv_daemon:                           ## @recv_daemon
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movq	8(%r12), %r14
	movq	16(%r12), %r15
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	_DLM_LOCK_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_dlm_lock_sync
	testl	%eax, %eax
	je	LBB0_1
## %bb.11:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_1:
	movl	(%r14), %esi
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	(%rbx), %rdi
	movq	%r13, %rsi
	callq	_process_recvd_msg
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	%r15, %rdi
	callq	_dlm_unlock_sync
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_info
LBB0_4:
	movq	_DLM_LOCK_PR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_dlm_lock_sync
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	_DLM_LOCK_CR@GOTPCREL(%rip), %r13
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_info
LBB0_6:
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_dlm_lock_sync
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_info
LBB0_8:
	movq	%r14, %rdi
	callq	_dlm_unlock_sync
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_info
LBB0_10:
	movq	%r12, %rdi
	callq	_mutex_unlock
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DLM_LOCK_CR,4,2                ## @DLM_LOCK_CR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md/raid1:failed to get CR on MESSAGE\n"

L_.str.1:                               ## @.str.1
	.asciz	"unlock ack failed return %d\n"

	.comm	_DLM_LOCK_PR,4,2                ## @DLM_LOCK_PR
L_.str.2:                               ## @.str.2
	.asciz	"lock PR on msg failed return %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"lock CR on ack failed return %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"unlock msg failed return %d\n"

	.no_dead_strip	_recv_daemon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recv_daemon
_recv_daemon:                           ; @recv_daemon
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldp	x20, x21, [x19, #8]
	mov	x0, x19
	bl	_mutex_lock
Lloh0:
	adrp	x23, _DLM_LOCK_CR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DLM_LOCK_CR@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_dlm_lock_sync
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_mutex_unlock
LBB0_2:
	ldr	w1, [x20]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x22]
	add	x1, sp, #8
	bl	_process_recvd_msg
	cbnz	w0, LBB0_9
; %bb.3:
	mov	x0, x21
	bl	_dlm_unlock_sync
	mov	x22, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_pr_info
LBB0_5:
Lloh6:
	adrp	x8, _DLM_LOCK_PR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DLM_LOCK_PR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_dlm_lock_sync
	mov	x22, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_pr_info
LBB0_7:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_dlm_lock_sync
	mov	x21, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	bl	_pr_info
LBB0_9:
	mov	x0, x20
	bl	_dlm_unlock_sync
	mov	x20, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.10:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_pr_info
LBB0_11:
	mov	x0, x19
	bl	_mutex_unlock
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DLM_LOCK_CR,4,2                ; @DLM_LOCK_CR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md/raid1:failed to get CR on MESSAGE\n"

l_.str.1:                               ; @.str.1
	.asciz	"unlock ack failed return %d\n"

	.comm	_DLM_LOCK_PR,4,2                ; @DLM_LOCK_PR
l_.str.2:                               ; @.str.2
	.asciz	"lock PR on msg failed return %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"lock CR on ack failed return %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"unlock msg failed return %d\n"

	.no_dead_strip	_recv_daemon
.subsections_via_symbols
