	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_input
_process_input:                         ## @process_input
	.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	$16392, %eax                    ## imm = 0x4008
	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
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edx, %edi
	callq	_FD_ISSET
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	leaq	-16432(%rbp), %rsi
	movl	%ebx, %edi
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_read
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	js	LBB0_4
## %bb.8:
	leaq	-16432(%rbp), %rdi
	movl	%eax, %esi
	callq	_packet_process_incoming
	jmp	LBB0_9
LBB0_2:
	movq	%r14, %rdi
	callq	_ssh_remote_ipaddr
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ssh_remote_port
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_verbose
	movl	$-1, %r15d
	jmp	LBB0_9
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.5:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.6:
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.7:
	movq	%r14, %rdi
	callq	_ssh_remote_ipaddr
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_ssh_remote_port
	movl	%eax, %ebx
	movq	(%r13), %rdi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_verbose
	movl	$255, %edi
	callq	_cleanup_exit
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r15d, %eax
	addq	$16392, %rsp                    ## imm = 0x4008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Connection closed by %.100s port %d"

	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
L_.str.1:                               ## @.str.1
	.asciz	"Read error from remote host %.100s port %d: %.100s"

	.no_dead_strip	_process_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_input
_process_input:                         ; @process_input
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	w9, #16400
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #4, lsl #12             ; =16384
	sub	sp, sp, #16
	mov	x20, x2
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	x0, x2
	bl	_FD_ISSET
	cbz	x0, LBB0_8
; %bb.1:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #16384
	bl	_read
	cbz	w0, LBB0_4
; %bb.2:
	mov	x1, x0
	tbnz	w0, #31, LBB0_5
; %bb.3:
	add	x0, sp, #8
	bl	_packet_process_incoming
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_ssh_remote_ipaddr
	mov	x20, x0
	mov	x0, x19
	bl	_ssh_remote_port
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_verbose
	mov	w0, #-1
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x21, _errno@GOTPAGE
Lloh8:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _EINTR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EINTR@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
Lloh15:
	adrp	x11, _EWOULDBLOCK@GOTPAGE
Lloh16:
	ldr	x11, [x11, _EWOULDBLOCK@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_ssh_remote_ipaddr
	mov	x20, x0
	mov	x0, x19
	bl	_ssh_remote_port
	mov	x19, x0
	ldr	x0, [x21]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_verbose
	mov	w0, #255
	bl	_cleanup_exit
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	add	sp, sp, #4, lsl #12             ; =16384
	add	sp, sp, #16
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Connection closed by %.100s port %d"

	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
l_.str.1:                               ; @.str.1
	.asciz	"Read error from remote host %.100s port %d: %.100s"

	.no_dead_strip	_process_input
.subsections_via_symbols
