	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftp_mode_type
_ftp_mode_type:                         ## @ftp_mode_type
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$83, %esi
	je	LBB0_3
## %bb.2:
	cmpl	$115, %esi
	jne	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$83, %edx
	callq	_ftp_cmd
	cmpl	$72, %ebx
	jle	LBB0_4
## %bb.7:
	cmpl	$73, %ebx
	je	LBB0_12
## %bb.8:
	cmpl	$97, %ebx
	je	LBB0_11
## %bb.9:
	cmpl	$105, %ebx
	je	LBB0_10
	jmp	LBB0_6
LBB0_4:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.5:
	cmpl	$65, %ebx
	je	LBB0_12
LBB0_6:
	movq	_FTP_PROTOCOL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movl	$73, %ebx
	jmp	LBB0_12
LBB0_11:
	movl	$65, %ebx
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ftp_cmd                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FTP_PROTOCOL_ERROR,4,2         ## @FTP_PROTOCOL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MODE %c"

	.comm	_FTP_OK,4,2                     ## @FTP_OK
L_.str.1:                               ## @.str.1
	.asciz	"TYPE %c"

	.no_dead_strip	_ftp_mode_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftp_mode_type
_ftp_mode_type:                         ; @ftp_mode_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
	cbz	w1, LBB0_3
; %bb.1:
	cmp	w1, #83
	b.eq	LBB0_3
; %bb.2:
	cmp	w1, #115
	b.ne	LBB0_9
LBB0_3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #83
	bl	_ftp_cmd
	cmp	w20, #72
	b.le	LBB0_7
; %bb.4:
	cmp	w20, #73
	b.eq	LBB0_12
; %bb.5:
	cmp	w20, #97
	b.eq	LBB0_11
; %bb.6:
	cmp	w20, #105
	b.eq	LBB0_10
	b	LBB0_9
LBB0_7:
	cbz	w20, LBB0_10
; %bb.8:
	cmp	w20, #65
	b.eq	LBB0_12
LBB0_9:
Lloh2:
	adrp	x8, _FTP_PROTOCOL_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FTP_PROTOCOL_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w20, #73
	b	LBB0_12
LBB0_11:
	mov	w20, #65
LBB0_12:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ftp_cmd
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FTP_PROTOCOL_ERROR,4,2         ; @FTP_PROTOCOL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MODE %c"

	.comm	_FTP_OK,4,2                     ; @FTP_OK
l_.str.1:                               ; @.str.1
	.asciz	"TYPE %c"

	.no_dead_strip	_ftp_mode_type
.subsections_via_symbols
