	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_get_bignum2             ## -- Begin function sshbuf_get_bignum2
	.p2align	4, 0x90
_sshbuf_get_bignum2:                    ## @sshbuf_get_bignum2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	leaq	-24(%rbp), %rsi
	leaq	-16(%rbp), %rdx
	callq	_sshbuf_get_bignum2_bytes_direct
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	-24(%rbp), %rdi
	movq	-16(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_BN_bin2bn
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.4:
	movq	_SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.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_get_bignum2             ; -- Begin function sshbuf_get_bignum2
	.p2align	2
_sshbuf_get_bignum2:                    ; @sshbuf_get_bignum2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	add	x1, sp, #8
	mov	x2, sp
	bl	_sshbuf_get_bignum2_bytes_direct
	cbnz	w0, LBB0_4
; %bb.1:
	cbz	x19, LBB0_3
; %bb.2:
	ldp	x1, x0, [sp]
	mov	x2, x19
	bl	_BN_bin2bn
Lloh0:
	adrp	x8, _SSH_ERR_ALLOC_FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSH_ERR_ALLOC_FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH_ERR_ALLOC_FAIL,4,2         ; @SSH_ERR_ALLOC_FAIL
.subsections_via_symbols
