	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_put                            ## -- Begin function put
	.p2align	4, 0x90
_put:                                   ## @put
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	cmpl	$2, %edi
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_8
LBB0_2:
	jge	LBB0_8
## %bb.3:
	movq	_line@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_fflush
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	(%rbx,%rax,4), %rdi
	callq	_gets
	xorl	%eax, %eax
	callq	_makeargv
	movq	_margc@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	_margv@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	cmpl	$1, %eax
	jle	LBB0_4
## %bb.6:
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r15), %edi
	callq	_fflush
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	(%rbx,%rax,4), %rdi
	callq	_gets
	xorl	%eax, %eax
	callq	_makeargv
	movq	(%r13), %rbx
	cmpl	$3, (%r12)
	jge	LBB0_8
LBB0_4:
	movq	(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r15), %edi
	callq	_fflush
	jmp	LBB0_5
LBB0_8:
	leaq	8(%rbx), %r15
	movq	8(%rbx), %r13
	movq	16(%rbx), %r14
	movq	%r15, %rdi
	callq	_globulize
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	movq	(%r15), %rax
	cmpq	%r13, %rax
	je	LBB0_12
## %bb.10:
	cmpq	%r13, 16(%rbx)
	jne	LBB0_12
## %bb.11:
	movq	%rax, 16(%rbx)
LBB0_12:
	movq	(%rbx), %rax
	movq	_sunique@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	leaq	L_.str.6(%rip), %rcx
	leaq	L_.str.5(%rip), %rdx
	cmoveq	%rcx, %rdx
	cmpb	$97, (%rax)
	leaq	L_.str.4(%rip), %r12
	cmovneq	%rdx, %r12
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$2, %ecx
	jne	LBB0_15
## %bb.13:
	movq	_ntflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.14:
	movq	16(%rbx), %rdi
	callq	_dotrans
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rax, 16(%rbx)
LBB0_15:
	movq	16(%rbx), %rdx
	cmpl	$2, %ecx
	jne	LBB0_18
## %bb.16:
	movq	_mapflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	movq	%rdx, %rdi
	callq	_domap
	movq	%rax, %rdx
	movq	%rax, 16(%rbx)
LBB0_18:
	movq	(%r15), %rsi
	xorq	%rsi, %r13
	xorq	%rdx, %r14
	xorl	%ecx, %ecx
	orq	%r13, %r14
	setne	%cl
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sendrequest                    ## TAILCALL
LBB0_5:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_line,8,3                       ## @line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"(local-file) "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_margc,4,2                      ## @margc
	.comm	_margv,8,3                      ## @margv
L_.str.2:                               ## @.str.2
	.asciz	"usage:%s local-file remote-file\n"

	.comm	_code,4,2                       ## @code
L_.str.3:                               ## @.str.3
	.asciz	"(remote-file) "

L_.str.4:                               ## @.str.4
	.asciz	"APPE"

	.comm	_sunique,8,3                    ## @sunique
L_.str.5:                               ## @.str.5
	.asciz	"STOU"

L_.str.6:                               ## @.str.6
	.asciz	"STOR"

	.comm	_ntflag,8,3                     ## @ntflag
	.comm	_mapflag,8,3                    ## @mapflag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_put                            ; -- Begin function put
	.p2align	2
_put:                                   ; @put
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x19, x0
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	str	x8, [x20, #16]
	b	LBB0_7
LBB0_2:
	cmp	w19, #1
	b.gt	LBB0_7
; %bb.3:
Lloh0:
	adrp	x22, _line@GOTPAGE
Lloh1:
	ldr	x22, [x22, _line@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh6:
	adrp	x21, _stdout@GOTPAGE
Lloh7:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_fflush
	ldr	x20, [x22]
	mov	x0, x20
	bl	_strlen
	add	x0, x20, x0, lsl #2
	bl	_gets
	bl	_makeargv
Lloh8:
	adrp	x23, _margc@GOTPAGE
Lloh9:
	ldr	x23, [x23, _margc@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh10:
	adrp	x24, _margv@GOTPAGE
Lloh11:
	ldr	x24, [x24, _margv@GOTPAGEOFF]
	ldr	x20, [x24]
	cmp	w8, #1
	b.le	LBB0_6
; %bb.4:
	cmp	w8, #2
	b.ne	LBB0_7
; %bb.5:
	ldr	x0, [x22]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [x21]
	bl	_fflush
	ldr	x20, [x22]
	mov	x0, x20
	bl	_strlen
	add	x0, x20, x0, lsl #2
	bl	_gets
	bl	_makeargv
	ldr	w8, [x23]
	ldr	x20, [x24]
	cmp	w8, #3
	b.ge	LBB0_7
LBB0_6:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [x21]
	bl	_fflush
	b	LBB0_18
LBB0_7:
	mov	x21, x20
	ldp	x23, x24, [x21, #8]!
	mov	x0, x21
	bl	_globulize
	cbz	w0, LBB0_18
; %bb.8:
	ldr	x8, [x21]
	cmp	x8, x23
	b.eq	LBB0_11
; %bb.9:
	ldr	x9, [x20, #16]
	cmp	x9, x23
	b.ne	LBB0_11
; %bb.10:
	str	x8, [x20, #16]
LBB0_11:
	ldr	x8, [x20]
	ldrb	w8, [x8]
Lloh18:
	adrp	x9, _sunique@GOTPAGE
Lloh19:
	ldr	x9, [x9, _sunique@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, l_.str.5@PAGE
Lloh22:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh23:
	adrp	x11, l_.str.6@PAGE
Lloh24:
	add	x11, x11, l_.str.6@PAGEOFF
	cmp	x9, #0
	csel	x9, x11, x10, eq
Lloh25:
	adrp	x10, l_.str.4@PAGE
Lloh26:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w8, #97
	csel	x22, x10, x9, eq
	cmp	w19, #2
	b.ne	LBB0_14
; %bb.12:
Lloh27:
	adrp	x8, _ntflag@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ntflag@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	x0, [x20, #16]
	bl	_dotrans
	str	x0, [x20, #16]
LBB0_14:
	ldr	x2, [x20, #16]
	cmp	w19, #2
	b.ne	LBB0_17
; %bb.15:
Lloh30:
	adrp	x8, _mapflag@GOTPAGE
Lloh31:
	ldr	x8, [x8, _mapflag@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.16:
	mov	x0, x2
	bl	_domap
	mov	x2, x0
	str	x0, [x20, #16]
LBB0_17:
	ldr	x1, [x21]
	cmp	x1, x23
	ccmp	x2, x24, #0, eq
	cset	w3, ne
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_sendrequest
LBB0_18:
Lloh33:
	adrp	x8, _code@GOTPAGE
Lloh34:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh35:
	str	w9, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_line,8,3                       ; @line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"(local-file) "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_margc,4,2                      ; @margc
	.comm	_margv,8,3                      ; @margv
l_.str.2:                               ; @.str.2
	.asciz	"usage:%s local-file remote-file\n"

	.comm	_code,4,2                       ; @code
l_.str.3:                               ; @.str.3
	.asciz	"(remote-file) "

l_.str.4:                               ; @.str.4
	.asciz	"APPE"

	.comm	_sunique,8,3                    ; @sunique
l_.str.5:                               ; @.str.5
	.asciz	"STOU"

l_.str.6:                               ; @.str.6
	.asciz	"STOR"

	.comm	_ntflag,8,3                     ; @ntflag
	.comm	_mapflag,8,3                    ; @mapflag
.subsections_via_symbols
