	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a6xx_hfi_send_perf_table
_a6xx_hfi_send_perf_table:              ## @a6xx_hfi_send_perf_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%rbp)
	movq	$0, -8(%rbp)
	movl	(%rdi), %ecx
	movl	%ecx, -32(%rbp)
	movl	4(%rdi), %r8d
	movl	%r8d, -28(%rbp)
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.1:
	cmpl	$4, %ecx
	jae	LBB0_4
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_4:
	movl	%ecx, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %r9
	movq	%r9, %rax
	shrq	$2, %rax
	incq	%rax
	movl	%eax, %esi
	andl	$7, %esi
	cmpq	$28, %r9
	jb	LBB0_7
## %bb.5:
	andq	$-8, %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	addq	$-8, %rax
	jne	LBB0_6
LBB0_7:
	testq	%rsi, %rsi
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rsi
	jne	LBB0_8
LBB0_9:
	cmpq	%rcx, %rdx
	je	LBB0_10
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
LBB0_10:
	testl	%r8d, %r8d
	jle	LBB0_20
## %bb.11:
	cmpl	$4, %r8d
	jae	LBB0_13
## %bb.12:
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_13:
	movl	%r8d, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rsi
	movq	%rsi, %rax
	shrq	$2, %rax
	incq	%rax
	movl	%eax, %edx
	andl	$7, %edx
	cmpq	$28, %rsi
	jb	LBB0_16
## %bb.14:
	andq	$-8, %rax
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	addq	$-8, %rax
	jne	LBB0_15
LBB0_16:
	testq	%rdx, %rdx
	je	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	decq	%rdx
	jne	LBB0_17
LBB0_18:
	cmpq	%r8, %rcx
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	incq	%rcx
	cmpq	%rcx, %r8
	jne	LBB0_19
LBB0_20:
	movq	_HFI_H2F_MSG_PERF_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movl	$32, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_a6xx_hfi_send_msg
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HFI_H2F_MSG_PERF_TABLE,4,2     ## @HFI_H2F_MSG_PERF_TABLE
	.no_dead_strip	_a6xx_hfi_send_perf_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a6xx_hfi_send_perf_table
_a6xx_hfi_send_perf_table:              ; @a6xx_hfi_send_perf_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	ldp	w9, w8, [x0]
	stp	w9, w8, [sp]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
	cmp	w9, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x9, #0xfffffff0
	mov	x11, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	subs	x11, x11, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x9
	b.eq	LBB0_8
LBB0_6:
	sub	x9, x9, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	subs	x9, x9, #1
	b.ne	LBB0_7
LBB0_8:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.9:
	cmp	w8, #16
	b.hs	LBB0_11
; %bb.10:
	mov	x9, #0
	b	LBB0_14
LBB0_11:
	and	x9, x8, #0xfffffff0
	mov	x10, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	subs	x10, x10, #16
	b.ne	LBB0_12
; %bb.13:
	cmp	x9, x8
	b.eq	LBB0_16
LBB0_14:
	sub	x8, x8, x9
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	subs	x8, x8, #1
	b.ne	LBB0_15
LBB0_16:
Lloh0:
	adrp	x8, _HFI_H2F_MSG_PERF_TABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HFI_H2F_MSG_PERF_TABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	mov	w3, #32
	mov	x4, #0
	mov	w5, #0
	bl	_a6xx_hfi_send_msg
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HFI_H2F_MSG_PERF_TABLE,4,2     ; @HFI_H2F_MSG_PERF_TABLE
	.no_dead_strip	_a6xx_hfi_send_perf_table
.subsections_via_symbols
