	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxf_get_wrapping_by_body_sid
_mxf_get_wrapping_by_body_sid:          ## @mxf_get_wrapping_by_body_sid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %r8
	movq	_UnknownWrapped@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r9, %r10
	negq	%r10
	movb	$1, %dl
	movl	$1, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r9, %rcx
	setb	%dl
	leaq	(%r10,%rcx), %rdi
	incq	%rdi
	incq	%rcx
                                        ## implicit-def: $r11
	cmpq	$1, %rdi
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r8,%rcx,8), %rdi
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%esi, (%rdi)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rdi), %r11
	cmpq	%rax, %r11
	je	LBB0_6
LBB0_7:
	testb	$1, %dl
	cmovneq	%r11, %rax
	popq	%rbp
	retq
LBB0_1:
	movq	_UnknownWrapped@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UnknownWrapped,8,3             ## @UnknownWrapped
	.no_dead_strip	_mxf_get_wrapping_by_body_sid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxf_get_wrapping_by_body_sid
_mxf_get_wrapping_by_body_sid:          ; @mxf_get_wrapping_by_body_sid
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #0
	b.le	LBB0_7
; %bb.1:
	mov	x10, #0
	ldr	x11, [x0, #8]
Lloh0:
	adrp	x9, _UnknownWrapped@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UnknownWrapped@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w12, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x8
	cset	w12, lo
                                        ; implicit-def: $x13
	cmp	x8, x10
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11, x10, lsl #3]
	ldr	x13, [x13]
	cbz	x13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w14, [x13]
	cmp	w14, w1
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x13, #8]
	cmp	x13, x9
	b.eq	LBB0_2
LBB0_6:
	tst	w12, #0x1
	csel	x0, x13, x9, ne
	ret
LBB0_7:
Lloh3:
	adrp	x8, _UnknownWrapped@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UnknownWrapped@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UnknownWrapped,8,3             ; @UnknownWrapped
	.no_dead_strip	_mxf_get_wrapping_by_body_sid
.subsections_via_symbols
