	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_ce_init_dest_ring
_ath10k_ce_init_dest_ring:              ## @ath10k_ce_init_dest_ring
	.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	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_ath10k_ce_priv
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %r13
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ath10k_ce_base_address
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_roundup_pow_of_two
	movl	%eax, %r15d
	movl	(%r13), %edi
	leal	(,%r15,4), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ath10k_ce_dest_ring_read_index_get
	andl	8(%r13), %eax
	movl	%eax, 16(%r13)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ath10k_ce_dest_ring_write_index_get
	andl	8(%r13), %eax
	movl	%eax, 12(%r13)
	movl	4(%r13), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ath10k_ce_dest_ring_base_addr_set
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_ath10k_ce_dest_ring_size_set
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_ath10k_ce_dest_ring_byte_swap_set
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_ath10k_ce_dest_ring_lowmark_set
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_ath10k_ce_dest_ring_highmark_set
	movq	_ATH10K_DBG_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %r9d
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_ath10k_dbg
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_BOOT,4,2            ## @ATH10K_DBG_BOOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"boot ce dest ring id %d entries %d base_addr %pK\n"

	.no_dead_strip	_ath10k_ce_init_dest_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_ce_init_dest_ring
_ath10k_ce_init_dest_ring:              ; @ath10k_ce_init_dest_ring
	.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, x2
	mov	x19, x1
	mov	x20, x0
	bl	_ath10k_ce_priv
	ldr	x8, [x0]
	ldr	x23, [x8, w19, uxtw #3]
	mov	x0, x20
	mov	x1, x19
	bl	_ath10k_ce_base_address
	mov	x22, x0
	ldr	w0, [x21]
	bl	_roundup_pow_of_two
	mov	x21, x0
	ldr	w0, [x23]
	lsl	w2, w21, #2
	mov	w1, #0
	bl	_memset
	mov	x0, x20
	mov	x1, x22
	bl	_ath10k_ce_dest_ring_read_index_get
	ldr	w8, [x23, #8]
	and	w8, w8, w0
	str	w8, [x23, #16]
	mov	x0, x20
	mov	x1, x22
	bl	_ath10k_ce_dest_ring_write_index_get
	ldp	w2, w8, [x23, #4]
	and	w8, w8, w0
	str	w8, [x23, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_ath10k_ce_dest_ring_base_addr_set
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_ath10k_ce_dest_ring_size_set
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	bl	_ath10k_ce_dest_ring_byte_swap_set
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	bl	_ath10k_ce_dest_ring_lowmark_set
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_ath10k_ce_dest_ring_highmark_set
Lloh0:
	adrp	x8, _ATH10K_DBG_BOOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_DBG_BOOT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w5, [x23]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	mov	x4, x21
	bl	_ath10k_dbg
	mov	w0, #0
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_BOOT,4,2            ; @ATH10K_DBG_BOOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"boot ce dest ring id %d entries %d base_addr %pK\n"

	.no_dead_strip	_ath10k_ce_init_dest_ring
.subsections_via_symbols
