	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hva_dbg_perf_end               ## -- Begin function hva_dbg_perf_end
	.p2align	4, 0x90
_hva_dbg_perf_end:                      ## @hva_dbg_perf_end
	.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	%rsi, %r12
	movq	%rdi, %rbx
	callq	_ctx_to_dev
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ktime_get
	movl	%eax, %r15d
	leaq	8(%r12), %rdi
	xorl	%esi, %esi
	callq	_vb2_get_plane_payload
	movq	%rax, %r14
	movq	8(%r12), %r13
	movq	%r13, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_do_div
	movl	32(%rbx), %esi
	movl	%r15d, %edi
	callq	_ktime_us_delta
	movq	%rax, %r15
	movl	(%rbx), %edx
	movl	(%r12), %ecx
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%r14, %r9
	callq	_dev_dbg
	movq	%r15, %rdi
	movl	$100, %esi
	callq	_do_div
	movl	28(%rbx), %esi
	movq	%r15, %rdi
	callq	_min
	movl	%eax, 28(%rbx)
	movl	24(%rbx), %esi
	movq	%r15, %rdi
	callq	_max
	movl	%eax, 24(%rbx)
	movd	%r14d, %xmm0
	pinsrd	$1, %r14d, %xmm0
	movl	$1, %eax
	pinsrd	$2, %eax, %xmm0
	pinsrd	$3, %r15d, %xmm0
	movdqu	8(%rbx), %xmm1
	paddd	%xmm1, %xmm0
	movdqu	%xmm0, 8(%rbx)
	movl	$1, 4(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s perf stream[%d] dts=%d encoded using %d bytes in %d us"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hva_dbg_perf_end               ; -- Begin function hva_dbg_perf_end
	.p2align	2
_hva_dbg_perf_end:                      ; @hva_dbg_perf_end
	.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
	bl	_ctx_to_dev
	mov	x22, x0
	bl	_ktime_get
	mov	x23, x0
	add	x0, x21, #8
	mov	w1, #0
	bl	_vb2_get_plane_payload
	mov	x20, x0
	ldr	x24, [x21, #8]
	mov	x0, x24
	mov	w1, #1000
	bl	_do_div
	ldr	w1, [x19, #32]
	mov	x0, x23
	bl	_ktime_us_delta
	mov	x23, x0
	ldr	w2, [x19]
	ldr	w3, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x4, x24
	mov	x5, x20
	mov	x6, x23
	bl	_dev_dbg
	mov	x0, x23
	mov	w1, #100
	bl	_do_div
	ldr	w1, [x19, #28]
	mov	x0, x23
	bl	_min
	str	w0, [x19, #28]
	ldr	w1, [x19, #24]
	mov	x0, x23
	bl	_max
	ldp	w9, w8, [x19, #16]
	add	w8, w8, w23
	add	w9, w9, #1
	stp	w8, w0, [x19, #20]
	str	w9, [x19, #16]
	ldr	d0, [x19, #8]
	dup.2s	v1, w20
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
	mov	w8, #1
	str	w8, [x19, #4]
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s perf stream[%d] dts=%d encoded using %d bytes in %d us"

.subsections_via_symbols
