	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssh_packet_read_poll_seqnr     ## -- Begin function ssh_packet_read_poll_seqnr
	.p2align	4, 0x90
_ssh_packet_read_poll_seqnr:            ## @ssh_packet_read_poll_seqnr
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	$0, -48(%rbp)
	callq	_ssh_packet_read_poll2
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_1
LBB0_22:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_debug3
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, -48(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ssh_packet_read_poll2
	testl	%eax, %eax
	jne	LBB0_21
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 8(%r12)
	xorl	%r13d, %r13d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	movl	%eax, %edi
	callq	_DBG
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	-64(%rbp), %rsi
	callq	_sshpkt_get_u32
	testl	%eax, %eax
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_sshpkt_get_u8
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sshpkt_get_string
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_sshpkt_get_string
	testl	%eax, %eax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_20
LBB0_21:
	movl	%eax, %r13d
	jmp	LBB0_22
LBB0_2:
	xorl	%r13d, %r13d
	jmp	LBB0_22
LBB0_9:
	movl	%eax, %r13d
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_22
LBB0_11:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_sshpkt_get_u32
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.12:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_sshpkt_get_string
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.13:
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.14:
	movq	-56(%rbp), %rax
	movq	_SSH2_DISCONNECT_BY_APPLICATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
LBB0_16:
	movq	_SYSLOG_LEVEL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_SYSLOG_LEVEL_INFO@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %r14d
	movq	%r15, %rdi
	callq	_ssh_remote_ipaddr
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_ssh_remote_port
	movq	-56(%rbp), %r8
	movq	-48(%rbp), %r9
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_do_log2
	movq	-48(%rbp), %rdi
	callq	_free
	movq	_SSH_ERR_DISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_22
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received packet type %d"

L_.str.1:                               ## @.str.1
	.asciz	"Received SSH2_MSG_IGNORE"

L_.str.2:                               ## @.str.2
	.asciz	"Remote: %.900s"

	.comm	_SSH2_DISCONNECT_BY_APPLICATION,8,3 ## @SSH2_DISCONNECT_BY_APPLICATION
	.comm	_SYSLOG_LEVEL_INFO,4,2          ## @SYSLOG_LEVEL_INFO
	.comm	_SYSLOG_LEVEL_ERROR,4,2         ## @SYSLOG_LEVEL_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"Received disconnect from %s port %d:%u: %.400s"

	.comm	_SSH_ERR_DISCONNECTED,4,2       ## @SSH_ERR_DISCONNECTED
L_.str.4:                               ## @.str.4
	.asciz	"Received SSH2_MSG_UNIMPLEMENTED for %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssh_packet_read_poll_seqnr     ; -- Begin function ssh_packet_read_poll_seqnr
	.p2align	2
_ssh_packet_read_poll_seqnr:            ; @ssh_packet_read_poll_seqnr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x27, [x0]
	str	xzr, [sp, #8]
	bl	_ssh_packet_read_poll2
	mov	x26, x0
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x28, lJTI0_0@PAGE
Lloh3:
	add	x28, x28, lJTI0_0@PAGEOFF
Lloh4:
	adrp	x23, l_.str.4@PAGE
Lloh5:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh8:
	adrp	x25, l_.str.2@PAGE
Lloh9:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_debug3
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ssh_packet_read_poll2
	cbnz	w0, LBB0_15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cbz	w8, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x27, #8]
	str	x8, [sp]
	mov	x0, x22
	bl	_debug
	bl	_DBG
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #16
	mov	x0, x19
	bl	_sshpkt_get_u32
	cbnz	w0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #16]
	str	x8, [sp]
	mov	x0, x23
	bl	_debug
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_sshpkt_get_u8
	cbnz	w0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_sshpkt_get_string
	cbnz	w0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	bl	_sshpkt_get_string
	cbnz	w0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	str	x8, [sp]
	mov	x0, x25
	bl	_debug
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_4
LBB0_14:
	mov	w26, #0
	b	LBB0_1
LBB0_15:
	mov	x26, x0
	b	LBB0_1
LBB0_16:
	mov	x26, x0
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_1
LBB0_17:
	add	x1, sp, #24
	mov	x0, x19
	bl	_sshpkt_get_u32
	mov	x26, x0
	cbnz	w0, LBB0_1
; %bb.18:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_sshpkt_get_string
	mov	x26, x0
	cbnz	w0, LBB0_1
; %bb.19:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.20:
	ldr	x8, [sp, #24]
Lloh10:
	adrp	x9, _SSH2_DISCONNECT_BY_APPLICATION@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SSH2_DISCONNECT_BY_APPLICATION@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_22
LBB0_21:
Lloh13:
	adrp	x8, _SYSLOG_LEVEL_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SYSLOG_LEVEL_ERROR@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh15:
	adrp	x8, _SYSLOG_LEVEL_INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SYSLOG_LEVEL_INFO@GOTPAGEOFF]
LBB0_23:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_ssh_remote_ipaddr
	mov	x21, x0
	mov	x0, x19
	bl	_ssh_remote_port
	mov	x3, x0
	ldr	x4, [sp, #24]
	ldr	x5, [sp, #8]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_do_log2
	ldr	x0, [sp, #8]
	bl	_free
Lloh19:
	adrp	x8, _SSH_ERR_DISCONNECTED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SSH_ERR_DISCONNECTED@GOTPAGEOFF]
Lloh21:
	ldr	w26, [x8]
	b	LBB0_1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received packet type %d"

l_.str.1:                               ; @.str.1
	.asciz	"Received SSH2_MSG_IGNORE"

l_.str.2:                               ; @.str.2
	.asciz	"Remote: %.900s"

	.comm	_SSH2_DISCONNECT_BY_APPLICATION,8,3 ; @SSH2_DISCONNECT_BY_APPLICATION
	.comm	_SYSLOG_LEVEL_INFO,4,2          ; @SYSLOG_LEVEL_INFO
	.comm	_SYSLOG_LEVEL_ERROR,4,2         ; @SYSLOG_LEVEL_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"Received disconnect from %s port %d:%u: %.400s"

	.comm	_SSH_ERR_DISCONNECTED,4,2       ; @SSH_ERR_DISCONNECTED
l_.str.4:                               ; @.str.4
	.asciz	"Received SSH2_MSG_UNIMPLEMENTED for %u"

.subsections_via_symbols
