	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtmp_calc_digest            ## -- Begin function ff_rtmp_calc_digest
	.p2align	4, 0x90
_ff_rtmp_calc_digest:                   ## @ff_rtmp_calc_digest
	.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
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r14d
	movq	%rcx, %r13
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_AV_HMAC_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_av_hmac_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_av_hmac_init
	movq	%rbx, %rdi
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.3:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_av_hmac_update
	movl	%r12d, %eax
	leaq	(%r14,%rax,4), %rsi
	addq	$128, %rsi
	subl	%r12d, %r15d
	addl	$-32, %r15d
	movq	%rbx, %rdi
	jmp	LBB0_4
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_2:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_4:
	movl	%r15d, %edx
	callq	_av_hmac_update
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$32, %edx
	callq	_av_hmac_final
	movq	%rbx, %rdi
	callq	_av_hmac_free
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_HMAC_SHA256,4,2             ## @AV_HMAC_SHA256
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtmp_calc_digest            ; -- Begin function ff_rtmp_calc_digest
	.p2align	2
_ff_rtmp_calc_digest:                   ; @ff_rtmp_calc_digest
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x5
	mov	x24, x4
	mov	x25, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _AV_HMAC_SHA256@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_HMAC_SHA256@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_av_hmac_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x1, x25
	mov	x2, x24
	bl	_av_hmac_init
	mov	x0, x20
	cmp	w22, #0
	b.le	LBB0_4
; %bb.2:
	mov	x1, x23
	mov	x2, x22
	bl	_av_hmac_update
	add	x8, x23, w22, uxtw #2
	add	x1, x8, #128
	sub	w8, w21, w22
	sub	w2, w8, #32
	mov	x0, x20
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_4:
	mov	x1, x23
	mov	x2, x21
LBB0_5:
	bl	_av_hmac_update
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32
	bl	_av_hmac_final
	mov	x0, x20
	bl	_av_hmac_free
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_HMAC_SHA256,4,2             ; @AV_HMAC_SHA256
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
