	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_from                    ## -- Begin function sshbuf_from
	.p2align	4, 0x90
_sshbuf_from:                           ## @sshbuf_from
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	_SSHBUF_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	jb	LBB0_5
## %bb.2:
	movq	%rdi, %r14
	movl	$56, %edi
	movl	$1, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, 16(%rax)
	movq	%rbx, 8(%rax)
	movq	%rbx, (%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, 24(%rax)
	movq	$0, 48(%rax)
	movq	%r14, 40(%rax)
	movq	$0, 32(%rax)
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSHBUF_SIZE_MAX,8,3            ## @SSHBUF_SIZE_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_from                    ; -- Begin function sshbuf_from
	.p2align	2
_sshbuf_from:                           ; @sshbuf_from
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, #0
	cbz	x19, LBB0_4
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, _SSHBUF_SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSHBUF_SIZE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.lo	LBB0_4
; %bb.2:
	mov	w0, #56
	mov	w1, #1
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.3:
	stp	x20, x20, [x0, #8]
	str	x20, [x0]
	movi.2s	v0, #1
	str	d0, [x0, #24]
	stp	x19, xzr, [x0, #40]
	str	xzr, [x0, #32]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSHBUF_SIZE_MAX,8,3            ; @SSHBUF_SIZE_MAX
.subsections_via_symbols
