	.file	"extr_cms_kari.c_CMS_RecipientInfo_kari_get0_orig_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	CMS_RecipientInfo_kari_get0_orig_id
	.type	CMS_RecipientInfo_kari_get0_orig_id, @function
CMS_RecipientInfo_kari_get0_orig_id:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR CMS_RECIPINFO_AGREE[rip]
	cmp	QWORD PTR [rdi], rax
	jne	.L49
	mov	rax, QWORD PTR 8[rdi]
	mov	r10, QWORD PTR [rax]
	test	r8, r8
	je	.L4
	mov	QWORD PTR [r8], 0
.L4:
	test	r9, r9
	je	.L5
	mov	QWORD PTR [r9], 0
.L5:
	test	rcx, rcx
	je	.L6
	mov	QWORD PTR [rcx], 0
.L6:
	test	rsi, rsi
	je	.L7
	mov	QWORD PTR [rsi], 0
.L7:
	test	rdx, rdx
	je	.L8
	mov	QWORD PTR [rdx], 0
.L8:
	mov	rdi, QWORD PTR [r10]
	cmp	rdi, QWORD PTR CMS_OIK_ISSUER_SERIAL[rip]
	je	.L50
	cmp	rdi, QWORD PTR CMS_OIK_KEYIDENTIFIER[rip]
	je	.L51
	xor	eax, eax
	cmp	rdi, QWORD PTR CMS_OIK_PUBKEY[rip]
	jne	.L44
	test	rsi, rsi
	je	.L14
	mov	rax, QWORD PTR 8[r10]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR [rsi], rax
.L14:
	test	rdx, rdx
	je	.L47
	mov	rax, QWORD PTR 8[r10]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L50:
	test	r8, r8
	je	.L10
	mov	rax, QWORD PTR 24[r10]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR [r8], rax
.L10:
	test	r9, r9
	je	.L47
	mov	rax, QWORD PTR 24[r10]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [r9], rax
.L47:
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L44:
	ret
	.p2align 4,,10
	.p2align 3
.L49:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR CMS_R_NOT_KEY_AGREEMENT[rip]
	mov	edi, DWORD PTR CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ORIG_ID[rip]
	call	CMSerr@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	test	rcx, rcx
	je	.L47
	mov	rax, QWORD PTR 16[r10]
	mov	QWORD PTR [rcx], rax
	mov	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	CMS_RecipientInfo_kari_get0_orig_id, .-CMS_RecipientInfo_kari_get0_orig_id
	.comm	CMS_R_NOT_KEY_AGREEMENT,4,4
	.comm	CMS_RECIPINFO_AGREE,8,8
	.comm	CMS_OIK_PUBKEY,8,8
	.comm	CMS_OIK_KEYIDENTIFIER,8,8
	.comm	CMS_OIK_ISSUER_SERIAL,8,8
	.comm	CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ORIG_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cms_kari.c_CMS_RecipientInfo_kari_get0_orig_id.c"
	.text
	.align	2
	.global	CMS_RecipientInfo_kari_get0_orig_id
	.syntax unified
	.arm
	.fpu softvfp
	.type	CMS_RecipientInfo_kari_get0_orig_id, %function
CMS_RecipientInfo_kari_get0_orig_id:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L48
	push	{r4, r5, r6, lr}
	ldr	ip, [ip]
	ldr	lr, [r0]
	cmp	lr, ip
	ldr	ip, [sp, #16]
	ldr	lr, [sp, #20]
	bne	.L45
	ldr	r0, [r0, #4]
	cmp	ip, #0
	ldr	r4, [r0]
	movne	r0, #0
	strne	r0, [ip]
	cmp	lr, #0
	movne	r0, #0
	strne	r0, [lr]
	cmp	r3, #0
	movne	r0, #0
	strne	r0, [r3]
	cmp	r1, #0
	movne	r0, #0
	strne	r0, [r1]
	cmp	r2, #0
	movne	r0, #0
	ldr	r5, .L48+4
	strne	r0, [r2]
	ldr	r5, [r5]
	ldr	r0, [r4]
	cmp	r0, r5
	beq	.L46
	ldr	ip, .L48+8
	ldr	ip, [ip]
	cmp	r0, ip
	beq	.L47
	ldr	r3, .L48+12
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L15
	cmp	r1, #0
	ldrne	r3, [r4, #4]
	ldrne	r3, [r3, #4]
	strne	r3, [r1]
	cmp	r2, #0
	beq	.L13
	ldr	r3, [r4, #4]
	mov	r0, #1
	ldr	r3, [r3]
	str	r3, [r2]
	pop	{r4, r5, r6, pc}
.L46:
	cmp	ip, #0
	ldrne	r3, [r4, #12]
	ldrne	r3, [r3, #4]
	strne	r3, [ip]
	cmp	lr, #0
	beq	.L13
	ldr	r3, [r4, #12]
	mov	r0, #1
	ldr	r3, [r3]
	str	r3, [lr]
	pop	{r4, r5, r6, pc}
.L45:
	ldr	r2, .L48+16
	ldr	r3, .L48+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	CMSerr
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L15:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L47:
	cmp	r3, #0
	beq	.L13
	ldr	r2, [r4, #8]
	mov	r0, #1
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L49:
	.align	2
.L48:
	.word	CMS_RECIPINFO_AGREE
	.word	CMS_OIK_ISSUER_SERIAL
	.word	CMS_OIK_KEYIDENTIFIER
	.word	CMS_OIK_PUBKEY
	.word	CMS_R_NOT_KEY_AGREEMENT
	.word	CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ORIG_ID
	.size	CMS_RecipientInfo_kari_get0_orig_id, .-CMS_RecipientInfo_kari_get0_orig_id
	.comm	CMS_R_NOT_KEY_AGREEMENT,4,4
	.comm	CMS_RECIPINFO_AGREE,4,4
	.comm	CMS_OIK_PUBKEY,4,4
	.comm	CMS_OIK_KEYIDENTIFIER,4,4
	.comm	CMS_OIK_ISSUER_SERIAL,4,4
	.comm	CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ORIG_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
