	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auto_put                       ## -- Begin function auto_put
	.p2align	4, 0x90
_auto_put:                              ## @auto_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, -92(%rbp)                 ## 4-byte Spill
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_C_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_strlcpy
	movq	%r14, -80(%rbp)
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_DPRINTF
	movq	%r15, %rdi
	callq	_ftp_strdup
	movq	%rax, %rbx
	movq	%rax, -88(%rbp)
	movq	%rax, %rdi
	callq	_strlen
	cltq
	movb	-1(%rax,%rbx), %al
	cmpb	$47, %al
	je	LBB0_10
## %bb.1:
	cmpb	$58, %al
	je	LBB0_10
## %bb.2:
	cmpl	$2, -92(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_strlen
	addl	$2, %eax
	movslq	%eax, %r14
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_ftp_malloc
	movq	%rax, %rbx
	movq	%rax, -88(%rbp)
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_strlcpy
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_strlcat
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_strlcpy
	movq	%r14, -80(%rbp)
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	%rax, %r14
	movq	%rax, %rdi
	incq	%rdi
	callq	_ftp_strdup
	movq	%rax, -64(%rbp)
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	%rax, %r14
	incq	%r14
	movq	%r14, %rdi
	callq	_ftp_strdup
	movq	%rax, -64(%rbp)
	movb	$47, 1(%r15)
LBB0_9:
	movb	$0, 1(%r14)
	movb	$1, %r12b
	movq	-88(%rbp), %rbx
LBB0_10:
	movq	-64(%rbp), %rdi
	callq	_STRorNULL
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DPRINTF
	leaq	-88(%rbp), %rsi
	movl	$1, %edi
	callq	_auto_fetch
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_17
## %bb.11:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	testb	%r12b, %r12b
	je	LBB0_12
## %bb.19:
	movq	%rax, -72(%rbp)
	leaq	-80(%rbp), %rsi
	movl	$3, %edi
	callq	_put
	movq	_code@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movq	_COMPLETE@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpl	(%rcx), %eax
	setne	%r15b
	jmp	LBB0_17
LBB0_12:
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	movl	$1, %ebx
	leaq	-80(%rbp), %r14
	movq	_code@GOTPCREL(%rip), %r12
	movq	_COMPLETE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -72(%rbp)
	movl	$2, %edi
	movq	%r14, %rsi
	callq	_mput
	movslq	(%r12), %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	cmpl	(%r13), %eax
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%rbx,8), %rax
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_17
LBB0_15:
	movl	%ebx, %r15d
	jmp	LBB0_17
LBB0_6:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_warnx
	movl	$1, %r15d
LBB0_17:
	movq	-88(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_FREEPTR
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.18:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_C_NAME,4,2                 ## @MAX_C_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mput"

L_.str.1:                               ## @.str.1
	.asciz	"auto_put: target `%s'\n"

L_.str.2:                               ## @.str.2
	.asciz	"/"

L_.str.3:                               ## @.str.3
	.asciz	"put"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid URL `%s'"

L_.str.5:                               ## @.str.5
	.asciz	"auto_put: URL `%s' argv[2] `%s'\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auto_put                       ; -- Begin function auto_put
	.p2align	2
_auto_put:                              ; @auto_put
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #48
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_C_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_C_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	mov	x2, x22
	bl	_strlcpy
	ldr	x8, [x19]
	stp	x24, x8, [x29, #-104]
	stp	xzr, xzr, [x29, #-88]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_DPRINTF
	mov	x0, x21
	bl	_ftp_strdup
	mov	x20, x0
	stur	x0, [x29, #-112]
	bl	_strlen
	mov	w26, #0
	add	x8, x20, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.eq	LBB0_9
; %bb.1:
	cmp	w8, #58
	b.eq	LBB0_9
; %bb.2:
	cmp	w23, #2
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_strlen
	add	w22, w0, #2
	sxtw	x23, w22
	mov	x0, x20
	bl	_free
	mov	x0, x23
	bl	_ftp_malloc
	mov	x20, x0
	stur	x0, [x29, #-112]
	mov	x1, x21
	mov	x2, x22
	bl	_strlcpy
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_strlcat
	mov	w26, #0
	b	LBB0_9
LBB0_4:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	mov	x2, x22
	bl	_strlcpy
	stur	x24, [x29, #-104]
	mov	x0, x20
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_6
; %bb.5:
	mov	x21, x0
	add	x0, x0, #1
	bl	_ftp_strdup
	stur	x0, [x29, #-88]
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	mov	w1, #58
	bl	_strrchr
	cbz	x0, LBB0_19
; %bb.7:
	mov	x22, x0
	add	x21, x0, #1
	mov	x0, x21
	bl	_ftp_strdup
	stur	x0, [x29, #-88]
	mov	w8, #47
	strb	w8, [x22, #1]
LBB0_8:
	strb	wzr, [x21, #1]
	mov	w26, #1
	ldur	x20, [x29, #-112]
LBB0_9:
	ldur	x0, [x29, #-88]
	bl	_STRorNULL
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_DPRINTF
	add	sp, sp, #16
	sub	x1, x29, #112
	mov	w0, #1
	bl	_auto_fetch
	mov	x20, x0
	tbz	w0, #31, LBB0_17
; %bb.10:
	ldr	x8, [x19]
	tbz	w26, #0, LBB0_12
; %bb.11:
	stur	x8, [x29, #-96]
	sub	x1, x29, #104
	mov	w0, #3
	bl	_put
Lloh18:
	adrp	x8, _code@GOTPAGE
Lloh19:
	ldr	x8, [x8, _code@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #37
Lloh21:
	adrp	x10, _COMPLETE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _COMPLETE@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	add	w8, w8, w9
	cmp	w8, w10
	cset	w20, ne
	b	LBB0_17
LBB0_12:
	cbz	x8, LBB0_16
; %bb.13:
	mov	w20, #1
Lloh24:
	adrp	x21, _code@GOTPAGE
Lloh25:
	ldr	x21, [x21, _code@GOTPAGEOFF]
	mov	w22, #34079
	movk	w22, #20971, lsl #16
Lloh26:
	adrp	x23, _COMPLETE@GOTPAGE
Lloh27:
	ldr	x23, [x23, _COMPLETE@GOTPAGEOFF]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	stur	x8, [x29, #-96]
	sub	x1, x29, #104
	mov	w0, #2
	bl	_mput
	ldrsw	x8, [x21]
	mul	x8, x8, x22
	lsr	x9, x8, #63
	asr	x8, x8, #37
	ldr	w10, [x23]
	add	w8, w8, w9
	cmp	w8, w10
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, x20, lsl #3]
	add	x20, x20, #1
	cbnz	x8, LBB0_14
LBB0_16:
	mov	w20, #0
LBB0_17:
	ldur	x0, [x29, #-112]
	bl	_free
	ldur	x0, [x29, #-88]
	bl	_FREEPTR
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.18:
	mov	x0, x20
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_warnx
	mov	w20, #1
	b	LBB0_17
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_C_NAME,4,2                 ; @MAX_C_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mput"

l_.str.1:                               ; @.str.1
	.asciz	"auto_put: target `%s'\n"

l_.str.2:                               ; @.str.2
	.asciz	"/"

l_.str.3:                               ; @.str.3
	.asciz	"put"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid URL `%s'"

l_.str.5:                               ; @.str.5
	.asciz	"auto_put: URL `%s' argv[2] `%s'\n"

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