	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wait4data
_wait4data:                             ## @wait4data
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	_local_host@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_strlen
	cmpq	%rax, %rbx
	jbe	LBB0_2
## %bb.1:
	addq	%r15, %rbx
	subq	%rax, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_26
LBB0_2:
	leaq	-56(%rbp), %rsi
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_stat
	movl	%eax, %r13d
	shrl	$31, %eax
	xorl	%r12d, %r12d
	testl	%r13d, %r13d
	jns	LBB0_9
## %bb.3:
	movq	_MAXWAIT_ARRIVE@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jle	LBB0_9
## %bb.4:
	xorl	%r12d, %r12d
	movq	_MINWAIT_4DATA@GOTPCREL(%rip), %r15
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	callq	_pstatus
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_sleep
	addq	%rbx, %r12
	subq	%rax, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_stat
	movl	%eax, %r13d
	shrl	$31, %eax
	testl	%r13d, %r13d
	jns	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAXWAIT_ARRIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jl	LBB0_5
LBB0_9:
	testb	%al, %al
	je	LBB0_12
## %bb.10:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_11
LBB0_12:
	movq	-56(%rbp), %rbx
	xorl	%edi, %edi
	callq	_time
	movq	_MINWAIT_4DATA@GOTPCREL(%rip), %r15
	movq	(%r15), %r14
	movq	%rax, %rcx
	subq	%r14, %rcx
	cmpq	%rcx, %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jl	LBB0_16
## %bb.13:
	subq	%rbx, %rax
	cmovgq	%rax, %r14
	testq	%r12, %r12
	jne	LBB0_15
## %bb.14:
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_pstatus
LBB0_15:
	movq	%r14, %rdi
	callq	_sleep
	addq	%r14, %r12
	subq	%rax, %r12
	leaq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_stat
	movl	%eax, %r13d
	movq	(%r15), %r14
LBB0_16:
	movq	_MAXWAIT_4DATA@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	testl	%r13d, %r13d
	sete	%al
	jne	LBB0_23
## %bb.17:
	cmpq	%rcx, %r12
	jge	LBB0_23
## %bb.18:
	movq	-56(%rbp), %rbx
	cmpq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_25
## %bb.19:
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_sleep
	addq	%r14, %r12
	subq	%rax, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_stat
	movq	(%r15), %rcx
	testl	%eax, %eax
	sete	%al
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	%rcx, %r12
	jge	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-56(%rbp), %rax
	cmpq	%rbx, %rax
	movq	%rax, %rbx
	jne	LBB0_21
	jmp	LBB0_25
LBB0_23:
	testb	%al, %al
	je	LBB0_24
LBB0_25:
	cmpq	%rcx, %r12
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jle	LBB0_26
## %bb.27:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %r8
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_syslog                         ## TAILCALL
LBB0_26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
LBB0_11:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_syslog                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_local_host,8,3                 ## @local_host
	.comm	_MAXWAIT_ARRIVE,8,3             ## @MAXWAIT_ARRIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Waiting for data file from remote host"

	.comm	_MINWAIT_4DATA,8,3              ## @MINWAIT_4DATA
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"%s: wait4data() abandoned wait for %s"

	.comm	_MAXWAIT_4DATA,8,3              ## @MAXWAIT_4DATA
L_.str.2:                               ## @.str.2
	.asciz	"%s: %s disappeared during wait4data()"

L_.str.3:                               ## @.str.3
	.asciz	"%s: %s still changing after %lu secs in wait4data()"

	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
	.no_dead_strip	_wait4data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wait4data
_wait4data:                             ; @wait4data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_strlen
	mov	x22, x0
Lloh0:
	adrp	x8, _local_host@GOTPAGE
Lloh1:
	ldr	x8, [x8, _local_host@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_strlen
	cmp	x22, x0
	b.ls	LBB0_2
; %bb.1:
	add	x8, x19, x22
	sub	x0, x8, x0
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_2:
	add	x1, sp, #24
	mov	x0, x19
	bl	_stat
	mov	x21, x0
	mov	x23, #0
	lsr	w8, w0, #31
	tbz	w0, #31, LBB0_9
; %bb.3:
Lloh3:
	adrp	x24, _MAXWAIT_ARRIVE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAXWAIT_ARRIVE@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x9, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x23, #0
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
Lloh7:
	adrp	x25, _MINWAIT_4DATA@GOTPAGE
Lloh8:
	ldr	x25, [x25, _MINWAIT_4DATA@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	x23, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_pstatus
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x25]
	mov	x0, x21
	bl	_sleep
	add	x8, x21, x23
	sub	x23, x8, x0
	add	x1, sp, #24
	mov	x0, x19
	bl	_stat
	mov	x21, x0
	lsr	w8, w0, #31
	tbz	w0, #31, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x24]
	cmp	x23, x9
	b.lt	LBB0_5
LBB0_9:
	cbz	w8, LBB0_11
; %bb.10:
Lloh9:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w2, [x20]
	str	x19, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_11:
	ldr	x24, [sp, #24]
	mov	x0, #0
	bl	_time
Lloh14:
	adrp	x25, _MINWAIT_4DATA@GOTPAGE
Lloh15:
	ldr	x25, [x25, _MINWAIT_4DATA@GOTPAGEOFF]
	ldr	x22, [x25]
	sub	x8, x0, x22
	cmp	x24, x8
	b.lt	LBB0_15
; %bb.12:
	subs	x8, x0, x24
	csel	x21, x8, x22, gt
	cbnz	x23, LBB0_14
; %bb.13:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pstatus
LBB0_14:
	mov	x0, x21
	bl	_sleep
	add	x8, x21, x23
	sub	x23, x8, x0
	add	x1, sp, #24
	mov	x0, x19
	bl	_stat
	mov	x21, x0
	ldr	x22, [x25]
LBB0_15:
	cmp	w21, #0
	cset	w9, eq
Lloh18:
	adrp	x25, _MAXWAIT_4DATA@GOTPAGE
Lloh19:
	ldr	x25, [x25, _MAXWAIT_4DATA@GOTPAGEOFF]
	ldr	x8, [x25]
	cbnz	w21, LBB0_21
; %bb.16:
	cmp	x23, x8
	b.ge	LBB0_21
; %bb.17:
	ldr	x21, [sp, #24]
	cmp	x21, x24
	b.eq	LBB0_22
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_sleep
	add	x8, x23, x22
	sub	x23, x8, x0
	add	x1, sp, #24
	mov	x0, x19
	bl	_stat
	cmp	w0, #0
	cset	w9, eq
	ldr	x8, [x25]
	cbnz	w0, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	x23, x8
	b.ge	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x9, [sp, #24]
	cmp	x9, x21
	mov	x21, x9
	b.ne	LBB0_18
	b	LBB0_22
LBB0_21:
	tbz	w9, #0, LBB0_24
LBB0_22:
	cmp	x23, x8
	b.le	LBB0_26
; %bb.23:
Lloh20:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	w2, [x20]
	stp	x19, x23, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_24:
Lloh25:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	w2, [x20]
	str	x19, [sp]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_25:
	bl	_syslog
LBB0_26:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_local_host,8,3                 ; @local_host
	.comm	_MAXWAIT_ARRIVE,8,3             ; @MAXWAIT_ARRIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Waiting for data file from remote host"

	.comm	_MINWAIT_4DATA,8,3              ; @MINWAIT_4DATA
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"%s: wait4data() abandoned wait for %s"

	.comm	_MAXWAIT_4DATA,8,3              ; @MAXWAIT_4DATA
l_.str.2:                               ; @.str.2
	.asciz	"%s: %s disappeared during wait4data()"

l_.str.3:                               ; @.str.3
	.asciz	"%s: %s still changing after %lu secs in wait4data()"

	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
	.no_dead_strip	_wait4data
.subsections_via_symbols
