	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_md5_sum
_update_md5_sum:                        ## @update_md5_sum
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	(%rdi), %eax
	imull	16(%rdi), %eax
	movq	32(%rdi), %rcx
	movl	(%rcx), %ecx
	leal	7(%rcx), %edx
	leal	14(%rcx), %r14d
	testl	%edx, %edx
	cmovnsl	%edx, %r14d
	movq	%rsi, %r15
	sarl	$3, %r14d
	imull	%eax, %r14d
	cmpl	$16, %ecx
	jg	LBB0_2
## %bb.1:
	movq	_HAVE_BIGENDIAN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
LBB0_2:
	leaq	8(%r12), %r13
	leaq	40(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_fast_malloc
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.3:
	movq	32(%r12), %rax
	cmpl	$16, (%rax)
	jg	LBB0_5
LBB0_4:
	movq	%r15, %rbx
LBB0_9:
	movl	4(%r12), %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_av_md5_update
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	movl	(%r12), %eax
	imull	16(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.6:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%r13,4), %esi
	sarl	$8, %esi
	movq	%rbx, %rdi
	callq	_AV_WL24
	incq	%r13
	movslq	16(%r12), %rax
	movslq	(%r12), %rcx
	imulq	%rax, %rcx
	addq	$12, %rbx
	cmpq	%rcx, %r13
	jl	LBB0_7
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_HAVE_BIGENDIAN,8,3             ## @HAVE_BIGENDIAN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_update_md5_sum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_md5_sum
_update_md5_sum:                        ; @update_md5_sum
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x19, x0
	ldr	w8, [x0, #16]
	ldr	w9, [x0]
	mul	w8, w9, w8
	ldr	x9, [x0, #32]
	ldr	w9, [x9]
	add	w10, w9, #7
	add	w11, w9, #14
	cmp	w10, #0
	csel	w10, w11, w10, lt
	asr	w10, w10, #3
	mul	w20, w8, w10
Lloh0:
	adrp	x8, _HAVE_BIGENDIAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HAVE_BIGENDIAN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	w9, #16
	ccmp	x8, #0, #0, le
	b.eq	LBB0_3
; %bb.1:
	add	x23, x19, #8
	add	x1, x19, #40
	mov	x0, x23
	mov	x2, x20
	bl	_av_fast_malloc
	ldr	x22, [x19, #8]
	cbz	x22, LBB0_5
; %bb.2:
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cmp	w8, #16
	b.gt	LBB0_6
LBB0_3:
	mov	x22, x21
LBB0_4:
	ldr	w0, [x19, #4]
	mov	x1, x22
	mov	x2, x20
	bl	_av_md5_update
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_6:
	ldr	w8, [x19, #16]
	ldr	w9, [x19]
	mul	w8, w9, w8
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.7:
	mov	x24, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, x24, lsl #2]
	asr	w1, w8, #8
	mov	x0, x22
	bl	_AV_WL24
	add	x24, x24, #1
	ldrsw	x8, [x19, #16]
	ldrsw	x9, [x19]
	mul	x8, x9, x8
	add	x22, x22, #12
	cmp	x24, x8
	b.lt	LBB0_8
; %bb.9:
	ldr	x22, [x23]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HAVE_BIGENDIAN,8,3             ; @HAVE_BIGENDIAN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_update_md5_sum
.subsections_via_symbols
