	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_reader_find_next_frame
_asf_reader_find_next_frame:            ## @asf_reader_find_next_frame
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rdx
	movl	%esi, %esi
	movq	(%rdx,%rsi,8), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	sete	%dl
	testl	%ecx, %ecx
	setne	%cl
	andb	%dl, %cl
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	xorl	%r14d, %r14d
	leaq	-56(%rbp), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_asf_read_next_payload
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ASF_MAX_SEARCH_PACKETS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	jae	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%r14d
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-52(%rbp), %rdx
	movq	%r13, %rcx
	callq	_asf_read_next_payload_header
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r15d, -52(%rbp)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$128, (%rbx)
	setb	%cl
	testb	%cl, -41(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 4(%rbx)
	jne	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ## @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_ASF_MAX_SEARCH_PACKETS,4,2     ## @ASF_MAX_SEARCH_PACKETS
	.no_dead_strip	_asf_reader_find_next_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_reader_find_next_frame
_asf_reader_find_next_frame:            ; @asf_reader_find_next_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w23, #0
Lloh0:
	adrp	x24, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x0, [x24]
	ldr	x8, [x22]
	ldr	x8, [x8, w1, uxtw #3]
	ldr	x8, [x8]
	cmp	w3, #0
Lloh2:
	adrp	x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh4:
	ldr	x9, [x9]
	ccmp	x8, x9, #0, ne
	cset	w25, eq
Lloh5:
	adrp	x26, _ASF_MAX_SEARCH_PACKETS@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ASF_MAX_SEARCH_PACKETS@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x20
	mov	w2, #0
	bl	_asf_read_next_payload
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w19, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	cmp	w23, w8
	b.hs	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x20
	bl	_asf_read_next_payload_header
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
	cmp	w8, w21
	b.ne	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	cmp	w8, #128
	cset	w8, lo
	and	w8, w25, w8
	tbnz	w8, #0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_1
LBB0_9:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ; @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_ASF_MAX_SEARCH_PACKETS,4,2     ; @ASF_MAX_SEARCH_PACKETS
	.no_dead_strip	_asf_reader_find_next_frame
.subsections_via_symbols
