	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_mpi_read                   ## -- Begin function pgp_mpi_read
	.p2align	4, 0x90
_pgp_mpi_read:                          ## @pgp_mpi_read
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-40(%rbp), %rdx
	movl	$2, %esi
	callq	_pullf_read_fixed
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	-40(%rbp), %edi
	shll	$8, %edi
	addl	-36(%rbp), %edi
	leaq	-48(%rbp), %rsi
	callq	_pgp_mpi_alloc
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	movq	8(%rax), %rdx
	movq	%r15, %rdi
	callq	_pullf_read_fixed
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movq	%rdi, (%r14)
	jmp	LBB0_7
LBB0_5:
	movl	%eax, %ebx
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	_pgp_mpi_free
	jmp	LBB0_7
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_mpi_read                   ; -- Begin function pgp_mpi_read
	.p2align	2
_pgp_mpi_read:                          ; @pgp_mpi_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x2, sp, #16
	mov	w1, #2
	bl	_pullf_read_fixed
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldp	w8, w9, [sp, #16]
	add	w0, w9, w8, lsl #8
	add	x1, sp, #8
	bl	_pgp_mpi_alloc
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	ldr	x2, [x8, #8]
	mov	x0, x21
	bl	_pullf_read_fixed
	mov	x20, x0
	ldr	x0, [sp, #8]
	tbnz	w20, #31, LBB0_7
; %bb.3:
	str	x0, [x19]
	b	LBB0_5
LBB0_4:
	mov	x20, x0
LBB0_5:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	bl	_pgp_mpi_free
	b	LBB0_5
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
