	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_md5
_verify_md5:                            ## @verify_md5
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	16(%rsi), %edi
	callq	_av_pix_fmt_desc_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	8(%rax), %rax
	cmpl	$9, (%rax)
	setge	-113(%rbp)                      ## 1-byte Folded Spill
	movq	(%r13), %rdi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r13), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.4:
	xorl	%ecx, %ecx
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	(%r13), %rax
	movl	(%rax), %r15d
	movl	4(%rax), %r12d
	leal	-1(%rcx), %eax
	movq	%rcx, %rbx
	cmpl	$1, %eax
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movb	(%rax), %cl
	sarl	%cl, %r15d
	movb	4(%rax), %cl
	sarl	%cl, %r12d
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r13), %edi
	callq	_av_md5_init
	testl	%r12d, %r12d
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	-113(%rbp), %cl                 ## 1-byte Reload
	shll	%cl, %r15d
	xorl	%r14d, %r14d
	movl	%r12d, -120(%rbp)               ## 4-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi), %rax
	movq	8(%rsi), %rcx
	movq	%rsi, %r12
	movslq	(%rax,%rbx,4), %rsi
	movslq	%r14d, %r14
	imulq	%r14, %rsi
	shlq	$2, %rsi
	addq	(%rcx,%rbx,8), %rsi
	movl	16(%r13), %edi
	movl	%r15d, %edx
	callq	_av_md5_update
	movq	%r12, %rsi
	movl	-120(%rbp), %r12d               ## 4-byte Reload
	incl	%r14d
	cmpl	%r14d, %r12d
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r13), %edi
	leaq	-112(%rbp), %r12
	movq	%r12, %rsi
	callq	_av_md5_final
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rdi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	(%r13), %rdi
	movl	(%r15), %esi
	movq	%r12, %rdx
	callq	_print_md5
	movq	(%r13), %rdi
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	cmpq	$0, 8(%rax,%rbx,8)
	leaq	1(%rbx), %rcx
	jne	LBB0_5
LBB0_13:
	movq	(%r13), %rdi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.2:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_11:
	movl	%ebx, %r12d
	movq	(%r13), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str.3(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	(%r13), %rdi
	movl	(%r15), %esi
	leaq	-112(%rbp), %rdx
	callq	_print_md5
	movq	(%r13), %rdi
	movl	(%r15), %esi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movl	(%r15), %esi
	movq	(%r13), %rdi
	movq	8(%r13), %rax
	movq	(%rax,%r12,8), %rdx
	callq	_print_md5
	movq	(%r13), %rdi
	movl	(%r15), %esi
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Verifying checksum for frame with POC %d: "

L_.str.1:                               ## @.str.1
	.asciz	"plane %d - correct "

L_.str.2:                               ## @.str.2
	.asciz	"; "

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"mismatching checksum of plane %d - "

L_.str.4:                               ## @.str.4
	.asciz	" != "

L_.str.5:                               ## @.str.5
	.asciz	"\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_verify_md5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_md5
_verify_md5:                            ; @verify_md5
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, #72]
	ldr	w0, [x1, #16]
	bl	_av_pix_fmt_desc_get
	cbz	x0, LBB0_11
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cmp	w8, #8
	cset	w27, gt
	ldr	x0, [x19]
Lloh3:
	adrp	x26, _AV_LOG_DEBUG@GOTPAGE
Lloh4:
	ldr	x26, [x26, _AV_LOG_DEBUG@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w8, [x19, #44]
	str	x8, [sp]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.2:
	mov	x25, #0
Lloh7:
	adrp	x23, l_.str.2@PAGE
Lloh8:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x19]
	ldp	w24, w28, [x8]
	sub	w8, w25, #1
	cmp	w8, #1
	b.hi	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w8, w9, [x21]
	asr	w24, w24, w8
	asr	w28, w28, w9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #16]
	bl	_av_md5_init
	cmp	w28, #1
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #0
	lsl	w24, w24, w27
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x9, x8, [x20]
	ldr	x8, [x8, x25, lsl #3]
	ldr	w9, [x9, x25, lsl #2]
	mul	w9, w9, w22
	add	x1, x8, w9, sxtw #2
	ldr	w0, [x19, #16]
	mov	x2, x24
	bl	_av_md5_update
	add	w22, w22, #1
	cmp	w28, w22
	b.ne	LBB0_7
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_av_md5_final
	ldr	x8, [x19, #8]
	ldr	x1, [x8, x25, lsl #3]
	add	x0, sp, #8
	mov	w2, #16
	bl	_memcmp
	cbnz	w0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	ldr	w1, [x26]
	mov	x8, x25
	str	x8, [sp]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
	ldr	x0, [x19]
	ldr	w1, [x26]
	add	x2, sp, #8
	bl	_print_md5
	ldr	x0, [x19]
	ldr	w1, [x26]
	mov	x2, x23
	bl	_av_log
	add	x25, x25, #1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x25, lsl #3]
	cbnz	x8, LBB0_3
LBB0_10:
	ldr	x0, [x19]
	ldr	w1, [x26]
Lloh11:
	adrp	x2, l_.str.5@PAGE
Lloh12:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_av_log
	mov	w0, #0
	b	LBB0_14
LBB0_11:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [sp, #72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.12:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_AVERROR
LBB0_13:
	ldr	x0, [x19]
Lloh19:
	adrp	x20, _AV_LOG_ERROR@GOTPAGE
Lloh20:
	ldr	x20, [x20, _AV_LOG_ERROR@GOTPAGEOFF]
	ldr	w1, [x20]
	str	x25, [sp]
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_av_log
	ldr	x0, [x19]
	ldr	w1, [x20]
	add	x2, sp, #8
	bl	_print_md5
	ldr	x0, [x19]
	ldr	w1, [x20]
Lloh23:
	adrp	x2, l_.str.4@PAGE
Lloh24:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_av_log
	ldr	w1, [x20]
	ldp	x0, x8, [x19]
	ldr	x2, [x8, w25, uxtw #3]
	bl	_print_md5
	ldr	x0, [x19]
	ldr	w1, [x20]
Lloh25:
	adrp	x2, l_.str.5@PAGE
Lloh26:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_av_log
Lloh27:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
LBB0_14:
	ldr	x8, [sp, #72]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Verifying checksum for frame with POC %d: "

l_.str.1:                               ; @.str.1
	.asciz	"plane %d - correct "

l_.str.2:                               ; @.str.2
	.asciz	"; "

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"mismatching checksum of plane %d - "

l_.str.4:                               ; @.str.4
	.asciz	" != "

l_.str.5:                               ; @.str.5
	.asciz	"\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_verify_md5
.subsections_via_symbols
