	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftp_pwd
_ftp_pwd:                               ## @ftp_pwd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_FTP_WORKING_DIRECTORY@GOTPCREL(%rip), %rcx
	movq	_FTP_PROTOCOL_ERROR@GOTPCREL(%rip), %r8
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_FTP_FILE_ACTION_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
LBB0_2:
	movslq	16(%rdi), %r9
	cmpq	$5, %r9
	jl	LBB0_15
## %bb.3:
	movq	8(%rdi), %rdi
	cmpb	$34, 4(%rdi)
	jne	LBB0_15
## %bb.4:
	cmpl	$6, %r9d
	jb	LBB0_13
## %bb.5:
	addq	%rdi, %r9
	addq	$5, %rdi
	movl	$1, %ecx
	subq	%rdx, %rcx
	xorl	%eax, %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$34, %cl
	movb	$34, %cl
	jne	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	%cl, (%rsi)
	incq	%rsi
	xorl	%eax, %eax
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdi
	leaq	1(%rdx), %rcx
	cmpq	%r9, %rdi
	jae	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %rcx
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, %rdx
	movzbl	(%rdi), %ecx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %eax
	cmpb	$34, %cl
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	negq	%rdx
LBB0_13:
	testq	%rdx, %rdx
	je	LBB0_15
LBB0_14:
	movb	$0, (%rsi)
	movq	_FTP_OK@GOTPCREL(%rip), %r8
LBB0_15:
	movl	(%r8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTP_WORKING_DIRECTORY,8,3      ## @FTP_WORKING_DIRECTORY
	.comm	_FTP_FILE_ACTION_OK,8,3         ## @FTP_FILE_ACTION_OK
	.comm	_FTP_PROTOCOL_ERROR,4,2         ## @FTP_PROTOCOL_ERROR
	.comm	_FTP_OK,4,2                     ## @FTP_OK
	.no_dead_strip	_ftp_pwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftp_pwd
_ftp_pwd:                               ; @ftp_pwd
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FTP_WORKING_DIRECTORY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FTP_WORKING_DIRECTORY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _FTP_FILE_ACTION_OK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FTP_FILE_ACTION_OK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_15
; %bb.1:
	ldrsw	x8, [x0, #16]
	cmp	w8, #5
	b.lt	LBB0_15
; %bb.2:
	ldr	x9, [x0, #8]
	ldrb	w10, [x9, #4]
	cmp	w10, #34
	b.ne	LBB0_15
; %bb.3:
	cmp	w8, #6
	b.lo	LBB0_13
; %bb.4:
	mov	w11, #0
	add	x8, x9, x8
	add	x9, x9, #5
	mov	w10, #1
	sub	x12, x10, x2
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	b.ne	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w11, #0
	strb	w12, [x1], #1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #1
	add	x12, x10, #1
	cmp	x9, x8
	b.hs	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x12, #1
	b.eq	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x10, x12
	ldrb	w12, [x9]
	cmp	w12, #34
	cbnz	w11, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	b.ne	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w11, #1
	b	LBB0_7
LBB0_12:
	neg	x2, x10
LBB0_13:
	cbz	x2, LBB0_15
LBB0_14:
	strb	wzr, [x1]
Lloh6:
	adrp	x8, _FTP_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FTP_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_15:
Lloh9:
	adrp	x8, _FTP_PROTOCOL_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FTP_PROTOCOL_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FTP_WORKING_DIRECTORY,8,3      ; @FTP_WORKING_DIRECTORY
	.comm	_FTP_FILE_ACTION_OK,8,3         ; @FTP_FILE_ACTION_OK
	.comm	_FTP_PROTOCOL_ERROR,4,2         ; @FTP_PROTOCOL_ERROR
	.comm	_FTP_OK,4,2                     ; @FTP_OK
	.no_dead_strip	_ftp_pwd
.subsections_via_symbols
