	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_froms                   ## -- Begin function sshbuf_froms
	.p2align	4, 0x90
_sshbuf_froms:                          ## @sshbuf_froms
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.2:
	movq	%rdi, %r12
	movq	$0, (%r14)
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	callq	_sshbuf_peek_string_direct
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	-48(%rbp), %rdi
	movq	-40(%rbp), %rsi
	callq	_sshbuf_from
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r15
	movq	-40(%rbp), %rsi
	addq	$4, %rsi
	movq	%r12, %rdi
	callq	_sshbuf_consume
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_sshbuf_set_parent
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_11
LBB0_6:
	movq	%r15, %rdi
	callq	_sshbuf_free
	jmp	LBB0_9
LBB0_7:
	movq	_SSH_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	movq	%r15, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH_ERR_INVALID_ARGUMENT,4,2   ## @SSH_ERR_INVALID_ARGUMENT
	.comm	_SSH_ERR_ALLOC_FAIL,4,2         ## @SSH_ERR_ALLOC_FAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_froms                   ; -- Begin function sshbuf_froms
	.p2align	2
_sshbuf_froms:                          ; @sshbuf_froms
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x20, x0
	str	xzr, [x19]
	add	x1, sp, #8
	mov	x2, sp
	bl	_sshbuf_peek_string_direct
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.3:
	ldp	x1, x0, [sp]
	bl	_sshbuf_from
	cbz	x0, LBB0_10
; %bb.4:
	mov	x22, x0
	ldr	x8, [sp]
	add	x1, x8, #4
	mov	x0, x20
	bl	_sshbuf_consume
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x20
	bl	_sshbuf_set_parent
	mov	x21, x0
	cbz	w0, LBB0_11
LBB0_6:
	mov	x0, x22
	bl	_sshbuf_free
	b	LBB0_9
LBB0_7:
Lloh0:
	adrp	x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
LBB0_8:
	ldr	w21, [x8]
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
Lloh2:
	adrp	x8, _SSH_ERR_ALLOC_FAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSH_ERR_ALLOC_FAIL@GOTPAGEOFF]
	b	LBB0_8
LBB0_11:
	str	x22, [x19]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH_ERR_INVALID_ARGUMENT,4,2   ; @SSH_ERR_INVALID_ARGUMENT
	.comm	_SSH_ERR_ALLOC_FAIL,4,2         ; @SSH_ERR_ALLOC_FAIL
.subsections_via_symbols
