	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dump_paging
_iwl_dump_paging:                       ## @iwl_dump_paging
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_IWL_DEBUG_INFO
	cmpl	$0, (%rbx)
	jle	LBB0_3
## %bb.1:
	movl	$24, %r14d
	xorl	%r12d, %r12d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	-8(%rax,%r14), %r15d
	movq	_IWL_FW_ERROR_DUMP_PAGING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	(%r13), %rcx
	movq	%rax, 16(%rcx)
	movq	_PAGING_BLOCK_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	$16, %edi
	callq	_cpu_to_le32
	movq	(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	(%r13), %rax
	movq	(%rax), %r13
	incq	%r12
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %esi
	callq	_dma_sync_single_for_cpu
	movl	(%r13), %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_page_address
	movl	(%rbx), %edx
	movl	%r13d, %edi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_memcpy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_dma_sync_single_for_device
	movq	(%r13), %rdi
	callq	_iwl_fw_error_next_data
	movq	%rax, (%r13)
	movslq	(%rbx), %rax
	addq	$16, %r14
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	addq	$24, %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	"WRT paging dump\n"

	.comm	_IWL_FW_ERROR_DUMP_PAGING,4,2   ## @IWL_FW_ERROR_DUMP_PAGING
	.comm	_PAGING_BLOCK_SIZE,4,2          ## @PAGING_BLOCK_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.no_dead_strip	_iwl_dump_paging
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_dump_paging
_iwl_dump_paging:                       ; @iwl_dump_paging
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_IWL_DEBUG_INFO
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x25, #0
	mov	x21, #0
Lloh2:
	adrp	x26, _IWL_FW_ERROR_DUMP_PAGING@GOTPAGE
Lloh3:
	ldr	x26, [x26, _IWL_FW_ERROR_DUMP_PAGING@GOTPAGEOFF]
Lloh4:
	adrp	x27, _PAGING_BLOCK_SIZE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _PAGING_BLOCK_SIZE@GOTPAGEOFF]
Lloh6:
	adrp	x28, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh7:
	ldr	x28, [x28, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	add	x8, x8, x25
	ldr	x22, [x8, #24]
	ldr	w23, [x8, #16]
	ldr	w0, [x26]
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8, #16]
	ldr	w8, [x27]
	add	w0, w8, #16
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	x8, [x19]
	ldr	x24, [x8]
	add	x21, x21, #1
	mov	x0, x21
	bl	_cpu_to_le32
	str	x0, [x24, #8]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w2, [x27]
	ldr	w3, [x28]
	mov	x1, x23
	bl	_dma_sync_single_for_cpu
	ldr	w24, [x24]
	mov	x0, x22
	bl	_page_address
	mov	x1, x0
	ldr	w2, [x27]
	mov	x0, x24
	bl	_memcpy
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w2, [x27]
	ldr	w3, [x28]
	mov	x1, x23
	bl	_dma_sync_single_for_device
	ldr	x0, [x19]
	bl	_iwl_fw_error_next_data
	str	x0, [x19]
	ldrsw	x8, [x20]
	add	x25, x25, #16
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WRT paging dump\n"

	.comm	_IWL_FW_ERROR_DUMP_PAGING,4,2   ; @IWL_FW_ERROR_DUMP_PAGING
	.comm	_PAGING_BLOCK_SIZE,4,2          ; @PAGING_BLOCK_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.no_dead_strip	_iwl_dump_paging
.subsections_via_symbols
