	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_IAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%ecx, %r9d
	callq	_snprintf
	movq	_cout@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_fileno
	movq	_MSG_OOB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_send
	cmpl	$3, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_2:
	movq	(%rbx), %rsi
	movq	_DM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fputc
	movq	(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_sec_fprintf
	movq	(%rbx), %rdi
	callq	_sec_fflush
	movq	(%rbx), %rcx
	leaq	L_.str.4(%rip), %rdi
	movl	$2, %esi
	movl	$1, %edx
	callq	_fwrite
	movq	(%rbx), %rdi
	callq	_fflush
	leaq	-52(%rbp), %rdi
	callq	_FD_ZERO
	movq	_cin@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_fileno
	movq	_FD_SETSIZE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jl	LBB0_4
## %bb.3:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_4:
	movq	(%rbx), %rdi
	callq	_fileno
	leaq	-52(%rbp), %rsi
	movl	%eax, %edi
	callq	_FD_SET
	testq	%r15, %r15
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	_fileno
	cmpl	(%r13), %eax
	jl	LBB0_7
## %bb.6:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_7:
	movq	%r15, %rdi
	callq	_fileno
	leaq	-52(%rbp), %rsi
	movl	%eax, %edi
	callq	_FD_SET
LBB0_8:
	leaq	-52(%rbp), %rdi
	movl	$10, %esi
	callq	_empty
	testl	%eax, %eax
	jg	LBB0_14
## %bb.9:
	jns	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_11:
	movq	_ptabflg@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_13:
	xorl	%edi, %edi
	callq	_lostpeer
LBB0_14:
	testq	%r15, %r15
	je	LBB0_17
## %bb.15:
	movq	%r15, %rdi
	callq	_fileno
	leaq	-52(%rbp), %rsi
	movl	%eax, %edi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_fileno
	movl	(%r12), %edx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_read
	testq	%rax, %rax
	jg	LBB0_16
LBB0_17:
	xorl	%edi, %edi
	callq	_getreply
	movq	_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.18:
	movq	_code@GOTPCREL(%rip), %rax
	cmpl	$552, (%rax)                    ## imm = 0x228
	jne	LBB0_20
## %bb.19:
	xorl	%edi, %edi
	callq	_getreply
LBB0_20:
	xorl	%edi, %edi
	callq	_getreply
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%c%c%c"

	.comm	_IAC,4,2                        ## @IAC
	.comm	_IP,4,2                         ## @IP
	.comm	_cout,8,3                       ## @cout
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
L_.str.1:                               ## @.str.1
	.asciz	"abort"

	.comm	_DM,4,2                         ## @DM
L_.str.3:                               ## @.str.3
	.asciz	"ABOR"

L_.str.4:                               ## @.str.4
	.asciz	"\r\n"

	.comm	_cin,8,3                        ## @cin
	.comm	_FD_SETSIZE,4,2                 ## @FD_SETSIZE
L_.str.5:                               ## @.str.5
	.asciz	"fd too large"

	.comm	_ptabflg,8,3                    ## @ptabflg
	.comm	_code,4,2                       ## @code
	.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	x21, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BUFSIZ@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x9, x1
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh7:
	adrp	x8, _IAC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IAC@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x8, _IP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IP@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x5, x3
	bl	_snprintf
Lloh15:
	adrp	x22, _cout@GOTPAGE
Lloh16:
	ldr	x22, [x22, _cout@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_fileno
Lloh17:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x1, x20
	mov	w2, #3
	bl	_send
	cmp	w0, #3
	b.eq	LBB0_2
; %bb.1:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_2:
	ldr	x1, [x22]
Lloh22:
	adrp	x8, _DM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DM@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_fputc
	ldr	x0, [x22]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sec_fprintf
	ldr	x0, [x22]
	bl	_sec_fflush
	ldr	x3, [x22]
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	bl	_fwrite
	ldr	x0, [x22]
	bl	_fflush
	sub	x0, x29, #60
	bl	_FD_ZERO
Lloh29:
	adrp	x23, _cin@GOTPAGE
Lloh30:
	ldr	x23, [x23, _cin@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_fileno
Lloh31:
	adrp	x22, _FD_SETSIZE@GOTPAGE
Lloh32:
	ldr	x22, [x22, _FD_SETSIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.lt	LBB0_4
; %bb.3:
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
	ldr	x0, [x23]
	bl	_fileno
	sub	x1, x29, #60
	bl	_FD_SET
	cbz	x19, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_fileno
	ldr	w8, [x22]
	cmp	w0, w8
	b.lt	LBB0_7
; %bb.6:
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_7:
	mov	x0, x19
	bl	_fileno
	sub	x1, x29, #60
	bl	_FD_SET
LBB0_8:
	sub	x0, x29, #60
	mov	w1, #10
	bl	_empty
Lloh37:
	adrp	x22, _code@GOTPAGE
Lloh38:
	ldr	x22, [x22, _code@GOTPAGEOFF]
	cmp	w0, #0
	b.gt	LBB0_14
; %bb.9:
	tbz	w0, #31, LBB0_11
; %bb.10:
Lloh39:
	adrp	x0, l_.str.1@PAGE
Lloh40:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_11:
Lloh41:
	adrp	x8, _ptabflg@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ptabflg@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.12:
	mov	w8, #-1
	str	w8, [x22]
LBB0_13:
	mov	w0, #0
	bl	_lostpeer
LBB0_14:
	cbz	x19, LBB0_17
; %bb.15:
	mov	x0, x19
	bl	_fileno
	sub	x1, x29, #60
	bl	_FD_ISSET
	cbz	x0, LBB0_17
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_fileno
	ldr	w2, [x21]
	mov	x1, x20
	bl	_read
	cmp	x0, #0
	b.gt	LBB0_16
LBB0_17:
	mov	w0, #0
	bl	_getreply
Lloh44:
	adrp	x8, _ERROR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.18:
	ldr	w8, [x22]
	cmp	w8, #552
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #0
	bl	_getreply
LBB0_20:
	mov	w0, #0
	bl	_getreply
	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_22
; %bb.21:
	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_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%c%c%c"

	.comm	_IAC,4,2                        ; @IAC
	.comm	_IP,4,2                         ; @IP
	.comm	_cout,8,3                       ; @cout
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
l_.str.1:                               ; @.str.1
	.asciz	"abort"

	.comm	_DM,4,2                         ; @DM
l_.str.3:                               ; @.str.3
	.asciz	"ABOR"

l_.str.4:                               ; @.str.4
	.asciz	"\r\n"

	.comm	_cin,8,3                        ; @cin
	.comm	_FD_SETSIZE,4,2                 ; @FD_SETSIZE
l_.str.5:                               ; @.str.5
	.asciz	"fd too large"

	.comm	_ptabflg,8,3                    ; @ptabflg
	.comm	_code,4,2                       ; @code
	.comm	_ERROR,8,3                      ; @ERROR
.subsections_via_symbols
