	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rcv_init                       ## -- Begin function rcv_init
	.p2align	4, 0x90
_rcv_init:                              ## @rcv_init
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	_F_FIRSTMODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_CLR
	movq	_F_RCV_ON@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_F_CLR
	cmpq	$0, 16(%rbx)
	je	LBB0_2
LBB0_8:
	movl	(%rbx), %edi
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_chmod
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_F_SET
	jmp	LBB0_9
LBB0_2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_rcv_mailfile
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdi
	callq	_db_last
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	(%r14), %rax
	movq	_BUSY_ON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	*(%rax)
	movq	8(%rbx), %rdi
	movq	_R_RECNOSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	*(%rdi)
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	callq	_msgq_str
	movq	(%r14), %rax
	movq	_BUSY_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
LBB0_6:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_msgq
	movl	$1, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r14), %rax
	movq	_BUSY_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_F_FIRSTMODIFY,4,2              ## @F_FIRSTMODIFY
	.comm	_F_RCV_ON,4,2                   ## @F_RCV_ON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"057|Copying file for recovery..."

	.comm	_BUSY_ON,4,2                    ## @BUSY_ON
	.comm	_R_RECNOSYNC,4,2                ## @R_RECNOSYNC
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
L_.str.1:                               ## @.str.1
	.asciz	"058|Preservation failed: %s"

	.comm	_BUSY_OFF,4,2                   ## @BUSY_OFF
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_M_ERR,4,2                      ## @M_ERR
L_.str.2:                               ## @.str.2
	.asciz	"059|Modifications not recoverable if the session fails"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rcv_init                       ; -- Begin function rcv_init
	.p2align	2
_rcv_init:                              ; @rcv_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, #8]
Lloh0:
	adrp	x8, _F_FIRSTMODIFY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_FIRSTMODIFY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_F_CLR
Lloh3:
	adrp	x21, _F_RCV_ON@GOTPAGE
Lloh4:
	ldr	x21, [x21, _F_RCV_ON@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_F_ISSET
	cbz	w0, LBB0_8
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_F_CLR
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_chmod
	ldr	w1, [x21]
	mov	x0, x20
	bl	_F_SET
	mov	w0, #0
	b	LBB0_8
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	bl	_rcv_mailfile
	cbnz	x0, LBB0_7
; %bb.4:
	add	x1, sp, #12
	mov	x0, x19
	bl	_db_last
	cbnz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _BUSY_ON@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BUSY_ON@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x9]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	blr	x8
	ldr	x0, [x20, #8]
	ldr	x8, [x0]
Lloh16:
	adrp	x9, _R_RECNOSYNC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _R_RECNOSYNC@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
	blr	x8
	cbz	x0, LBB0_9
; %bb.6:
Lloh19:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh22:
	adrp	x3, l_.str.1@PAGE
Lloh23:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_msgq_str
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _BUSY_OFF@GOTPAGE
Lloh25:
	ldr	x9, [x9, _BUSY_OFF@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, #0
	blr	x8
LBB0_7:
Lloh27:
	adrp	x8, _M_ERR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str.2@PAGE
Lloh31:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_msgq
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _BUSY_OFF@GOTPAGE
Lloh33:
	ldr	x9, [x9, _BUSY_OFF@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, #0
	blr	x8
	b	LBB0_2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_F_FIRSTMODIFY,4,2              ; @F_FIRSTMODIFY
	.comm	_F_RCV_ON,4,2                   ; @F_RCV_ON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"057|Copying file for recovery..."

	.comm	_BUSY_ON,4,2                    ; @BUSY_ON
	.comm	_R_RECNOSYNC,4,2                ; @R_RECNOSYNC
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
l_.str.1:                               ; @.str.1
	.asciz	"058|Preservation failed: %s"

	.comm	_BUSY_OFF,4,2                   ; @BUSY_OFF
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_M_ERR,4,2                      ; @M_ERR
l_.str.2:                               ; @.str.2
	.asciz	"059|Modifications not recoverable if the session fails"

.subsections_via_symbols
