	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_ls
_remote_ls:                             ## @remote_ls
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_repo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	callq	_xstrfmt
	movq	%rax, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rax, -80(%rbp)
	movl	$0, -72(%rbp)
	movq	$0, -68(%rbp)
	xorl	%eax, %eax
	callq	_http_copy_default_headers
	movq	%rax, %r14
	movl	%r12d, -176(%rbp)
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, %r12
	movq	%rax, -168(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -144(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -152(%rbp)
	movq	%r13, -160(%rbp)
	movq	_PROPFIND_ALL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	callq	_strbuf_addstr
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %r14
	callq	_curl_slist_append
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_curl_slist_append
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_get_active_slot
	movq	%rax, %rbx
	leaq	-88(%rbp), %rax
	movq	%rax, 8(%rbx)
	movl	(%rbx), %edi
	movq	_DAV_PROPFIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_fwrite_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%r13, %rcx
	callq	_curl_setup_http
	movl	(%rbx), %edi
	movq	_CURLOPT_HTTPHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_curl_easy_setopt
	movl	(%rbx), %edi
	movq	_CURLOPT_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_curl_easy_setopt
	movq	%rbx, %rdi
	callq	_start_active_slot
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_run_active_slot
	movq	-88(%rbp), %rax
	movq	_CURLE_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movq	%r14, %r13
	xorl	%edi, %edi
	callq	_XML_ParserCreate
	movl	%eax, %r14d
	movl	$10, %edi
	movl	$1, %esi
	callq	_xcalloc
	movq	%rax, -128(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -104(%rbp)
	movq	_handle_remote_ls_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	leaq	-176(%rbp), %rax
	movq	%rax, -120(%rbp)
	leaq	-128(%rbp), %rsi
	movl	%r14d, %edi
	callq	_XML_SetUserData
	movq	_xml_start_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xml_end_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XML_SetElementHandler
	movq	_xml_cdata@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_XML_SetCharacterDataHandler
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	movl	%r14d, %edi
	movl	$1, %ecx
	callq	_XML_Parse
	movl	%eax, %ebx
	movq	-128(%rbp), %rdi
	callq	_free
	movq	_XML_STATUS_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_XML_GetErrorCode
	movl	%eax, %edi
	callq	_XML_ErrorString
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_4:
	movl	%r14d, %edi
	callq	_XML_ParserFree
	movq	-168(%rbp), %r12
	movq	%r13, %r14
	jmp	LBB0_6
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:
	movq	%r12, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	%r15, %rdi
	callq	_curl_slist_free_all
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s"

	.comm	_repo,8,3                       ## @repo
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.comm	_PROPFIND_ALL_REQUEST,4,2       ## @PROPFIND_ALL_REQUEST
L_.str.1:                               ## @.str.1
	.asciz	"Depth: 1"

L_.str.2:                               ## @.str.2
	.asciz	"Content-Type: text/xml"

	.comm	_DAV_PROPFIND,4,2               ## @DAV_PROPFIND
	.comm	_fwrite_buffer,4,2              ## @fwrite_buffer
	.comm	_CURLOPT_HTTPHEADER,4,2         ## @CURLOPT_HTTPHEADER
	.comm	_CURLOPT_FILE,4,2               ## @CURLOPT_FILE
	.comm	_CURLE_OK,8,3                   ## @CURLE_OK
	.comm	_handle_remote_ls_ctx,4,2       ## @handle_remote_ls_ctx
	.comm	_xml_start_tag,4,2              ## @xml_start_tag
	.comm	_xml_end_tag,4,2                ## @xml_end_tag
	.comm	_xml_cdata,4,2                  ## @xml_cdata
	.comm	_XML_STATUS_OK,4,2              ## @XML_STATUS_OK
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"XML error: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to start PROPFIND request\n"

	.no_dead_strip	_remote_ls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_ls
_remote_ls:                             ; @remote_ls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _repo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _repo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x23
	bl	_xstrfmt
	mov	x19, x0
Lloh5:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	stur	x8, [x29, #-64]
	stur	x8, [x29, #-88]
	stur	wzr, [x29, #-80]
	stur	xzr, [x29, #-76]
	bl	_http_copy_default_headers
	mov	x24, x0
	str	w21, [sp, #16]
	mov	x0, x23
	bl	_xstrdup
	mov	x21, x0
	stp	xzr, xzr, [sp, #48]
	stp	x22, x20, [sp, #32]
	str	x0, [sp, #24]
Lloh8:
	adrp	x8, _PROPFIND_ALL_REQUEST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PROPFIND_ALL_REQUEST@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	sub	x0, x29, #88
	bl	_strbuf_addstr
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_curl_slist_append
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_curl_slist_append
	mov	x20, x0
	bl	_get_active_slot
	mov	x22, x0
	sub	x8, x29, #56
	str	x8, [x0, #8]
	ldr	w0, [x0]
Lloh15:
	adrp	x8, _DAV_PROPFIND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DAV_PROPFIND@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _fwrite_buffer@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fwrite_buffer@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	sub	x3, x29, #88
	mov	x1, x19
	bl	_curl_setup_http
	ldr	w0, [x22]
Lloh21:
	adrp	x8, _CURLOPT_HTTPHEADER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CURLOPT_HTTPHEADER@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_curl_easy_setopt
	ldr	w0, [x22]
Lloh24:
	adrp	x8, _CURLOPT_FILE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CURLOPT_FILE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	sub	x2, x29, #64
	bl	_curl_easy_setopt
	mov	x0, x22
	bl	_start_active_slot
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x22
	bl	_run_active_slot
	ldur	x8, [x29, #-56]
Lloh27:
	adrp	x9, _CURLE_OK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CURLE_OK@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	mov	x0, #0
	bl	_XML_ParserCreate
	mov	x21, x0
	mov	w0, #10
	mov	w1, #1
	bl	_xcalloc
Lloh30:
	adrp	x8, _handle_remote_ls_ctx@GOTPAGE
Lloh31:
	ldr	x8, [x8, _handle_remote_ls_ctx@GOTPAGEOFF]
	stp	xzr, xzr, [sp, #88]
Lloh32:
	ldr	w8, [x8]
	str	w8, [sp, #80]
	add	x8, sp, #16
	stp	x0, x8, [sp, #64]
	add	x1, sp, #64
	mov	x0, x21
	bl	_XML_SetUserData
Lloh33:
	adrp	x8, _xml_start_tag@GOTPAGE
Lloh34:
	ldr	x8, [x8, _xml_start_tag@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _xml_end_tag@GOTPAGE
Lloh37:
	ldr	x8, [x8, _xml_end_tag@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XML_SetElementHandler
Lloh39:
	adrp	x8, _xml_cdata@GOTPAGE
Lloh40:
	ldr	x8, [x8, _xml_cdata@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_XML_SetCharacterDataHandler
	ldp	w2, w1, [x29, #-64]
	mov	x0, x21
	mov	w3, #1
	bl	_XML_Parse
	mov	x22, x0
	ldr	x0, [sp, #64]
	bl	_free
Lloh42:
	adrp	x8, _XML_STATUS_OK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _XML_STATUS_OK@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_4
; %bb.3:
Lloh45:
	adrp	x8, _stderr@GOTPAGE
Lloh46:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh47:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_XML_GetErrorCode
	bl	_XML_ErrorString
	str	x0, [sp]
Lloh48:
	adrp	x1, l_.str.3@PAGE
Lloh49:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_fprintf
LBB0_4:
	mov	x0, x21
	bl	_XML_ParserFree
	ldr	x21, [sp, #24]
	b	LBB0_6
LBB0_5:
Lloh50:
	adrp	x8, _stderr@GOTPAGE
Lloh51:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x1, l_.str.4@PAGE
Lloh54:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_6:
	mov	x0, x21
	bl	_free
	mov	x0, x19
	bl	_free
	sub	x0, x29, #88
	bl	_strbuf_release
	sub	x0, x29, #64
	bl	_strbuf_release
	mov	x0, x20
	bl	_curl_slist_free_all
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s"

	.comm	_repo,8,3                       ; @repo
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.comm	_PROPFIND_ALL_REQUEST,4,2       ; @PROPFIND_ALL_REQUEST
l_.str.1:                               ; @.str.1
	.asciz	"Depth: 1"

l_.str.2:                               ; @.str.2
	.asciz	"Content-Type: text/xml"

	.comm	_DAV_PROPFIND,4,2               ; @DAV_PROPFIND
	.comm	_fwrite_buffer,4,2              ; @fwrite_buffer
	.comm	_CURLOPT_HTTPHEADER,4,2         ; @CURLOPT_HTTPHEADER
	.comm	_CURLOPT_FILE,4,2               ; @CURLOPT_FILE
	.comm	_CURLE_OK,8,3                   ; @CURLE_OK
	.comm	_handle_remote_ls_ctx,4,2       ; @handle_remote_ls_ctx
	.comm	_xml_start_tag,4,2              ; @xml_start_tag
	.comm	_xml_end_tag,4,2                ; @xml_end_tag
	.comm	_xml_cdata,4,2                  ; @xml_cdata
	.comm	_XML_STATUS_OK,4,2              ; @XML_STATUS_OK
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"XML error: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to start PROPFIND request\n"

	.no_dead_strip	_remote_ls
.subsections_via_symbols
