	.file	"extr_mxfdec.c_mxf_get_wrapping_by_body_sid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mxf_get_wrapping_by_body_sid, @function
mxf_get_wrapping_by_body_sid:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR [rdi]
	mov	r8, QWORD PTR UnknownWrapped[rip]
	test	edx, edx
	jle	.L1
	mov	rax, QWORD PTR 8[rdi]
	sub	edx, 1
	lea	rcx, 8[rax+rdx*8]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rax, 8
	cmp	rax, rcx
	je	.L1
.L4:
	mov	rdx, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rdx]
	test	rdx, rdx
	je	.L3
	cmp	DWORD PTR [rdx], esi
	jne	.L3
	mov	rdx, QWORD PTR 8[rdx]
	cmp	rdx, r8
	je	.L3
	mov	r8, rdx
.L1:
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	mxf_get_wrapping_by_body_sid, .-mxf_get_wrapping_by_body_sid
	.comm	UnknownWrapped,8,8
	.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_mxfdec.c_mxf_get_wrapping_by_body_sid.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mxf_get_wrapping_by_body_sid, %function
mxf_get_wrapping_by_body_sid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [r0]
	ldr	r3, .L13
	cmp	r4, #0
	mov	r2, r0
	ldr	r0, [r3]
	pople	{r4, pc}
	ldr	ip, [r2, #4]
	mov	r3, #0
	sub	ip, ip, #4
	b	.L4
.L3:
	cmp	r4, r3
	popeq	{r4, pc}
.L4:
	ldr	r2, [ip, #4]!
	add	r3, r3, #1
	ldr	r2, [r2]
	cmp	r2, #0
	beq	.L3
	ldr	lr, [r2]
	cmp	lr, r1
	bne	.L3
	ldr	r2, [r2, #4]
	cmp	r2, r0
	beq	.L3
	mov	r0, r2
	pop	{r4, pc}
.L14:
	.align	2
.L13:
	.word	UnknownWrapped
	.size	mxf_get_wrapping_by_body_sid, .-mxf_get_wrapping_by_body_sid
	.comm	UnknownWrapped,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
