	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftp_delete
_ftp_delete:                            ## @ftp_delete
	.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	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r14
	movq	_MAX_URL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%r13), %esi
	movq	%r13, %rdi
	callq	_ftp_connect
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_snprintf
	leaq	_ftp_delete.del_codes(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_ftp_send_command
	cmpl	$250, %eax
	je	LBB0_5
## %bb.2:
	movq	(%r14), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_snprintf
	leaq	_ftp_delete.rmd_codes(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_ftp_send_command
	cmpl	$250, %eax
	je	LBB0_5
## %bb.3:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_4:
	movl	%eax, %ebx
LBB0_5:
	movq	%r13, %rdi
	callq	_ftp_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_URL_SIZE,4,2               ## @MAX_URL_SIZE
	.section	__TEXT,__const
	.p2align	4                               ## @ftp_delete.del_codes
_ftp_delete.del_codes:
	.long	250                             ## 0xfa
	.long	421                             ## 0x1a5
	.long	450                             ## 0x1c2
	.long	500                             ## 0x1f4
	.long	501                             ## 0x1f5
	.long	502                             ## 0x1f6
	.long	530                             ## 0x212
	.long	550                             ## 0x226
	.long	0                               ## 0x0

	.p2align	4                               ## @ftp_delete.rmd_codes
_ftp_delete.rmd_codes:
	.long	250                             ## 0xfa
	.long	421                             ## 0x1a5
	.long	500                             ## 0x1f4
	.long	501                             ## 0x1f5
	.long	502                             ## 0x1f6
	.long	530                             ## 0x212
	.long	550                             ## 0x226
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DELE %s\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"RMD %s\r\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_ftp_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftp_delete
_ftp_delete:                            ; @ftp_delete
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x20, [x0, #8]
Lloh3:
	adrp	x8, _MAX_URL_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_URL_SIZE@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	x21, x8, x9
	mov	sp, x21
	ldr	w1, [x0]
	bl	_ftp_connect
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	x3, [x20]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
Lloh10:
	adrp	x2, _ftp_delete.del_codes@PAGE
Lloh11:
	add	x2, x2, _ftp_delete.del_codes@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, #0
	bl	_ftp_send_command
	cmp	w0, #250
	b.eq	LBB0_3
; %bb.2:
	ldr	x3, [x20]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
Lloh14:
	adrp	x2, _ftp_delete.rmd_codes@PAGE
Lloh15:
	add	x2, x2, _ftp_delete.rmd_codes@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, #0
	bl	_ftp_send_command
	cmp	w0, #250
	b.ne	LBB0_4
LBB0_3:
	mov	w23, #0
	b	LBB0_6
LBB0_4:
Lloh16:
	adrp	x8, _EIO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_5:
	mov	x23, x0
LBB0_6:
	mov	x0, x19
	bl	_ftp_close
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x23
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_URL_SIZE,4,2               ; @MAX_URL_SIZE
	.section	__TEXT,__const
	.p2align	2                               ; @ftp_delete.del_codes
_ftp_delete.del_codes:
	.long	250                             ; 0xfa
	.long	421                             ; 0x1a5
	.long	450                             ; 0x1c2
	.long	500                             ; 0x1f4
	.long	501                             ; 0x1f5
	.long	502                             ; 0x1f6
	.long	530                             ; 0x212
	.long	550                             ; 0x226
	.long	0                               ; 0x0

	.p2align	2                               ; @ftp_delete.rmd_codes
_ftp_delete.rmd_codes:
	.long	250                             ; 0xfa
	.long	421                             ; 0x1a5
	.long	500                             ; 0x1f4
	.long	501                             ; 0x1f5
	.long	502                             ; 0x1f6
	.long	530                             ; 0x212
	.long	550                             ; 0x226
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DELE %s\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"RMD %s\r\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_ftp_delete
.subsections_via_symbols
