	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function receiver_connect
_receiver_connect:                      ## @receiver_connect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_adhost@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, 24(%rax)
	setne	%dil
	callq	_PJDLOG_ASSERT
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	movq	24(%rax), %rdi
	movl	$8, %edx
	callq	_trail_last
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_1
## %bb.2:
	movl	16(%rax), %edi
	movq	_AT_SYMLINK_NOFOLLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rdx
	callq	_fstatat
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_EX_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	12(%rax), %edx
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_exit
LBB0_4:
	movl	-20(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_EX_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	12(%rax), %edx
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rsi
	callq	_pjdlog_exitx
LBB0_6:
	movb	-24(%rbp), %al
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	movsbl	%al, %edi
	callq	_htole64
	movb	%al, -9(%rbp)
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	leaq	-9(%rbp), %rsi
	movl	$1, %edx
	callq	_proto_send
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_exit
LBB0_9:
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	(%rax), %rsi
	movl	$8, %edx
	callq	_proto_send
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_exit
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_adhost,8,3                     ## @adhost
	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ## @AT_SYMLINK_NOFOLLOW
	.comm	_EX_CONFIG,4,2                  ## @EX_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to stat \"%s/%s\""

L_.str.1:                               ## @.str.1
	.asciz	"File \"%s/%s\" is not a regular file."

	.comm	_EX_TEMPFAIL,4,2                ## @EX_TEMPFAIL
L_.str.2:                               ## @.str.2
	.asciz	"Unable to send size of the most recent trail file"

L_.str.3:                               ## @.str.3
	.asciz	"Unable to send name of the most recent trail file"

	.no_dead_strip	_receiver_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function receiver_connect
_receiver_connect:                      ; @receiver_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x19, _adhost@GOTPAGE
Lloh1:
	ldr	x19, [x19, _adhost@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x8, [x8, #24]
	cmp	x8, #0
	cset	w0, ne
	bl	_PJDLOG_ASSERT
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	ldr	x1, [x8]
	mov	w2, #8
	bl	_trail_last
	ldr	x8, [x19]
	ldr	x1, [x8]
	ldrb	w9, [x1]
	cbz	w9, LBB0_6
; %bb.1:
	ldr	w0, [x8, #16]
Lloh2:
	adrp	x8, _AT_SYMLINK_NOFOLLOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AT_SYMLINK_NOFOLLOW@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	add	x2, sp, #16
	bl	_fstatat
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _EX_CONFIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EX_CONFIG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	x9, [x8]
	ldr	w8, [x8, #12]
	stp	x8, x9, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pjdlog_exit
LBB0_3:
	ldr	w0, [sp, #20]
	bl	_S_ISREG
	cbnz	w0, LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _EX_CONFIG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EX_CONFIG@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8, #12]
	ldr	x3, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pjdlog_exitx
LBB0_5:
	ldrb	w8, [sp, #16]
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	sxtb	w0, w8
	bl	_htole64
	sturb	w0, [x29, #-17]
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	sub	x1, x29, #17
	mov	w2, #1
	bl	_proto_send
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _EX_TEMPFAIL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_pjdlog_exit
LBB0_9:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	ldr	x1, [x8]
	mov	w2, #8
	bl	_proto_send
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:
Lloh20:
	adrp	x8, _EX_TEMPFAIL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pjdlog_exit
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_adhost,8,3                     ; @adhost
	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ; @AT_SYMLINK_NOFOLLOW
	.comm	_EX_CONFIG,4,2                  ; @EX_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to stat \"%s/%s\""

l_.str.1:                               ; @.str.1
	.asciz	"File \"%s/%s\" is not a regular file."

	.comm	_EX_TEMPFAIL,4,2                ; @EX_TEMPFAIL
l_.str.2:                               ; @.str.2
	.asciz	"Unable to send size of the most recent trail file"

l_.str.3:                               ; @.str.3
	.asciz	"Unable to send name of the most recent trail file"

	.no_dead_strip	_receiver_connect
.subsections_via_symbols
