	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function mmalplay_destroy
LCPI0_0:
	.quad	0x412e848000000000              ## double 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mmalplay_destroy
	.p2align	4, 0x90
_mmalplay_destroy:                      ## @mmalplay_destroy
	.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, %r13
	movl	56(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_LOG_TRACE
	movl	(%r13), %ebx
	testq	%rbx, %rbx
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r13), %rax
	movq	-8(%rax,%rbx,8), %rdi
	callq	_mmal_connection_disable
	decq	%rbx
	jne	LBB0_1
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_INFO
	movsd	8(%r13), %xmm1                  ## xmm1 = mem[0],zero
	movsd	16(%r13), %xmm0                 ## xmm0 = mem[0],zero
	cvttsd2si	%xmm1, %esi
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
	divsd	%xmm2, %xmm0
	leaq	L_.str.2(%rip), %rdi
	movb	$2, %al
	callq	_LOG_INFO
	cmpl	$0, (%r13)
	je	LBB0_7
## %bb.3:
	leaq	L_.str.4(%rip), %r15
	leaq	L_.str.5(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movl	12(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_INFO
	movq	48(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movslq	(%rax), %rax
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$38, %rsi
	addl	%eax, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_LOG_INFO
	movq	48(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movslq	4(%rax), %rcx
	imulq	$274877907, %rcx, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$38, %rsi
	addl	%ecx, %esi
	movslq	8(%rax), %rax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$38, %rdx
	addl	%eax, %edx
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_LOG_INFO
	incq	%rbx
	movl	(%r13), %r14d
	cmpq	%r14, %rbx
	jb	LBB0_4
## %bb.5:
	testq	%r14, %r14
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r13), %rax
	movq	-8(%rax,%r14,8), %rdi
	callq	_mmal_connection_destroy
	decq	%r14
	jne	LBB0_6
LBB0_7:
	movl	24(%r13), %ebx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.8:
	shlq	$4, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_vcos_getmicrosecs
	movq	32(%r13), %rcx
	movl	%eax, -16(%rcx,%rbx)
	movl	-4(%rcx,%rbx), %edi
	callq	_mmal_component_destroy
	xorl	%eax, %eax
	callq	_vcos_getmicrosecs
	movq	32(%r13), %rcx
	subl	-16(%rcx,%rbx), %eax
	movl	%eax, -16(%rcx,%rbx)
	addq	$-16, %rbx
	jne	LBB0_9
LBB0_10:
	leaq	40(%r13), %rdi
	callq	_vcos_semaphore_delete
	cmpl	$0, 24(%r13)
	je	LBB0_13
## %bb.11:
	leaq	L_.str.6(%rip), %r14
	leaq	L_.str.7(%rip), %r15
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rax
	movl	8(%rax,%rbx), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_LOG_INFO
	movq	32(%r13), %rax
	movslq	4(%rax,%rbx), %rcx
	imulq	$274877907, %rcx, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rcx
	shrq	$63, %rcx
	shrq	$32, %rsi
	sarl	$6, %esi
	addl	%ecx, %esi
	movslq	(%rax,%rbx), %rax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	shrq	$32, %rdx
	sarl	$6, %edx
	addl	%eax, %edx
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_LOG_INFO
	incq	%r12
	movl	24(%r13), %eax
	addq	$16, %rbx
	cmpq	%rax, %r12
	jb	LBB0_12
LBB0_13:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_INFO
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p, %s"

L_.str.1:                               ## @.str.1
	.asciz	"--- statistics ---"

L_.str.2:                               ## @.str.2
	.asciz	"decoded %i frames in %.2fs (%.2ffps)"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

L_.str.4:                               ## @.str.4
	.asciz	"- setup time: %ims"

L_.str.5:                               ## @.str.5
	.asciz	"- enable time: %ims, disable time: %ims"

L_.str.6:                               ## @.str.6
	.asciz	"%s:"

L_.str.7:                               ## @.str.7
	.asciz	"- setup time: %ims, cleanup time: %ims"

L_.str.8:                               ## @.str.8
	.asciz	"-----------------"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalplay_destroy               ; -- Begin function mmalplay_destroy
	.p2align	2
_mmalplay_destroy:                      ; @mmalplay_destroy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
	ldr	w2, [x0, #56]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_LOG_TRACE
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	lsl	x8, x8, #3
	sub	x20, x8, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	ldr	x0, [x8, x20]
	bl	_mmal_connection_disable
	sub	x20, x20, #8
	cmn	x20, #8
	b.ne	LBB0_2
LBB0_3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_INFO
	ldp	d0, d1, [x19, #8]
	fcvtzs	w8, d0
	mov	x9, #145685290680320
	movk	x9, #16686, lsl #48
	fmov	d2, x9
	fdiv	d3, d1, d2
	fmul	d0, d0, d2
	fdiv	d0, d0, d1
	stp	d3, d0, [sp, #8]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_LOG_INFO
	ldr	w8, [x19]
	cbz	w8, LBB0_9
; %bb.4:
	mov	x23, #0
Lloh6:
	adrp	x20, l_.str.3@PAGE
Lloh7:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	w24, #19923
	movk	w24, #4194, lsl #16
Lloh8:
	adrp	x21, l_.str.4@PAGE
Lloh9:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh10:
	adrp	x22, l_.str.5@PAGE
Lloh11:
	add	x22, x22, l_.str.5@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	lsl	x25, x23, #3
	ldr	x8, [x8, x25]
	ldr	w8, [x8, #12]
	str	x8, [sp]
	mov	x0, x20
	bl	_LOG_INFO
	ldr	x8, [x19, #48]
	ldr	x8, [x8, x25]
	ldrsw	x8, [x8]
	mul	x8, x8, x24
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	x8, [sp]
	mov	x0, x21
	bl	_LOG_INFO
	ldr	x8, [x19, #48]
	ldr	x8, [x8, x25]
	ldpsw	x9, x8, [x8, #4]
	mul	x9, x9, x24
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	mul	x8, x8, x24
	lsr	x10, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w10
	stp	x9, x8, [sp]
	mov	x0, x22
	bl	_LOG_INFO
	add	x23, x23, #1
	ldr	w8, [x19]
	cmp	x23, x8
	b.lo	LBB0_5
; %bb.6:
	cbz	w8, LBB0_9
; %bb.7:
	lsl	x8, x8, #3
	sub	x20, x8, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	ldr	x0, [x8, x20]
	bl	_mmal_connection_destroy
	sub	x20, x20, #8
	cmn	x20, #8
	b.ne	LBB0_8
LBB0_9:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_12
; %bb.10:
	lsl	x8, x8, #4
	sub	x20, x8, #16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	bl	_vcos_getmicrosecs
	ldr	x8, [x19, #32]
	add	x8, x8, x20
	str	w0, [x8]
	ldr	w0, [x8, #12]
	bl	_mmal_component_destroy
	bl	_vcos_getmicrosecs
	ldr	x8, [x19, #32]
	ldr	w9, [x8, x20]
	sub	w9, w0, w9
	str	w9, [x8, x20]
	sub	x20, x20, #16
	cmn	x20, #16
	b.ne	LBB0_11
LBB0_12:
	add	x0, x19, #40
	bl	_vcos_semaphore_delete
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_15
; %bb.13:
	mov	x22, #0
	mov	x23, #0
Lloh12:
	adrp	x20, l_.str.6@PAGE
Lloh13:
	add	x20, x20, l_.str.6@PAGEOFF
	mov	w24, #19923
	movk	w24, #4194, lsl #16
Lloh14:
	adrp	x21, l_.str.7@PAGE
Lloh15:
	add	x21, x21, l_.str.7@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x8, x8, x22
	ldr	w8, [x8, #8]
	str	x8, [sp]
	mov	x0, x20
	bl	_LOG_INFO
	ldr	x8, [x19, #32]
	add	x8, x8, x22
	ldpsw	x8, x9, [x8]
	mul	x9, x9, x24
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #6
	mul	x8, x8, x24
	lsr	x10, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w10, asr #6
	stp	x9, x8, [sp]
	mov	x0, x21
	bl	_LOG_INFO
	add	x23, x23, #1
	ldr	w8, [x19, #24]
	add	x22, x22, #16
	cmp	x23, x8
	b.lo	LBB0_14
LBB0_15:
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_LOG_INFO
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p, %s"

l_.str.1:                               ; @.str.1
	.asciz	"--- statistics ---"

l_.str.2:                               ; @.str.2
	.asciz	"decoded %i frames in %.2fs (%.2ffps)"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

l_.str.4:                               ; @.str.4
	.asciz	"- setup time: %ims"

l_.str.5:                               ; @.str.5
	.asciz	"- enable time: %ims, disable time: %ims"

l_.str.6:                               ; @.str.6
	.asciz	"%s:"

l_.str.7:                               ; @.str.7
	.asciz	"- setup time: %ims, cleanup time: %ims"

l_.str.8:                               ; @.str.8
	.asciz	"-----------------"

.subsections_via_symbols
