	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_a6xx_hfi_init                  ## -- Begin function a6xx_hfi_init
	.p2align	4, 0x90
_a6xx_hfi_init:                         ## @a6xx_hfi_init
	.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, %r14
	movq	(%rdi), %rdi
	movq	8(%r14), %r12
	movq	8(%r12), %rbx
	leaq	1024(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_ARRAY_SIZE
	shll	$5, %eax
	addl	$32, %eax
	movq	$0, 24(%rbx)
	movl	%eax, (%rbx)
	movabsq	$34359738376, %rax              ## imm = 0x800000008
	movq	%rax, 4(%rbx)
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, 12(%rbx)
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, 16(%rbx)
	movq	_SZ_4K@GOTPCREL(%rip), %r13
	movslq	(%r13), %r15
	movq	(%r14), %rdi
	movq	%r15, %rdx
	shlq	$5, %rdx
	addq	8(%r12), %rdx
	movl	(%r12), %ecx
	addl	%r15d, %ecx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_a6xx_hfi_queue_init
	movslq	(%r13), %rdx
	addq	%r15, %rdx
	movq	(%r14), %rdi
	addq	$4, %rdi
	addq	$1056, %rbx                     ## imm = 0x420
	movl	(%r12), %ecx
	addl	%edx, %ecx
	shlq	$5, %rdx
	addq	8(%r12), %rdx
	movq	%rbx, %rsi
	movl	$4, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_a6xx_hfi_queue_init            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_4K,4,2                      ## @SZ_4K
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_a6xx_hfi_init                  ; -- Begin function a6xx_hfi_init
	.p2align	2
_a6xx_hfi_init:                         ; @a6xx_hfi_init
	.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	x19, x0
	ldp	x0, x21, [x0]
	ldr	x22, [x21, #8]
	add	x20, x22, #1024
	bl	_ARRAY_SIZE
	lsl	w8, w0, #5
	add	w8, w8, #32
	str	xzr, [x22, #24]
	str	w8, [x22]
	movi.2s	v0, #8
	stur	d0, [x22, #4]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	str	w0, [x22, #12]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	str	w0, [x22, #16]
Lloh0:
	adrp	x23, _SZ_4K@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SZ_4K@GOTPAGEOFF]
	ldrsw	x24, [x23]
	ldr	x0, [x19]
	ldr	x8, [x21, #8]
	add	x2, x8, x24, lsl #5
	ldr	w8, [x21]
	add	w3, w8, w24
	mov	x1, x20
	mov	w4, #0
	bl	_a6xx_hfi_queue_init
	ldrsw	x8, [x23]
	ldr	x9, [x19]
	add	x0, x9, #4
	add	x1, x22, #1056
	ldr	x9, [x21, #8]
	ldr	w10, [x21]
	add	x8, x8, x24
	add	w3, w10, w8
	add	x2, x9, x8, lsl #5
	mov	w4, #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
	b	_a6xx_hfi_queue_init
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_4K,4,2                      ; @SZ_4K
.subsections_via_symbols
