	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_show
_perf_show:                             ## @perf_show
	.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, %rbx
	movq	(%rdi), %r12
	movl	16(%r12), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	12(%r12), %edi
	callq	_div64_s64
	movl	%eax, %r15d
	movq	_SECOND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r13d, %r13d
	movl	$0, %eax
	cmpl	%ecx, %r15d
	jg	LBB0_4
## %bb.3:
	movl	%ecx, %eax
	cltd
	idivl	%r15d
LBB0_4:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r12), %esi
	cmpl	%ecx, %esi
	jg	LBB0_6
## %bb.5:
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, %r13d
LBB0_6:
	movl	4(%r12), %esi
	xorl	%edi, %edi
	movl	$0, %r14d
	cmpl	%ecx, %esi
	jg	LBB0_8
## %bb.7:
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, %r14d
LBB0_8:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	8(%r12), %esi
	cmpl	%ecx, %esi
	jg	LBB0_10
## %bb.9:
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, %edi
LBB0_10:
	movl	16(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%edi, %r13d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_seq_printf
	movl	(%r12), %edx
	movl	4(%r12), %r8d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r9d
	xorl	%eax, %eax
	callq	_seq_printf
	movl	8(%r12), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_seq_printf
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_seq_puts
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %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	"No request\n"

	.comm	_SECOND,4,2                     ## @SECOND
L_.str.1:                               ## @.str.1
	.asciz	"HW processing (%d requests):\n"

L_.str.2:                               ## @.str.2
	.asciz	" Average: %5lld us  (%3d fps)\n"

L_.str.3:                               ## @.str.3
	.asciz	" Min-Max: %5lld us  (%3d fps) - %5lld us  (%3d fps)\n"

L_.str.4:                               ## @.str.4
	.asciz	" Last:    %5lld us  (%3d fps)\n"

	.no_dead_strip	_perf_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_show
_perf_show:                             ; @perf_show
	.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	x21, [x0]
	ldr	w1, [x21, #16]
	cbz	w1, LBB0_3
; %bb.1:
	ldr	w0, [x21, #12]
	bl	_div64_s64
	mov	x20, x0
Lloh0:
	adrp	x8, _SECOND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECOND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_4
; %bb.2:
	mov	w23, #0
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
	b	LBB0_9
LBB0_4:
	sdiv	w23, w8, w20
LBB0_5:
	ldr	w9, [x21]
	cmp	w9, w8
	b.le	LBB0_7
; %bb.6:
	mov	w22, #0
	b	LBB0_8
LBB0_7:
	sdiv	w22, w8, w9
LBB0_8:
	ldp	w9, w10, [x21, #4]
	sdiv	w11, w8, w9
	cmp	w9, w8
	csel	w24, wzr, w11, gt
	sdiv	w9, w8, w10
	cmp	w10, w8
	csel	w25, wzr, w9, gt
	ldr	w2, [x21, #16]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	str	x23, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_seq_printf
	ldp	w2, w8, [x21]
	stp	x8, x24, [sp, #8]
	str	x22, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	w2, [x21, #8]
	str	x25, [sp]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
LBB0_9:
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No request\n"

	.comm	_SECOND,4,2                     ; @SECOND
l_.str.1:                               ; @.str.1
	.asciz	"HW processing (%d requests):\n"

l_.str.2:                               ; @.str.2
	.asciz	" Average: %5lld us  (%3d fps)\n"

l_.str.3:                               ; @.str.3
	.asciz	" Min-Max: %5lld us  (%3d fps) - %5lld us  (%3d fps)\n"

l_.str.4:                               ; @.str.4
	.asciz	" Last:    %5lld us  (%3d fps)\n"

	.no_dead_strip	_perf_show
.subsections_via_symbols
