	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function client_input_channel_open
_client_input_channel_open:             ## @client_input_channel_open
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	leaq	-48(%rbp), %rdi
	callq	_packet_get_string
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_packet_get_int
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_packet_get_int
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_packet_get_int
	movq	%rax, %r12
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_debug
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.7:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_client_request_agent
	jmp	LBB0_8
LBB0_1:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_client_request_forwarded_tcpip
	jmp	LBB0_8
LBB0_3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_client_request_forwarded_streamlocal
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_client_request_x11
LBB0_8:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	(%rbx), %rax
	movq	_SSH_CHANNEL_MUX_CLIENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %rsi
	callq	_debug3
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str.7(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_debug
	movq	_SSH2_MSG_CHANNEL_OPEN_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_packet_start
	movl	%r14d, %edi
	callq	_packet_put_int
	movq	_SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_packet_put_int
	leaq	L_.str.8(%rip), %rdi
	callq	_packet_put_cstring
	leaq	L_.str.9(%rip), %rdi
	callq	_packet_put_cstring
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.6(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_debug
	movl	%r14d, 8(%rbx)
	movl	$1, 12(%rbx)
	movq	%r15, 40(%rbx)
	movq	%r12, 32(%rbx)
	movq	(%rbx), %rax
	movq	_SSH_CHANNEL_CONNECTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.12:
	movq	_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_packet_start
	movl	8(%rbx), %edi
	callq	_packet_put_int
	movl	16(%rbx), %edi
	callq	_packet_put_int
	movl	20(%rbx), %edi
	callq	_packet_put_int
	movl	24(%rbx), %edi
	callq	_packet_put_int
LBB0_14:
	xorl	%eax, %eax
	callq	_packet_send
LBB0_15:
	movq	%r13, %rdi
	callq	_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"client_input_channel_open: ctype %s rchan %d win %d max %d"

L_.str.1:                               ## @.str.1
	.asciz	"forwarded-tcpip"

L_.str.2:                               ## @.str.2
	.asciz	"forwarded-streamlocal@openssh.com"

L_.str.3:                               ## @.str.3
	.asciz	"x11"

L_.str.4:                               ## @.str.4
	.asciz	"auth-agent@openssh.com"

	.comm	_SSH_CHANNEL_MUX_CLIENT,8,3     ## @SSH_CHANNEL_MUX_CLIENT
L_.str.5:                               ## @.str.5
	.asciz	"proxied to downstream: %s"

L_.str.6:                               ## @.str.6
	.asciz	"confirm %s"

	.comm	_SSH_CHANNEL_CONNECTING,8,3     ## @SSH_CHANNEL_CONNECTING
	.comm	_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION,4,2 ## @SSH2_MSG_CHANNEL_OPEN_CONFIRMATION
L_.str.7:                               ## @.str.7
	.asciz	"failure %s"

	.comm	_SSH2_MSG_CHANNEL_OPEN_FAILURE,4,2 ## @SSH2_MSG_CHANNEL_OPEN_FAILURE
	.comm	_SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED,4,2 ## @SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED
L_.str.8:                               ## @.str.8
	.asciz	"open failed"

L_.str.9:                               ## @.str.9
	.space	1

	.no_dead_strip	_client_input_channel_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function client_input_channel_open
_client_input_channel_open:             ; @client_input_channel_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x23, x2
	add	x0, sp, #24
	bl	_packet_get_string
	mov	x19, x0
	bl	_packet_get_int
	mov	x20, x0
	bl	_packet_get_int
	mov	x21, x0
	bl	_packet_get_int
	mov	x22, x0
	stp	x21, x0, [sp, #8]
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_debug
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.3:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_12
; %bb.4:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x20
	bl	_client_request_agent
	mov	x23, x0
	cbnz	x0, LBB0_7
	b	LBB0_12
LBB0_5:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_client_request_forwarded_tcpip
	mov	x23, x0
	cbnz	x0, LBB0_7
	b	LBB0_12
LBB0_6:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x20
	bl	_client_request_forwarded_streamlocal
	mov	x23, x0
	cbz	x0, LBB0_12
LBB0_7:
	ldr	x8, [x23]
Lloh10:
	adrp	x9, _SSH_CHANNEL_MUX_CLIENT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SSH_CHANNEL_MUX_CLIENT@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_debug3
	b	LBB0_14
LBB0_9:
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_debug
	mov	w8, #1
	stp	w20, w8, [x23, #8]
	stp	x22, x21, [x23, #32]
	ldr	x8, [x23]
Lloh17:
	adrp	x9, _SSH_CHANNEL_CONNECTING@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SSH_CHANNEL_CONNECTING@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.10:
Lloh20:
	adrp	x8, _SSH2_MSG_CHANNEL_OPEN_CONFIRMATION@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SSH2_MSG_CHANNEL_OPEN_CONFIRMATION@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_packet_start
	ldr	w0, [x23, #8]
	bl	_packet_put_int
	ldr	w0, [x23, #16]
	bl	_packet_put_int
	ldr	w0, [x23, #20]
	bl	_packet_put_int
	ldr	w0, [x23, #24]
	bl	_packet_put_int
	b	LBB0_13
LBB0_11:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x20
	bl	_client_request_x11
	mov	x23, x0
	cbnz	x0, LBB0_7
LBB0_12:
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_debug
Lloh25:
	adrp	x8, _SSH2_MSG_CHANNEL_OPEN_FAILURE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SSH2_MSG_CHANNEL_OPEN_FAILURE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_packet_start
	mov	x0, x20
	bl	_packet_put_int
Lloh28:
	adrp	x8, _SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_packet_put_int
Lloh31:
	adrp	x0, l_.str.8@PAGE
Lloh32:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_packet_put_cstring
Lloh33:
	adrp	x0, l_.str.9@PAGE
Lloh34:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_packet_put_cstring
LBB0_13:
	bl	_packet_send
LBB0_14:
	mov	x0, x19
	bl	_free
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"client_input_channel_open: ctype %s rchan %d win %d max %d"

l_.str.1:                               ; @.str.1
	.asciz	"forwarded-tcpip"

l_.str.2:                               ; @.str.2
	.asciz	"forwarded-streamlocal@openssh.com"

l_.str.3:                               ; @.str.3
	.asciz	"x11"

l_.str.4:                               ; @.str.4
	.asciz	"auth-agent@openssh.com"

	.comm	_SSH_CHANNEL_MUX_CLIENT,8,3     ; @SSH_CHANNEL_MUX_CLIENT
l_.str.5:                               ; @.str.5
	.asciz	"proxied to downstream: %s"

l_.str.6:                               ; @.str.6
	.asciz	"confirm %s"

	.comm	_SSH_CHANNEL_CONNECTING,8,3     ; @SSH_CHANNEL_CONNECTING
	.comm	_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION,4,2 ; @SSH2_MSG_CHANNEL_OPEN_CONFIRMATION
l_.str.7:                               ; @.str.7
	.asciz	"failure %s"

	.comm	_SSH2_MSG_CHANNEL_OPEN_FAILURE,4,2 ; @SSH2_MSG_CHANNEL_OPEN_FAILURE
	.comm	_SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED,4,2 ; @SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED
l_.str.8:                               ; @.str.8
	.asciz	"open failed"

l_.str.9:                               ; @.str.9
	.space	1

	.no_dead_strip	_client_input_channel_open
.subsections_via_symbols
