	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_abort_remote                   ## -- Begin function abort_remote
	.p2align	4, 0x90
_abort_remote:                          ## @abort_remote
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_cout@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.5:
	movq	_IAC@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rbx)
	movq	_IP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, 1(%rbx)
	movb	%al, 2(%rbx)
	callq	_fileno
	movq	_MSG_OOB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	$3, %edx
	callq	_send
	cmpl	$3, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_7:
	movq	(%r15), %rdi
	movq	_DM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_fprintf
	movq	(%r15), %rdi
	callq	_fflush
	movq	_cin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	$10, %edx
	callq	_empty
	movl	%eax, %r15d
	testl	%eax, %eax
	jg	LBB0_13
## %bb.8:
	jns	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_10:
	movq	_ptabflg@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_12:
	xorl	%edi, %edi
	callq	_lostpeer
LBB0_13:
	testq	%r14, %r14
	je	LBB0_16
## %bb.14:
	andl	$2, %r15d
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_fileno
	movl	(%r12), %edx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_read
	testq	%rax, %rax
	jg	LBB0_15
LBB0_16:
	xorl	%edi, %edi
	callq	_getreply
	movq	_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.17:
	movq	_code@GOTPCREL(%rip), %rax
	cmpl	$552, (%rax)                    ## imm = 0x228
	jne	LBB0_19
## %bb.18:
	xorl	%edi, %edi
	callq	_getreply
LBB0_19:
	xorl	%edi, %edi
	callq	_getreply
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movq	_ptabflg@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_21
## %bb.4:
	xorl	%edi, %edi
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lostpeer                       ## TAILCALL
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	_cout,8,3                       ## @cout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Lost control connection for abort"

	.comm	_ptabflg,8,3                    ## @ptabflg
	.comm	_code,4,2                       ## @code
	.comm	_IAC,1,0                        ## @IAC
	.comm	_IP,1,0                         ## @IP
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
L_.str.1:                               ## @.str.1
	.asciz	"Can't send abort message"

L_.str.2:                               ## @.str.2
	.asciz	"%cABOR\r\n"

	.comm	_DM,4,2                         ## @DM
	.comm	_cin,4,2                        ## @cin
	.comm	_ERROR,8,3                      ## @ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_abort_remote                   ; -- Begin function abort_remote
	.p2align	2
_abort_remote:                          ; @abort_remote
	.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]
Lloh3:
	adrp	x22, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x22, [x22, _BUFSIZ@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x21, _cout@GOTPAGE
Lloh8:
	ldr	x21, [x21, _cout@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	x0, LBB0_17
; %bb.1:
Lloh9:
	adrp	x8, _IAC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IAC@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x20]
Lloh11:
	adrp	x9, _IP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IP@GOTPAGEOFF]
	ldrb	w9, [x9]
	strb	w9, [x20, #1]
	strb	w8, [x20, #2]
	bl	_fileno
Lloh13:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x1, x20
	mov	w2, #3
	bl	_send
	cmp	w0, #3
	b.eq	LBB0_3
; %bb.2:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_3:
	ldr	x0, [x21]
Lloh18:
	adrp	x8, _DM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DM@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	x0, [x21]
	bl	_fflush
Lloh23:
	adrp	x8, _cin@GOTPAGE
Lloh24:
	ldr	x8, [x8, _cin@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x19
	mov	w2, #10
	bl	_empty
	mov	x21, x0
Lloh26:
	adrp	x23, _code@GOTPAGE
Lloh27:
	ldr	x23, [x23, _code@GOTPAGEOFF]
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.4:
	tbz	w21, #31, LBB0_6
; %bb.5:
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_6:
Lloh30:
	adrp	x8, _ptabflg@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ptabflg@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	w8, #-1
	str	w8, [x23]
LBB0_8:
	mov	w0, #0
	bl	_lostpeer
LBB0_9:
	cbz	x19, LBB0_12
; %bb.10:
	tbz	w21, #1, LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_fileno
	ldr	w2, [x22]
	mov	x1, x20
	bl	_read
	cmp	x0, #0
	b.gt	LBB0_11
LBB0_12:
	mov	w0, #0
	bl	_getreply
Lloh33:
	adrp	x8, _ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.13:
	ldr	w8, [x23]
	cmp	w8, #552
	b.ne	LBB0_15
; %bb.14:
	mov	w0, #0
	bl	_getreply
LBB0_15:
	mov	w0, #0
	bl	_getreply
	ldur	x8, [x29, #-56]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.16:
	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_17:
Lloh39:
	adrp	x0, l_.str@PAGE
Lloh40:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
Lloh41:
	adrp	x8, _ptabflg@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ptabflg@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.18:
Lloh44:
	adrp	x8, _code@GOTPAGE
Lloh45:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh46:
	str	w9, [x8]
LBB0_19:
	ldur	x8, [x29, #-56]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	w0, #0
	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
	b	_lostpeer
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	_cout,8,3                       ; @cout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Lost control connection for abort"

	.comm	_ptabflg,8,3                    ; @ptabflg
	.comm	_code,4,2                       ; @code
	.comm	_IAC,1,0                        ; @IAC
	.comm	_IP,1,0                         ; @IP
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
l_.str.1:                               ; @.str.1
	.asciz	"Can't send abort message"

l_.str.2:                               ; @.str.2
	.asciz	"%cABOR\r\n"

	.comm	_DM,4,2                         ; @DM
	.comm	_cin,4,2                        ; @cin
	.comm	_ERROR,8,3                      ; @ERROR
.subsections_via_symbols
