	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dataconn                       ## -- Begin function dataconn
	.p2align	4, 0x90
_dataconn:                              ## @dataconn
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$4, -28(%rbp)
	movq	_passivemode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_data@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	jne	LBB0_7
## %bb.1:
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movl	%eax, %edi
	callq	_accept
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_closesocket
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_WSAGetLastError
	movq	_stdout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_fprintf
	movl	(%r15), %edi
	callq	_fflush
LBB0_5:
	movl	%ebx, %eax
LBB0_6:
	movl	%ebx, (%r14)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	_dataconn.cold.1
	xorl	%eax, %eax
	movl	$-1, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function dataconn.cold.1
_dataconn.cold.1:                       ## @dataconn.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movq	_data@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_closesocket
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_passivemode,8,3                ## @passivemode
	.comm	_data,4,2                       ## @data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ftp: accept"

	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	"Error closing socket(%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dataconn                       ; -- Begin function dataconn
	.p2align	2
_dataconn:                              ; @dataconn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	w8, #4
	str	w8, [sp, #4]
Lloh0:
	adrp	x8, _passivemode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _passivemode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _data@GOTPAGE
Lloh4:
	ldr	x20, [x20, _data@GOTPAGEOFF]
	ldr	w0, [x20]
	cbnz	x8, LBB0_6
; %bb.1:
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_accept
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x19, x0
	ldr	w0, [x20]
	bl	_closesocket
	cbz	x0, LBB0_4
; %bb.3:
	bl	_WSAGetLastError
	mov	x2, x0
Lloh5:
	adrp	x21, _stdout@GOTPAGE
Lloh6:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w0, [x21]
	bl	_fflush
LBB0_4:
	mov	x0, x19
LBB0_5:
	str	w19, [x20]
LBB0_6:
	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
	add	sp, sp, #64
	ret
LBB0_7:
	bl	_dataconn.cold.1
	mov	w0, #0
	mov	w19, #-1
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function dataconn.cold.1
_dataconn.cold.1:                       ; @dataconn.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
Lloh11:
	adrp	x8, _data@GOTPAGE
Lloh12:
	ldr	x8, [x8, _data@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_closesocket
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_passivemode,8,3                ; @passivemode
	.comm	_data,4,2                       ; @data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ftp: accept"

	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	"Error closing socket(%d)\n"

.subsections_via_symbols
