	.file	"extr_open.c_FTPRebuildConnectionInfo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"w"
	.text
	.p2align 4
	.globl	FTPRebuildConnectionInfo
	.type	FTPRebuildConnectionInfo, @function
FTPRebuildConnectionInfo:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edx, 4
	mov	rbx, rsi
	mov	DWORD PTR 184[rsi], edi
	lea	rdi, 68[rsi]
	mov	QWORD PTR 176[rsi], 0
	mov	QWORD PTR 168[rsi], 0
	mov	QWORD PTR 160[rsi], 0
	mov	QWORD PTR 152[rsi], 0
	mov	QWORD PTR [rsi], 0
	mov	QWORD PTR 32[rsi], 0
	mov	QWORD PTR 56[rsi], 0
	mov	DWORD PTR 8[rsi], 0
	mov	QWORD PTR 144[rsi], 0
	mov	QWORD PTR 136[rsi], 0
	mov	QWORD PTR 128[rsi], 0
	mov	QWORD PTR 120[rsi], 0
	mov	QWORD PTR 112[rsi], 0
	mov	QWORD PTR 104[rsi], 0
	mov	QWORD PTR 96[rsi], 0
	mov	QWORD PTR 88[rsi], 0
	mov	QWORD PTR 80[rsi], 0
	mov	QWORD PTR 72[rsi], 0
	xor	esi, esi
	call	memset@PLT
	mov	esi, DWORD PTR 64[rbx]
	mov	edi, 1
	call	calloc@PLT
	test	rax, rax
	jne	.L2
	mov	eax, DWORD PTR kErrMallocFailed[rip]
	mov	DWORD PTR 8[rbx], eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	QWORD PTR [rbx], rax
	mov	rdi, QWORD PTR 24[rbx]
	lea	rsi, .LC0[rip]
	call	_fdopen@PLT
	mov	QWORD PTR 32[rbx], rax
	test	rax, rax
	je	.L8
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC1[rip]
	call	_fdopen@PLT
	mov	rdx, rax
	mov	QWORD PTR 56[rbx], rax
	mov	eax, DWORD PTR kNoErr[rip]
	test	rdx, rdx
	jne	.L1
	lea	rdi, 32[rbx]
	call	CloseFile@PLT
	mov	eax, DWORD PTR kErrFdopenW[rip]
	mov	rdx, QWORD PTR kClosedFileDescriptor[rip]
	mov	DWORD PTR 8[rbx], eax
	mov	QWORD PTR 24[rbx], rdx
	mov	QWORD PTR 16[rbx], rdx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR kErrFdopenR[rip]
	mov	rdx, QWORD PTR kClosedFileDescriptor[rip]
	mov	DWORD PTR 8[rbx], eax
	mov	QWORD PTR 24[rbx], rdx
	mov	QWORD PTR 16[rbx], rdx
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	FTPRebuildConnectionInfo, .-FTPRebuildConnectionInfo
	.comm	kNoErr,4,4
	.comm	kErrMallocFailed,4,4
	.comm	kErrFdopenW,4,4
	.comm	kErrFdopenR,4,4
	.comm	kClosedFileDescriptor,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_open.c_FTPRebuildConnectionInfo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.text
	.align	2
	.global	FTPRebuildConnectionInfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	FTPRebuildConnectionInfo, %function
FTPRebuildConnectionInfo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, lr}
	str	r0, [r1, #100]
	str	r3, [r1, #96]
	str	r3, [r1, #92]
	str	r3, [r1, #88]
	str	r3, [r1, #84]
	str	r3, [r1]
	str	r3, [r1, #16]
	str	r3, [r1, #32]
	str	r3, [r1, #4]
	str	r3, [r1, #80]
	str	r3, [r1, #76]
	str	r3, [r1, #72]
	str	r3, [r1, #68]
	str	r3, [r1, #64]
	str	r3, [r1, #60]
	str	r3, [r1, #56]
	str	r3, [r1, #52]
	str	r3, [r1, #48]
	str	r3, [r1, #44]
	strb	r3, [r1, #40]
	strb	r3, [r1, #41]
	strb	r3, [r1, #42]
	strb	r3, [r1, #43]
	mov	r4, r1
	mov	r0, #1
	ldr	r1, [r1, #36]
	bl	calloc
	cmp	r0, #0
	beq	.L9
	str	r0, [r4]
	ldr	r1, .L11
	ldr	r0, [r4, #12]
	bl	_fdopen
	cmp	r0, #0
	ldreq	r2, .L11+4
	str	r0, [r4, #16]
	beq	.L7
	ldr	r1, .L11+8
	ldr	r0, [r4, #8]
	bl	_fdopen
	cmp	r0, #0
	str	r0, [r4, #32]
	beq	.L10
	ldr	r3, .L11+12
	ldr	r0, [r3]
	pop	{r4, pc}
.L10:
	add	r0, r4, #16
	bl	CloseFile
	ldr	r2, .L11+16
.L7:
	ldr	r3, .L11+20
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r0, [r4, #4]
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	pop	{r4, pc}
.L9:
	ldr	r3, .L11+24
	ldr	r0, [r3]
	str	r0, [r4, #4]
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	kErrFdopenR
	.word	.LC1
	.word	kNoErr
	.word	kErrFdopenW
	.word	kClosedFileDescriptor
	.word	kErrMallocFailed
	.size	FTPRebuildConnectionInfo, .-FTPRebuildConnectionInfo
	.comm	kNoErr,4,4
	.comm	kErrMallocFailed,4,4
	.comm	kErrFdopenW,4,4
	.comm	kErrFdopenR,4,4
	.comm	kClosedFileDescriptor,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
