	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_changetype                     ## -- Begin function changetype
	.p2align	4, 0x90
_changetype:                            ## @changetype
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	movq	_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movq	_curtype@GOTPCREL(%rip), %r14
	cmpl	(%r14), %ebx
	je	LBB0_18
## %bb.3:
	movq	_verbose@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	testl	%esi, %esi
	jne	LBB0_6
## %bb.4:
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	$0, (%r15)
LBB0_6:
	movq	_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.7:
	addq	$16, %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	-8(%rax), %ebx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, (%rax)
	leaq	16(%rax), %rax
	jne	LBB0_8
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_11:
	movq	_TYPE_L@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_14
## %bb.12:
	movq	_bytename@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpb	$0, (%rdx)
	je	LBB0_14
## %bb.13:
	movl	-4(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_command
	jmp	LBB0_15
LBB0_14:
	movl	-4(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_command
LBB0_15:
	movq	_COMPLETE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, (%r14)
LBB0_17:
	movl	%r12d, (%r15)
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_TYPE_I,4,2                     ## @TYPE_I
	.comm	_curtype,4,2                    ## @curtype
	.comm	_debug,8,3                      ## @debug
	.comm	_types,8,3                      ## @types
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ftp: internal error: unknown type %d\n"

	.comm	_TYPE_L,4,2                     ## @TYPE_L
	.comm	_bytename,8,3                   ## @bytename
L_.str.1:                               ## @.str.1
	.asciz	"TYPE %s %s"

L_.str.2:                               ## @.str.2
	.asciz	"TYPE %s"

	.comm	_COMPLETE,4,2                   ## @COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_changetype                     ; -- Begin function changetype
	.p2align	2
_changetype:                            ; @changetype
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _TYPE_I@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_I@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w19, w8, w0, eq
Lloh3:
	adrp	x20, _curtype@GOTPAGE
Lloh4:
	ldr	x20, [x20, _curtype@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w19, w8
	b.eq	LBB0_16
; %bb.1:
Lloh5:
	adrp	x21, _verbose@GOTPAGE
Lloh6:
	ldr	x21, [x21, _verbose@GOTPAGEOFF]
	ldr	w22, [x21]
	cbnz	w1, LBB0_4
; %bb.2:
Lloh7:
	adrp	x8, _debug@GOTPAGE
Lloh8:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbnz	x8, LBB0_4
; %bb.3:
	str	wzr, [x21]
LBB0_4:
Lloh10:
	adrp	x8, _types@GOTPAGE
Lloh11:
	ldr	x8, [x8, _types@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_8
; %bb.5:
	add	x8, x8, #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x8, #-8]
	cmp	w19, w9
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x8], #16
	cbnz	x9, LBB0_6
LBB0_8:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_printf
LBB0_9:
Lloh15:
	adrp	x9, _TYPE_L@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TYPE_L@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w19, w9
	b.ne	LBB0_12
; %bb.10:
Lloh18:
	adrp	x9, _bytename@GOTPAGE
Lloh19:
	ldr	x9, [x9, _bytename@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldrb	w10, [x9]
	cbz	w10, LBB0_12
; %bb.11:
	ldur	w1, [x8, #-4]
	str	x9, [sp]
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
	ldur	w1, [x8, #-4]
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_13:
	bl	_command
Lloh25:
	adrp	x8, _COMPLETE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _COMPLETE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.14:
	str	w19, [x20]
LBB0_15:
	str	w22, [x21]
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_TYPE_I,4,2                     ; @TYPE_I
	.comm	_curtype,4,2                    ; @curtype
	.comm	_debug,8,3                      ; @debug
	.comm	_types,8,3                      ; @types
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ftp: internal error: unknown type %d\n"

	.comm	_TYPE_L,4,2                     ; @TYPE_L
	.comm	_bytename,8,3                   ; @bytename
l_.str.1:                               ; @.str.1
	.asciz	"TYPE %s %s"

l_.str.2:                               ; @.str.2
	.asciz	"TYPE %s"

	.comm	_COMPLETE,4,2                   ; @COMPLETE
.subsections_via_symbols
