	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_encrypt
_test_encrypt:                          ## @test_encrypt
	.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	%rcx, %r13
	movq	%rdx, %rbx
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -64(%rbp)
	movl	$0, -56(%rbp)
	movq	_RTP_MAX_PACKET_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_ff_srtp_set_crypto
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movq	%r13, %rdx
	callq	_ff_srtp_set_crypto
	movq	%r15, %rdi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%ebx, %edx
	movq	%r12, %rcx
	movl	%r14d, %r8d
	callq	_ff_srtp_encrypt
	movl	%eax, -68(%rbp)
	leaq	-68(%rbp), %rdx
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_ff_srtp_decrypt
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_str.4(%rip), %rdi
	jmp	LBB0_6
LBB0_2:
	cmpl	%ebx, -68(%rbp)
	jne	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	leaq	L_str(%rip), %rdi
LBB0_6:
	callq	_puts
	leaq	-64(%rbp), %rdi
	callq	_ff_srtp_free
	leaq	-56(%rbp), %rdi
	callq	_ff_srtp_free
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_str.3(%rip), %rdi
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RTP_MAX_PACKET_LENGTH,4,2      ## @RTP_MAX_PACKET_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Decrypted content doesn't match input"

L_str.3:                                ## @str.3
	.asciz	"Decrypted content matches input"

L_str.4:                                ## @str.4
	.asciz	"Decryption failed"

	.no_dead_strip	_test_encrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_encrypt
_test_encrypt:                          ; @test_encrypt
	.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
	sub	sp, sp, #32
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stur	wzr, [x29, #-80]
	stur	wzr, [x29, #-88]
Lloh3:
	adrp	x8, _RTP_MAX_PACKET_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTP_MAX_PACKET_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	sub	x0, x29, #80
	mov	x1, x2
	mov	x2, x3
	bl	_ff_srtp_set_crypto
	sub	x0, x29, #88
	mov	x1, x23
	mov	x2, x22
	bl	_ff_srtp_set_crypto
	sub	x0, x29, #80
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	mov	x4, x24
	bl	_ff_srtp_encrypt
	stur	w0, [x29, #-92]
	sub	x0, x29, #88
	sub	x2, x29, #92
	mov	x1, x21
	bl	_ff_srtp_decrypt
	cbz	w0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_str.4@PAGE
Lloh9:
	add	x0, x0, l_str.4@PAGEOFF
	b	LBB0_5
LBB0_2:
	ldur	w8, [x29, #-92]
	cmp	w8, w19
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_memcmp
	cbz	w0, LBB0_7
LBB0_4:
Lloh10:
	adrp	x0, l_str@PAGE
Lloh11:
	add	x0, x0, l_str@PAGEOFF
LBB0_5:
	bl	_puts
	sub	x0, x29, #80
	bl	_ff_srtp_free
	sub	x0, x29, #88
	bl	_ff_srtp_free
	mov	sp, x25
	ldur	x8, [x29, #-72]
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_8
; %bb.6:
	sub	sp, x29, #64
	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
LBB0_7:
Lloh15:
	adrp	x0, l_str.3@PAGE
Lloh16:
	add	x0, x0, l_str.3@PAGEOFF
	b	LBB0_5
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RTP_MAX_PACKET_LENGTH,4,2      ; @RTP_MAX_PACKET_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Decrypted content doesn't match input"

l_str.3:                                ; @str.3
	.asciz	"Decrypted content matches input"

l_str.4:                                ; @str.4
	.asciz	"Decryption failed"

	.no_dead_strip	_test_encrypt
.subsections_via_symbols
