	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_seek_frame                  ## -- Begin function av_seek_frame
	.p2align	4, 0x90
_av_seek_frame:                         ## @av_seek_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %eax
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	cmpq	$0, 8(%rdx)
	je	LBB0_2
## %bb.1:
	cmpl	$0, (%rdx)
	je	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seek_frame_internal
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_avformat_queue_attached_pictures ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_AVSEEK_FLAG_BACKWARD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	testl	%ecx, %r9d
	movq	_INT64_MIN@GOTPCREL(%rip), %rdx
	movq	_INT64_MAX@GOTPCREL(%rip), %rdi
	movl	(%rdx), %edx
	cmovel	%eax, %edx
	movl	(%rdi), %r8d
	cmovnel	%eax, %r8d
	notl	%r9d
	andl	%ecx, %r9d
	movq	%rbx, %rdi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_avformat_seek_file             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MIN,4,2                  ## @INT64_MIN
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.comm	_AVSEEK_FLAG_BACKWARD,4,2       ## @AVSEEK_FLAG_BACKWARD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_seek_frame                  ; -- Begin function av_seek_frame
	.p2align	2
_av_seek_frame:                         ; @av_seek_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x2
	mov	x19, x0
	ldr	x9, [x0]
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_2
; %bb.1:
	ldr	w9, [x9]
	cbz	w9, LBB0_5
LBB0_2:
	mov	x0, x19
	mov	x2, x8
	bl	_seek_frame_internal
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_avformat_queue_attached_pictures
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x9, _AVSEEK_FLAG_BACKWARD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AVSEEK_FLAG_BACKWARD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _INT64_MIN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _INT64_MIN@GOTPAGEOFF]
Lloh5:
	adrp	x11, _INT64_MAX@GOTPAGE
Lloh6:
	ldr	x11, [x11, _INT64_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	ldr	w11, [x11]
	tst	w9, w3
	csel	w2, w8, w10, eq
	csel	w4, w11, w8, eq
	bic	w5, w3, w9
	mov	x0, x19
	mov	x3, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_avformat_seek_file
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MIN,4,2                  ; @INT64_MIN
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.comm	_AVSEEK_FLAG_BACKWARD,4,2       ; @AVSEEK_FLAG_BACKWARD
.subsections_via_symbols
