	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function detect_unknown_subobject
_detect_unknown_subobject:              ## @detect_unknown_subobject
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	8(%rdi), %r13
	movq	%rbx, %rdi
	callq	_avio_tell
	addq	%r14, %r12
	xorl	%ecx, %ecx
	cmpq	%r12, %rax
	jg	LBB0_11
## %bb.1:
	leaq	-44(%rbp), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	movl	$1, -56(%rbp)
	movq	%r15, %rdi
	leaq	-72(%rbp), %rsi
	callq	_asf_read_unknown
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_avio_tell
	cmpq	%r12, %rax
	jg	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_avio_tell
	cmpq	(%r13), %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_avio_tell
	movq	%rax, (%r13)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ff_get_guid
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	callq	_find_guid
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	jns	LBB0_3
LBB0_10:
	movl	%eax, %ecx
	jmp	LBB0_11
LBB0_9:
	xorl	%ecx, %ecx
LBB0_11:
	movl	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown"

	.no_dead_strip	_detect_unknown_subobject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function detect_unknown_subobject
_detect_unknown_subobject:              ; @detect_unknown_subobject
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldp	x20, x23, [x0]
	mov	x0, x20
	bl	_avio_tell
	add	x21, x21, x22
	cmp	x0, x21
	b.le	LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_3:
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	mov	w24, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x22, [sp, #8]
	str	w24, [sp, #16]
	mov	x1, sp
	mov	x0, x19
	bl	_asf_read_unknown
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_avio_tell
	cmp	x0, x21
	b.gt	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_avio_tell
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_avio_tell
	str	x0, [x23]
	add	x1, sp, #28
	mov	x0, x20
	bl	_ff_get_guid
	tbnz	w0, #31, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #28]
	bl	_find_guid
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x0
	ldr	x8, [x0]
	mov	x0, x19
	blr	x8
	tbz	w0, #31, LBB0_5
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown"

	.no_dead_strip	_detect_unknown_subobject
.subsections_via_symbols
