	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function video_frame_cksum
_video_frame_cksum:                     ## @video_frame_cksum
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	28(%rsi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movl	$0, -64(%rbp)
	movl	(%r12), %ecx
	movl	24(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_bprintf
	testq	%r14, %r14
	je	LBB0_1
## %bb.3:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	24(%r12), %edx
	movl	28(%r12), %esi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_av_image_fill_linesizes
	testq	%rax, %rax
	js	LBB0_14
## %bb.4:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_bprintf
	cmpl	$0, -80(%rbp)
	je	LBB0_14
## %bb.5:
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_av_bprintf
	leaq	-76(,%r14,4), %rbx
	addq	%rbp, %rbx
	cmpl	$0, -76(%rbp,%r14,4)
	leaq	1(%r14), %r14
	je	LBB0_14
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	(%r12), %r13d
	leal	-1(%r14), %eax
	cmpl	$1, %eax
	ja	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpl	$3, 4(%rax)
	jl	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rax), %esi
	movl	%r13d, %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r14,8), %r15
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %edx
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_av_adler32_update
	movq	8(%r12), %rcx
	movslq	(%rcx,%r14,4), %rcx
	leaq	(%r15,%rcx,4), %r15
	decl	%r13d
	jne	LBB0_12
	jmp	LBB0_13
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_bprintf                     ## TAILCALL
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	", %d x %d"

L_.str.1:                               ## @.str.1
	.asciz	", unknown"

L_.str.2:                               ## @.str.2
	.asciz	", %s"

L_.str.3:                               ## @.str.3
	.asciz	", 0x%08x"

	.no_dead_strip	_video_frame_cksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video_frame_cksum
_video_frame_cksum:                     ; @video_frame_cksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w0, [x1, #28]
	bl	_av_pix_fmt_desc_get
	mov	x21, x0
	stp	xzr, xzr, [sp, #16]
	str	wzr, [sp, #32]
	ldr	w8, [x20, #24]
	ldr	w9, [x20]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_bprintf
	cbz	x21, LBB0_14
; %bb.1:
	ldp	w2, w1, [x20, #24]
	add	x0, sp, #16
	bl	_av_image_fill_linesizes
	tbnz	x0, #63, LBB0_12
; %bb.2:
	ldr	w8, [x21]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_av_bprintf
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_12
; %bb.3:
	mov	x25, #0
	add	x26, sp, #16
	add	x27, sp, #16
Lloh7:
	adrp	x22, l_.str.3@PAGE
Lloh8:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_av_bprintf
	add	x25, x25, #1
	add	x27, x26, x25, lsl #2
	ldr	w8, [x27]
	cbz	w8, LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w23, [x20]
	sub	w8, w25, #1
	cmp	w8, #1
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, #4]
	cmp	w8, #3
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x21, #8]
	mov	x0, x23
	bl	_AV_CEIL_RSHIFT
	mov	x23, x0
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
	ldr	x8, [x20, #16]
	ldr	x24, [x8, x25, lsl #3]
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x27]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x24
	bl	_av_adler32_update
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x20, #8]
	ldrsw	x8, [x8, x25, lsl #2]
	add	x24, x24, x8, lsl #2
	subs	w23, w23, #1
	b.ne	LBB0_11
	b	LBB0_5
LBB0_12:
	ldr	x8, [sp, #40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_14:
	ldr	x8, [sp, #40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_av_bprintf
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	", %d x %d"

l_.str.1:                               ; @.str.1
	.asciz	", unknown"

l_.str.2:                               ; @.str.2
	.asciz	", %s"

l_.str.3:                               ; @.str.3
	.asciz	", 0x%08x"

	.no_dead_strip	_video_frame_cksum
.subsections_via_symbols
