	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_fw_dma_command_block_index
_ipw_fw_dma_command_block_index:        ## @ipw_fw_dma_command_block_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_IPW_DEBUG_FW
	movq	_IPW_DMA_I_CURRENT_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipw_read_reg32
	movq	_IPW_SHARED_SRAM_DMA_CONTROL@GOTPCREL(%rip), %rcx
	movl	%eax, %ebx
	subl	(%rcx), %ebx
	sarl	$2, %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_IPW_DEBUG_FW_INFO
	leaq	L_.str.2(%rip), %rdi
	callq	_IPW_DEBUG_FW
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<< :\n"

	.comm	_IPW_DMA_I_CURRENT_CB,4,2       ## @IPW_DMA_I_CURRENT_CB
	.comm	_IPW_SHARED_SRAM_DMA_CONTROL,4,2 ## @IPW_SHARED_SRAM_DMA_CONTROL
L_.str.1:                               ## @.str.1
	.asciz	"Current CB index 0x%x address = 0x%X\n"

L_.str.2:                               ## @.str.2
	.asciz	">> :\n"

	.no_dead_strip	_ipw_fw_dma_command_block_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_fw_dma_command_block_index
_ipw_fw_dma_command_block_index:        ; @ipw_fw_dma_command_block_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPW_DEBUG_FW
Lloh2:
	adrp	x8, _IPW_DMA_I_CURRENT_CB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IPW_DMA_I_CURRENT_CB@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ipw_read_reg32
	mov	x2, x0
Lloh5:
	adrp	x8, _IPW_SHARED_SRAM_DMA_CONTROL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPW_SHARED_SRAM_DMA_CONTROL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	sub	w8, w0, w8
	asr	w19, w8, #2
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_IPW_DEBUG_FW_INFO
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IPW_DEBUG_FW
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<< :\n"

	.comm	_IPW_DMA_I_CURRENT_CB,4,2       ; @IPW_DMA_I_CURRENT_CB
	.comm	_IPW_SHARED_SRAM_DMA_CONTROL,4,2 ; @IPW_SHARED_SRAM_DMA_CONTROL
l_.str.1:                               ; @.str.1
	.asciz	"Current CB index 0x%x address = 0x%X\n"

l_.str.2:                               ; @.str.2
	.asciz	">> :\n"

	.no_dead_strip	_ipw_fw_dma_command_block_index
.subsections_via_symbols
