	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function data_available_handler_apr
_data_available_handler_apr:            ## @data_available_handler_apr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_APR_POLL_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -32(%rbp)
	movl	4(%rdi), %eax
	movl	%eax, -36(%rbp)
	movq	_APR_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rdi
	leaq	-20(%rbp), %rdx
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_apr_poll
	movq	%rax, %rbx
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	cmpl	$0, -20(%rbp)
	setg	%al
	jmp	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_APR_STATUS_IS_EOF
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_APR_STATUS_IS_TIMEUP
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movl	%eax, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_SVN_ERR_STREAM_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_svn_error_wrap_apr
	movl	%r14d, %edi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_svn_error_create
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_POLL_FILE,4,2              ## @APR_POLL_FILE
	.comm	_APR_POLLIN,4,2                 ## @APR_POLLIN
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SVN_ERR_STREAM_NOT_SUPPORTED,4,2 ## @SVN_ERR_STREAM_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Polling for available data on filestream failed"

	.no_dead_strip	_data_available_handler_apr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function data_available_handler_apr
_data_available_handler_apr:            ; @data_available_handler_apr
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _APR_POLL_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_POLL_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	ldr	d0, [x0]
	rev64.2s	v0, v0
	stur	d0, [sp, #20]
Lloh3:
	adrp	x8, _APR_POLLIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_POLLIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	add	x0, sp, #16
	add	x2, sp, #12
	mov	w1, #1
	mov	w3, #0
	bl	_apr_poll
Lloh6:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w8, gt
	b	LBB0_5
LBB0_2:
	mov	x20, x0
	bl	_APR_STATUS_IS_EOF
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_APR_STATUS_IS_TIMEUP
	cbz	x0, LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
LBB0_5:
	str	w8, [x19]
Lloh12:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
Lloh15:
	adrp	x8, _SVN_ERR_STREAM_NOT_SUPPORTED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_ERR_STREAM_NOT_SUPPORTED@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x20
	bl	_svn_error_wrap_apr
	mov	x1, x0
	mov	x0, x19
	mov	x2, #0
	bl	_svn_error_create
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_POLL_FILE,4,2              ; @APR_POLL_FILE
	.comm	_APR_POLLIN,4,2                 ; @APR_POLLIN
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SVN_ERR_STREAM_NOT_SUPPORTED,4,2 ; @SVN_ERR_STREAM_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Polling for available data on filestream failed"

	.no_dead_strip	_data_available_handler_apr
.subsections_via_symbols
