	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function download_dir_internal
_download_dir_internal:                 ## @download_dir_internal
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -92(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_DIR_DEPTH@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jle	LBB0_1
## %bb.2:
	movq	%r8, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	testq	%r8, %r8
	jne	LBB0_6
## %bb.3:
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_do_stat
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
LBB0_6:
	movl	(%rbx), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movl	16(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	callq	_mprintf
LBB0_10:
	movq	_SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_12
## %bb.11:
	movl	$1023, %esi                     ## imm = 0x3FF
	andl	(%rbx), %esi
	jmp	LBB0_13
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_error
	movl	$-1, %eax
	jmp	LBB0_37
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_5
LBB0_12:
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	_debug
	movl	$511, %esi                      ## imm = 0x1FF
LBB0_13:
	movq	%r14, %rdi
	callq	_mkdir
	cmpl	$-1, %eax
	jne	LBB0_16
## %bb.14:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EEXIST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_15
LBB0_16:
	leaq	-88(%rbp), %rdx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_do_readdir
	cmpl	$-1, %eax
	je	LBB0_39
## %bb.17:
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rax
	xorl	%ecx, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.19:
	movl	%r12d, -108(%rbp)               ## 4-byte Spill
	movq	_interrupted@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	$0, %r14d
	movl	$0, %r12d
	jne	LBB0_31
## %bb.20:
	movq	%r15, %rbx
	incl	-108(%rbp)                      ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movq	-88(%rbp), %rax
	movq	(%rax,%r15), %rax
	movq	(%rax), %r13
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_path_append
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_path_append
	movq	%rax, %r14
	movq	-88(%rbp), %rax
	movq	(%rax,%r15), %rax
	movl	8(%rax), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-88(%rbp), %rax
	movq	(%rax,%r15), %r8
	addq	$8, %r8
	subq	$8, %rsp
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	-108(%rbp), %ecx                ## 4-byte Reload
	movl	-92(%rbp), %r9d                 ## 4-byte Reload
	movl	32(%rbp), %eax
	pushq	%rax
	movl	24(%rbp), %eax
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_download_dir_internal
	addq	$32, %rsp
	cmpl	$-1, %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmovel	%eax, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-88(%rbp), %rax
	movq	(%rax,%r15), %rax
	movl	8(%rax), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-88(%rbp), %rax
	movq	(%rax,%r15), %rcx
	addq	$8, %rcx
	subq	$8, %rsp
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	-92(%rbp), %r8d                 ## 4-byte Reload
	movl	24(%rbp), %r9d
                                        ## kill: def $r9d killed $r9d killed $r9
	movl	32(%rbp), %eax
	pushq	%rax
	callq	_do_download
	addq	$16, %rsp
	cmpl	$-1, %eax
	jne	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=1
	leaq	L_.str.9(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_error
	movl	$-1, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	leaq	L_.str.10(%rip), %rdi
	movq	%r14, %rsi
	callq	_logit
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-88(%rbp), %rax
	cmpq	$0, 8(%rax,%r15)
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_21 Depth=1
	addq	$8, %r15
	movq	_interrupted@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_21
	jmp	LBB0_31
LBB0_39:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_error
	movl	$-1, %eax
	jmp	LBB0_37
LBB0_15:
	callq	_strerror
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
	movl	$-1, %eax
	jmp	LBB0_37
LBB0_18:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
LBB0_31:
	movq	%r12, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_36
## %bb.32:
	movq	_SSH2_FILEXFER_ATTR_ACMODTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	testl	%eax, 4(%rbx)
	je	LBB0_35
## %bb.33:
	movl	12(%rbx), %eax
	movl	%eax, -72(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_utimes
	cmpl	$-1, %eax
	jne	LBB0_36
## %bb.34:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.11(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_36
LBB0_35:
	leaq	L_.str.12(%rip), %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_debug
LBB0_36:
	movq	-88(%rbp), %rdi
	callq	_free_sftp_dirents
	movq	-104(%rbp), %rax                ## 8-byte Reload
LBB0_37:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_40
## %bb.38:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DIR_DEPTH,4,2              ## @MAX_DIR_DEPTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Maximum directory depth exceeded: %d levels"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to stat remote directory \"%s\""

L_.str.2:                               ## @.str.2
	.asciz	"\"%s\" is not a directory"

L_.str.3:                               ## @.str.3
	.asciz	"Retrieving %s\n"

	.comm	_SSH2_FILEXFER_ATTR_PERMISSIONS,4,2 ## @SSH2_FILEXFER_ATTR_PERMISSIONS
L_.str.4:                               ## @.str.4
	.asciz	"Server did not send permissions for directory \"%s\""

	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
L_.str.5:                               ## @.str.5
	.asciz	"mkdir %s: %s"

L_.str.6:                               ## @.str.6
	.asciz	"%s: Failed to get directory contents"

	.comm	_interrupted,4,2                ## @interrupted
L_.str.7:                               ## @.str.7
	.asciz	"."

L_.str.8:                               ## @.str.8
	.asciz	".."

L_.str.9:                               ## @.str.9
	.asciz	"Download of file %s to %s failed"

L_.str.10:                              ## @.str.10
	.asciz	"%s: not a regular file\n"

	.comm	_SSH2_FILEXFER_ATTR_ACMODTIME,4,2 ## @SSH2_FILEXFER_ATTR_ACMODTIME
L_.str.11:                              ## @.str.11
	.asciz	"Can't set times on \"%s\": %s"

L_.str.12:                              ## @.str.12
	.asciz	"Server did not send times for directory \"%s\""

	.no_dead_strip	_download_dir_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function download_dir_internal
_download_dir_internal:                 ; @download_dir_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w7, [sp, #28]                   ; 4-byte Folded Spill
	mov	x28, x3
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
Lloh3:
	adrp	x8, _MAX_DIR_DEPTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_DIR_DEPTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w3
	b.le	LBB0_8
; %bb.1:
	mov	x23, x6
	mov	x21, x5
	mov	x20, x4
	mov	x19, x2
	mov	x22, x1
	mov	x25, x0
	cbnz	x4, LBB0_3
; %bb.2:
	mov	x0, x25
	mov	x1, x22
	mov	w2, #1
	bl	_do_stat
	mov	x20, x0
	cbz	x0, LBB0_27
LBB0_3:
	ldr	w0, [x20]
	bl	_S_ISDIR
	cbz	x0, LBB0_9
; %bb.4:
	cbz	w23, LBB0_6
; %bb.5:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
	bl	_mprintf
LBB0_6:
	ldr	w8, [x20, #4]
Lloh8:
	adrp	x9, _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.7:
	ldr	w8, [x20]
	and	w1, w8, #0x3ff
	b	LBB0_11
LBB0_8:
	str	x28, [sp]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_29
LBB0_9:
	str	x22, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_29
LBB0_10:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_debug
	mov	w1, #511
LBB0_11:
	mov	x0, x19
	bl	_mkdir
	cmn	w0, #1
	b.ne	LBB0_13
; %bb.12:
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
Lloh20:
	adrp	x8, _EEXIST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_28
LBB0_13:
	add	x2, sp, #32
	mov	x0, x25
	mov	x1, x22
	bl	_do_readdir
	cmn	w0, #1
	b.eq	LBB0_26
; %bb.14:
	mov	x24, #0
	mov	w26, #0
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_32
; %bb.15:
	str	w23, [sp, #20]                  ; 4-byte Folded Spill
Lloh23:
	adrp	x8, _interrupted@GOTPAGE
Lloh24:
	ldr	x8, [x8, _interrupted@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	mov	x27, x24
	cbnz	w8, LBB0_33
; %bb.16:
	mov	x23, #0
	mov	x27, #0
	mov	x24, #0
	mov	w26, #0
	ldr	w8, [x29, #16]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	add	w8, w28, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh26:
	adrp	x0, l_.str.10@PAGE
Lloh27:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x24
	bl	_logit
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [sp, #32]
	add	x8, x8, x23
	ldr	x8, [x8, #8]
Lloh28:
	adrp	x9, _interrupted@GOTPAGE
Lloh29:
	ldr	x9, [x9, _interrupted@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	add	x23, x23, #8
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.ne	LBB0_33
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	bl	_free
	mov	x0, x24
	bl	_free
	ldr	x8, [sp, #32]
	ldr	x8, [x8, x23]
	ldr	x28, [x8]
	mov	x0, x19
	mov	x1, x28
	bl	_path_append
	mov	x27, x0
	mov	x0, x22
	mov	x1, x28
	bl	_path_append
	mov	x24, x0
	ldr	x8, [sp, #32]
	ldr	x8, [x8, x23]
	ldr	w0, [x8, #8]
	bl	_S_ISDIR
	cbz	x0, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x28
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x28
Lloh33:
	adrp	x1, l_.str.8@PAGE
Lloh34:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [sp, #32]
	ldr	x8, [x8, x23]
	add	x4, x8, #8
	ldp	w6, w8, [sp, #20]               ; 8-byte Folded Reload
	str	w8, [sp]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x27
	ldr	w3, [sp, #16]                   ; 4-byte Folded Reload
	mov	x5, x21
	ldr	w7, [sp, #28]                   ; 4-byte Folded Reload
	bl	_download_dir_internal
	cmn	w0, #1
	csinv	w26, w26, wzr, ne
	b	LBB0_18
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [sp, #32]
	ldr	x8, [x8, x23]
	ldr	w0, [x8, #8]
	bl	_S_ISREG
	cbz	x0, LBB0_17
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [sp, #32]
	ldr	x8, [x8, x23]
	add	x3, x8, #8
	mov	x0, x25
	mov	x1, x24
	mov	x2, x27
	mov	x4, x21
	ldp	w6, w5, [sp, #24]               ; 8-byte Folded Reload
	bl	_do_download
	cmn	w0, #1
	b.ne	LBB0_18
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=1
	stp	x24, x27, [sp]
Lloh35:
	adrp	x0, l_.str.9@PAGE
Lloh36:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_error
	mov	w26, #-1
	b	LBB0_18
LBB0_26:
	str	x22, [sp]
Lloh37:
	adrp	x0, l_.str.6@PAGE
Lloh38:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_29
LBB0_27:
	str	x22, [sp]
Lloh39:
	adrp	x0, l_.str.1@PAGE
Lloh40:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_29
LBB0_28:
	bl	_strerror
	stp	x19, x0, [sp]
Lloh41:
	adrp	x0, l_.str.5@PAGE
Lloh42:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_29:
	bl	_error
	mov	w26, #-1
LBB0_30:
	ldr	x8, [sp, #72]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.31:
	mov	x0, x26
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_32:
	mov	x27, x24
LBB0_33:
	mov	x0, x27
	bl	_free
	mov	x0, x24
	bl	_free
	cbz	w21, LBB0_38
; %bb.34:
	ldr	w8, [x20, #4]
Lloh46:
	adrp	x9, _SSH2_FILEXFER_ATTR_ACMODTIME@GOTPAGE
Lloh47:
	ldr	x9, [x9, _SSH2_FILEXFER_ATTR_ACMODTIME@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.35:
	ldp	w9, w8, [x20, #8]
	str	w8, [sp, #48]
	str	w9, [sp, #64]
	str	xzr, [sp, #56]
	str	xzr, [sp, #40]
	add	x1, sp, #40
	mov	x0, x19
	bl	_utimes
	cmn	w0, #1
	b.ne	LBB0_38
; %bb.36:
Lloh49:
	adrp	x8, _errno@GOTPAGE
Lloh50:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh51:
	ldr	x0, [x8]
	bl	_strerror
	stp	x19, x0, [sp]
Lloh52:
	adrp	x0, l_.str.11@PAGE
Lloh53:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_error
	b	LBB0_38
LBB0_37:
Lloh54:
	adrp	x0, l_.str.12@PAGE
Lloh55:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	x1, x19
	bl	_debug
LBB0_38:
	ldr	x0, [sp, #32]
	bl	_free_sftp_dirents
	b	LBB0_30
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DIR_DEPTH,4,2              ; @MAX_DIR_DEPTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Maximum directory depth exceeded: %d levels"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to stat remote directory \"%s\""

l_.str.2:                               ; @.str.2
	.asciz	"\"%s\" is not a directory"

l_.str.3:                               ; @.str.3
	.asciz	"Retrieving %s\n"

	.comm	_SSH2_FILEXFER_ATTR_PERMISSIONS,4,2 ; @SSH2_FILEXFER_ATTR_PERMISSIONS
l_.str.4:                               ; @.str.4
	.asciz	"Server did not send permissions for directory \"%s\""

	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
l_.str.5:                               ; @.str.5
	.asciz	"mkdir %s: %s"

l_.str.6:                               ; @.str.6
	.asciz	"%s: Failed to get directory contents"

	.comm	_interrupted,4,2                ; @interrupted
l_.str.7:                               ; @.str.7
	.asciz	"."

l_.str.8:                               ; @.str.8
	.asciz	".."

l_.str.9:                               ; @.str.9
	.asciz	"Download of file %s to %s failed"

l_.str.10:                              ; @.str.10
	.asciz	"%s: not a regular file\n"

	.comm	_SSH2_FILEXFER_ATTR_ACMODTIME,4,2 ; @SSH2_FILEXFER_ATTR_ACMODTIME
l_.str.11:                              ; @.str.11
	.asciz	"Can't set times on \"%s\": %s"

l_.str.12:                              ; @.str.12
	.asciz	"Server did not send times for directory \"%s\""

	.no_dead_strip	_download_dir_internal
.subsections_via_symbols
