	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_response                       ## -- Begin function response
	.p2align	4, 0x90
_response:                              ## @response
	.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
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_read@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_remin@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-4145(%rbp), %rdx
	movl	$1, %ecx
	callq	_atomicio
	cmpl	$1, %eax
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_lostconn
LBB0_2:
	movb	-4145(%rbp), %cl
	movsbl	%cl, %eax
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jae	LBB0_4
## %bb.3:
	leaq	-2096(%rbp), %rbx
	jmp	LBB0_6
LBB0_4:
	testl	%eax, %eax
	je	LBB0_14
## %bb.5:
	leaq	-2095(%rbp), %rbx
	movb	%cl, -2096(%rbp)
LBB0_6:
	leaq	-49(%rbp), %r13
	incq	%rbx
	leaq	-4146(%rbp), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	(%r15), %esi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_atomicio
	cmpl	$1, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	callq	_lostconn
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movzbl	-4146(%rbp), %ecx
	movb	%cl, -1(%rbx)
	leaq	1(%rbx), %rax
	cmpq	%r13, %rbx
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	cmpb	$10, %cl
	jne	LBB0_7
LBB0_11:
	movq	_iamremote@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_13
## %bb.12:
	movb	$0, -2(%rax)
	leaq	L_.str(%rip), %rcx
	leaq	-4144(%rbp), %r14
	leaq	-2096(%rbp), %r8
	movq	%r14, %rdi
	movl	$2048, %esi                     ## imm = 0x800
	xorl	%edx, %edx
	callq	_snmprintf
	movq	_vwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_atomicio
LBB0_13:
	movq	_errs@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$-1, %eax
	cmpb	$1, -4145(%rbp)
	jne	LBB0_16
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.15:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
LBB0_16:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_read,4,2                       ## @read
	.comm	_remin,4,2                      ## @remin
	.comm	_iamremote,4,2                  ## @iamremote
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_vwrite,4,2                     ## @vwrite
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
	.comm	_errs,4,2                       ## @errs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_response                       ; -- Begin function response
	.p2align	2
_response:                              ; @response
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh5:
	adrp	x19, _read@GOTPAGE
Lloh6:
	ldr	x19, [x19, _read@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh7:
	adrp	x20, _remin@GOTPAGE
Lloh8:
	ldr	x20, [x20, _remin@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #6
	mov	w3, #1
	bl	_atomicio
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_lostconn
LBB0_2:
	add	x8, sp, #2056
	ldrsb	w0, [sp, #6]
	sub	w10, w0, #1
	add	x9, sp, #2056
	cmp	w10, #2
	b.lo	LBB0_5
; %bb.3:
	cbz	w0, LBB0_14
; %bb.4:
	and	w10, w0, #0xff
	add	x9, sp, #2056
	add	x9, x9, #1
	strb	w10, [sp, #2056]
LBB0_5:
	add	x21, x8, #2047
	add	x22, x9, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	w1, [x20]
	add	x2, sp, #7
	mov	w3, #1
	bl	_atomicio
	cmp	w0, #1
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
	bl	_lostconn
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w9, [sp, #7]
	sturb	w9, [x22, #-1]
	add	x8, x22, #1
	cmp	x22, x21
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x8
	cmp	w9, #10
	b.ne	LBB0_6
LBB0_10:
Lloh9:
	adrp	x9, _iamremote@GOTPAGE
Lloh10:
	ldr	x9, [x9, _iamremote@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cbnz	w9, LBB0_12
; %bb.11:
	sturb	wzr, [x8, #-2]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	add	x0, sp, #8
	add	x4, sp, #2056
	mov	w1, #2048
	mov	x2, #0
	bl	_snmprintf
Lloh14:
	adrp	x8, _vwrite@GOTPAGE
Lloh15:
	ldr	x8, [x8, _vwrite@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
Lloh17:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	add	x0, sp, #8
	bl	_strlen
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_atomicio
LBB0_12:
Lloh20:
	adrp	x8, _errs@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errs@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldrb	w8, [sp, #6]
	cmp	w8, #1
	b.ne	LBB0_17
; %bb.13:
	mov	w0, #-1
LBB0_14:
	ldur	x8, [x29, #-56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
LBB0_17:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_read,4,2                       ; @read
	.comm	_remin,4,2                      ; @remin
	.comm	_iamremote,4,2                  ; @iamremote
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_vwrite,4,2                     ; @vwrite
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
	.comm	_errs,4,2                       ; @errs
.subsections_via_symbols
