	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_login                      ## -- Begin function sec_login
	.p2align	4, 0x90
_sec_login:                             ## @sec_login
	.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	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$-1, (%rax)
	movq	_mechs@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_23
## %bb.1:
	movq	%rdi, %rbx
	movq	_app_data@GOTPCREL(%rip), %r12
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.5(%rip), %rdi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rcx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx), %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	addq	$8, %r13
	testq	%rax, %rax
	je	LBB0_23
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	movq	24(%rax), %rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%r12)
	movq	(%r13), %rcx
	movq	8(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	*%rdx
	movq	(%r13), %rcx
	movq	%r14, %rdi
	testq	%rax, %rax
	jne	LBB0_12
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	(%r13), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_command
	movq	_CONTINUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movq	(%r12), %rdi
	movq	%rbx, %rsi
	callq	*16(%rax)
	movq	_AUTH_CONTINUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_code@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.4(%rip), %rdi
	cmpl	$504, %ecx                      ## imm = 0x1F8
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$534, %ecx                      ## imm = 0x216
	je	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.15:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_18
LBB0_4:
	movq	(%r13), %rax
	movq	24(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movl	$-1, %eax
	jmp	LBB0_24
LBB0_17:
	movq	_AUTH_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_18
## %bb.19:
	movq	(%r13), %rax
	movq	_mech@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_sec_complete@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_doencrypt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.20:
	movq	_prot_private@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_command_prot@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_request_data_prot@GOTPCREL(%rip), %rcx
	jmp	LBB0_22
LBB0_18:
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movl	$-1, %eax
	jmp	LBB0_24
LBB0_21:
	movq	_prot_safe@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_command_prot@GOTPCREL(%rip), %rcx
LBB0_22:
	movq	%rax, (%rcx)
LBB0_23:
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	cmpq	$0, (%r13)
	sete	%al
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_mechs,8,3                      ## @mechs
	.comm	_app_data,8,3                   ## @app_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"realloc %lu failed"

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

L_.str.2:                               ## @.str.2
	.asciz	"Trying %s...\n"

L_.str.3:                               ## @.str.3
	.asciz	"AUTH %s"

	.comm	_CONTINUE,4,2                   ## @CONTINUE
	.comm	_code,4,2                       ## @code
L_.str.4:                               ## @.str.4
	.asciz	"%s is not supported by the server.\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s rejected as security mechanism.\n"

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_AUTH_CONTINUE,4,2              ## @AUTH_CONTINUE
	.comm	_AUTH_OK,4,2                    ## @AUTH_OK
	.comm	_mech,8,3                       ## @mech
	.comm	_sec_complete,4,2               ## @sec_complete
	.comm	_doencrypt,8,3                  ## @doencrypt
	.comm	_prot_private,8,3               ## @prot_private
	.comm	_command_prot,8,3               ## @command_prot
	.comm	_request_data_prot,8,3          ## @request_data_prot
	.comm	_prot_safe,8,3                  ## @prot_safe
L_str:                                  ## @str
	.asciz	"The server doesn't support the FTP security extensions."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_login                      ; -- Begin function sec_login
	.p2align	2
_sec_login:                             ; @sec_login
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x22, _verbose@GOTPAGE
Lloh1:
	ldr	x22, [x22, _verbose@GOTPAGEOFF]
	ldr	w23, [x22]
	mov	w8, #-1
	str	w8, [x22]
Lloh2:
	adrp	x8, _mechs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mechs@GOTPAGEOFF]
Lloh4:
	ldr	x24, [x8]
	ldr	x8, [x24]
	cbz	x8, LBB0_24
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x25, _app_data@GOTPAGE
Lloh6:
	ldr	x25, [x25, _app_data@GOTPAGEOFF]
Lloh7:
	adrp	x20, l_.str.2@PAGE
Lloh8:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh9:
	adrp	x21, l_.str.3@PAGE
Lloh10:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh11:
	adrp	x26, _CONTINUE@GOTPAGE
Lloh12:
	ldr	x26, [x26, _CONTINUE@GOTPAGEOFF]
Lloh13:
	adrp	x28, _code@GOTPAGE
Lloh14:
	ldr	x28, [x28, _code@GOTPAGEOFF]
Lloh15:
	adrp	x27, l_.str.1@PAGE
Lloh16:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x24]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x9]
	str	x8, [sp]
	bl	_printf
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24, #8]!
	cbz	x8, LBB0_24
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	cbz	x9, LBB0_24
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x25]
	ldr	x1, [x8, #24]
	bl	_realloc
	cbz	x0, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x0, [x25]
	ldr	x9, [x24]
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	blr	x8
	mov	x8, x0
	ldr	x9, [x24]
	mov	x0, x27
	cbnz	x8, LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x9]
	str	x8, [sp]
	mov	x0, x20
	bl	_printf
	ldr	x8, [x24]
	ldr	x1, [x8]
	mov	x0, x21
	bl	_command
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	ldr	x8, [x8, #16]
	ldr	x0, [x25]
	mov	x1, x19
	blr	x8
Lloh19:
	adrp	x8, _AUTH_CONTINUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AUTH_CONTINUE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_5
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	cmp	w8, #504
	b.eq	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #534
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.16:
Lloh27:
	adrp	x0, l_str@PAGE
Lloh28:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_21
LBB0_17:
	ldr	x8, [x24]
	ldr	x1, [x8, #24]
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	mov	w0, #-1
	b	LBB0_25
LBB0_18:
Lloh31:
	adrp	x8, _AUTH_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AUTH_OK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.19:
	ldr	x8, [x24]
Lloh34:
	adrp	x9, _mech@GOTPAGE
Lloh35:
	ldr	x9, [x9, _mech@GOTPAGEOFF]
Lloh36:
	adrp	x10, _sec_complete@GOTPAGE
Lloh37:
	ldr	x10, [x10, _sec_complete@GOTPAGEOFF]
Lloh38:
	str	x8, [x9]
	mov	w8, #1
Lloh39:
	str	w8, [x10]
Lloh40:
	adrp	x8, _doencrypt@GOTPAGE
Lloh41:
	ldr	x8, [x8, _doencrypt@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	cbz	x8, LBB0_22
; %bb.20:
Lloh43:
	adrp	x8, _prot_private@GOTPAGE
Lloh44:
	ldr	x8, [x8, _prot_private@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
Lloh46:
	adrp	x9, _command_prot@GOTPAGE
Lloh47:
	ldr	x9, [x9, _command_prot@GOTPAGEOFF]
Lloh48:
	str	x8, [x9]
Lloh49:
	adrp	x9, _request_data_prot@GOTPAGE
Lloh50:
	ldr	x9, [x9, _request_data_prot@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
	str	w23, [x22]
	mov	w0, #-1
	b	LBB0_25
LBB0_22:
Lloh51:
	adrp	x8, _prot_safe@GOTPAGE
Lloh52:
	ldr	x8, [x8, _prot_safe@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
Lloh54:
	adrp	x9, _command_prot@GOTPAGE
Lloh55:
	ldr	x9, [x9, _command_prot@GOTPAGEOFF]
LBB0_23:
	str	x8, [x9]
LBB0_24:
	str	w23, [x22]
	ldr	x8, [x24]
	cmp	x8, #0
	cset	w0, eq
LBB0_25:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_mechs,8,3                      ; @mechs
	.comm	_app_data,8,3                   ; @app_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"realloc %lu failed"

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

l_.str.2:                               ; @.str.2
	.asciz	"Trying %s...\n"

l_.str.3:                               ; @.str.3
	.asciz	"AUTH %s"

	.comm	_CONTINUE,4,2                   ; @CONTINUE
	.comm	_code,4,2                       ; @code
l_.str.4:                               ; @.str.4
	.asciz	"%s is not supported by the server.\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s rejected as security mechanism.\n"

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_AUTH_CONTINUE,4,2              ; @AUTH_CONTINUE
	.comm	_AUTH_OK,4,2                    ; @AUTH_OK
	.comm	_mech,8,3                       ; @mech
	.comm	_sec_complete,4,2               ; @sec_complete
	.comm	_doencrypt,8,3                  ; @doencrypt
	.comm	_prot_private,8,3               ; @prot_private
	.comm	_command_prot,8,3               ; @command_prot
	.comm	_request_data_prot,8,3          ; @request_data_prot
	.comm	_prot_safe,8,3                  ; @prot_safe
l_str:                                  ; @str
	.asciz	"The server doesn't support the FTP security extensions."

.subsections_via_symbols
