	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_io_wait_for_cmd            ## -- Begin function svn_io_wait_for_cmd
	.p2align	4, 0x90
_svn_io_wait_for_cmd:                   ## @svn_io_wait_for_cmd
	.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	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	_APR_PROC_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_APR_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	callq	_apr_proc_wait
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_APR_STATUS_IS_CHILD_DONE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-36(%rbp), %edi
	testq	%r12, %r12
	je	LBB0_8
## %bb.3:
	movl	%edi, (%r12)
LBB0_4:
	movl	-40(%rbp), %eax
	testq	%r15, %r15
	je	LBB0_16
## %bb.5:
	movl	%eax, (%r15)
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_svn_error_wrap_apr
	jmp	LBB0_7
LBB0_8:
	callq	_APR_PROC_CHECK_SIGNALED
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movl	-36(%rbp), %edi
	callq	_APR_PROC_CHECK_CORE_DUMP
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_SVN_ERR_EXTERNAL_PROGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_11
LBB0_16:
	testl	%eax, %eax
	je	LBB0_6
## %bb.17:
	movq	_SVN_ERR_EXTERNAL_PROGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_11
LBB0_12:
	movl	-36(%rbp), %edi
	callq	_APR_PROC_CHECK_SIGNALED
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_SVN_ERR_EXTERNAL_PROGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
LBB0_11:
	callq	__
	movl	-40(%rbp), %r8d
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_svn_error_createf
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	-36(%rbp), %edi
	callq	_APR_PROC_CHECK_EXIT
	testl	%eax, %eax
	jne	LBB0_4
## %bb.15:
	movq	_SVN_ERR_EXTERNAL_PROGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	-36(%rbp), %r8d
	movl	-40(%rbp), %r9d
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_svn_error_createf
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_PROC_EXIT,4,2              ## @APR_PROC_EXIT
	.comm	_APR_WAIT,4,2                   ## @APR_WAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error waiting for process '%s'"

	.comm	_SVN_ERR_EXTERNAL_PROGRAM,4,2   ## @SVN_ERR_EXTERNAL_PROGRAM
L_.str.1:                               ## @.str.1
	.asciz	"Process '%s' failed (signal %d, core dumped)"

L_.str.2:                               ## @.str.2
	.asciz	"Process '%s' failed (signal %d)"

L_.str.3:                               ## @.str.3
	.asciz	"Process '%s' failed (exitwhy %d, exitcode %d)"

L_.str.4:                               ## @.str.4
	.asciz	"Process '%s' returned error exitcode %d"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_io_wait_for_cmd            ; -- Begin function svn_io_wait_for_cmd
	.p2align	2
_svn_io_wait_for_cmd:                   ; @svn_io_wait_for_cmd
	.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	x21, x3
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _APR_PROC_EXIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_PROC_EXIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _APR_WAIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_WAIT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_apr_proc_wait
	mov	x22, x0
	bl	_APR_STATUS_IS_CHILD_DONE
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w0, [sp, #12]
	cbz	x21, LBB0_7
; %bb.2:
	str	w0, [x21]
LBB0_3:
	ldr	w8, [sp, #8]
	cbz	x20, LBB0_10
; %bb.4:
	str	w8, [x20]
LBB0_5:
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	b	LBB0_16
LBB0_6:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x22
	mov	x2, x19
	bl	_svn_error_wrap_apr
	b	LBB0_16
LBB0_7:
	bl	_APR_PROC_CHECK_SIGNALED
	cbz	x0, LBB0_12
; %bb.8:
	ldr	w0, [sp, #12]
	bl	_APR_PROC_CHECK_CORE_DUMP
	cbz	x0, LBB0_12
; %bb.9:
Lloh11:
	adrp	x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_10:
	cbz	w8, LBB0_5
; %bb.11:
Lloh16:
	adrp	x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_12:
	ldr	w0, [sp, #12]
	bl	_APR_PROC_CHECK_SIGNALED
	cbz	x0, LBB0_17
; %bb.13:
Lloh21:
	adrp	x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_14:
	bl	__
	mov	x2, x0
	ldr	w4, [sp, #8]
LBB0_15:
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_svn_error_createf
LBB0_16:
	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_17:
	ldr	w0, [sp, #12]
	bl	_APR_PROC_CHECK_EXIT
	cbnz	w0, LBB0_3
; %bb.18:
Lloh26:
	adrp	x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SVN_ERR_EXTERNAL_PROGRAM@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x2, x0
	ldp	w8, w4, [sp, #8]
	str	x8, [sp]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_PROC_EXIT,4,2              ; @APR_PROC_EXIT
	.comm	_APR_WAIT,4,2                   ; @APR_WAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error waiting for process '%s'"

	.comm	_SVN_ERR_EXTERNAL_PROGRAM,4,2   ; @SVN_ERR_EXTERNAL_PROGRAM
l_.str.1:                               ; @.str.1
	.asciz	"Process '%s' failed (signal %d, core dumped)"

l_.str.2:                               ; @.str.2
	.asciz	"Process '%s' failed (signal %d)"

l_.str.3:                               ; @.str.3
	.asciz	"Process '%s' failed (exitwhy %d, exitcode %d)"

l_.str.4:                               ; @.str.4
	.asciz	"Process '%s' returned error exitcode %d"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
