	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_preamble
_open_preamble:                         ## @open_preamble
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_SSH2_MSG_CHANNEL_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sshpkt_start
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_sshpkt_put_cstring
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_sshpkt_put_u32
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_sshpkt_put_u32
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_sshpkt_put_u32
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movl	(%r15), %ebx
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fatal                          ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH2_MSG_CHANNEL_OPEN,4,2      ## @SSH2_MSG_CHANNEL_OPEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: channel %i: open: %s"

	.no_dead_strip	_open_preamble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_preamble
_open_preamble:                         ; @open_preamble
	.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	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _SSH2_MSG_CHANNEL_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSH2_MSG_CHANNEL_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_sshpkt_start
	cbnz	w0, LBB0_5
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_sshpkt_put_cstring
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_sshpkt_put_u32
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_sshpkt_put_u32
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w1, [x20, #4]
	mov	x0, x21
	bl	_sshpkt_put_u32
	cbz	w0, LBB0_6
LBB0_5:
	ldr	w20, [x20]
	bl	_ssh_err
	mov	x3, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	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
	b	_fatal
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH2_MSG_CHANNEL_OPEN,4,2      ; @SSH2_MSG_CHANNEL_OPEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: channel %i: open: %s"

	.no_dead_strip	_open_preamble
.subsections_via_symbols
