	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function accept_connection
_accept_connection:                     ## @accept_connection
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	%r8, %rdi
	callq	_svn_pool_create
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$24, %esi
	callq	_apr_pcalloc
	movq	%rax, (%r15)
	movq	%rbx, 16(%rax)
	movq	(%r15), %rax
	movq	%r14, 8(%rax)
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdi
	movl	$1, (%rdi)
	movq	_APR_NOWAIT@GOTPCREL(%rip), %r15
	leaq	-68(%rbp), %r13
	movq	_APR_CHILD_DONE@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_APR_STATUS_IS_EINTR
	testq	%rax, %rax
	je	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	addq	$4, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_apr_socket_accept
	movq	%rax, %r14
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_connection_mode_fork@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	_apr_proc_wait_all_procs
	cmpq	(%r12), %rax
	je	LBB0_2
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_APR_STATUS_IS_ECONNABORTED
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_APR_STATUS_IS_ECONNRESET
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_svn_error_wrap_apr
	jmp	LBB0_10
LBB0_9:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_connection_mode_fork,4,2       ## @connection_mode_fork
	.comm	_APR_NOWAIT,4,2                 ## @APR_NOWAIT
	.comm	_APR_CHILD_DONE,8,3             ## @APR_CHILD_DONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't accept client connection"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function accept_connection
_accept_connection:                     ; @accept_connection
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x4
	bl	_svn_pool_create
	mov	x22, x0
	mov	w1, #24
	bl	_apr_pcalloc
	str	x0, [x21]
	str	x22, [x0, #16]
	ldr	x8, [x21]
	str	x23, [x8, #8]
	ldr	x8, [x21]
	mov	w9, #1
	str	w9, [x8]
Lloh0:
	adrp	x24, _connection_mode_fork@GOTPAGE
Lloh1:
	ldr	x24, [x24, _connection_mode_fork@GOTPAGEOFF]
Lloh2:
	adrp	x25, _APR_NOWAIT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _APR_NOWAIT@GOTPAGEOFF]
Lloh4:
	adrp	x26, _APR_CHILD_DONE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _APR_CHILD_DONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_APR_STATUS_IS_EINTR
	cbz	x0, LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	add	x0, x8, #4
	mov	x1, x20
	mov	x2, x22
	bl	_apr_socket_accept
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w8, w19
	b.ne	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w3, [x25]
	add	x0, sp, #12
	mov	x1, #0
	mov	x2, #0
	mov	x4, x22
	bl	_apr_proc_wait_all_procs
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_4
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_APR_STATUS_IS_ECONNABORTED
	cbnz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_APR_STATUS_IS_ECONNRESET
	cbnz	x0, LBB0_2
; %bb.7:
	cbz	x23, LBB0_9
; %bb.8:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x23
	bl	_svn_error_wrap_apr
	b	LBB0_10
LBB0_9:
Lloh8:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_connection_mode_fork,4,2       ; @connection_mode_fork
	.comm	_APR_NOWAIT,4,2                 ; @APR_NOWAIT
	.comm	_APR_CHILD_DONE,8,3             ; @APR_CHILD_DONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't accept client connection"

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