	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dump_ini_txf_iter
_iwl_dump_ini_txf_iter:                 ## @iwl_dump_ini_txf_iter
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rdx), %r13
	movq	24(%rsi), %rdi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	8(%r14), %rdi
	callq	_le32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_iwl_ini_txf_iter
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	(%r15), %edi
	leaq	-72(%rbp), %rsi
	callq	_iwl_trans_grab_nic_access
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	shll	$4, %ebx
	movl	4(%r15), %edi
	callq	_cpu_to_le32
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
	movq	8(%r14), %rax
	movq	%rax, 8(%rcx)
	movl	8(%r15), %edi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	addl	%ebx, %edi
	callq	_cpu_to_le32
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_TXF_LARC_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rbx
	addl	%ebx, %esi
	movl	(%r15), %edi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %edx
	callq	_iwl_write_prph_no_grab
	movq	8(%r14), %rdi
	callq	_le32_to_cpu
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r12), %ebx
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	%ebx, %esi
	movq	%r12, %rbx
	callq	_iwl_read_prph_no_grab
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r13)
	addq	$16, %r13
	incq	%r15
	movq	8(%r14), %rdi
	callq	_le32_to_cpu
	cltq
	cmpq	%rax, %r15
	jl	LBB0_7
LBB0_8:
	cmpq	$0, (%r14)
	je	LBB0_10
## %bb.9:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, (%r15)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_10:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %edi
	movq	_TXF_READ_MODIFY_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%ebx, %esi
	movq	_TXF_WR_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%ebx, %edx
	callq	_iwl_write_prph_no_grab
	movl	(%r12), %edi
	movq	_TXF_READ_MODIFY_DATA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	addl	%ebx, %esi
	callq	_iwl_read_prph_no_grab
	cmpl	$0, 8(%r12)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_13
## %bb.11:
	movl	(%r14), %r14d
	addl	%ebx, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	%r14d, %esi
	callq	_iwl_read_prph_no_grab
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13,%rbx)
	addq	$4, %rbx
	cmpl	8(%r12), %ebx
	jl	LBB0_12
LBB0_13:
	movl	(%r12), %edi
	leaq	-72(%rbp), %rsi
	callq	_iwl_trans_release_nic_access
	movq	(%r15), %rdi
	callq	_le32_to_cpu
	addl	$32, %eax
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_TXF_LARC_NUM,4,2               ## @TXF_LARC_NUM
	.comm	_TXF_READ_MODIFY_ADDR,4,2       ## @TXF_READ_MODIFY_ADDR
	.comm	_TXF_WR_PTR,4,2                 ## @TXF_WR_PTR
	.comm	_TXF_READ_MODIFY_DATA,4,2       ## @TXF_READ_MODIFY_DATA
	.no_dead_strip	_iwl_dump_ini_txf_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_dump_ini_txf_iter
_iwl_dump_ini_txf_iter:                 ; @iwl_dump_ini_txf_iter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x24, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x25, [x2, #24]
	ldr	x0, [x1, #24]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	x0, [x22, #8]
	bl	_le32_to_cpu
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_iwl_ini_txf_iter
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_iwl_trans_grab_nic_access
	cbz	w0, LBB0_8
; %bb.2:
	lsl	w23, w23, #4
	ldr	w0, [x20, #4]
	bl	_cpu_to_le32
	ldr	x8, [x22, #8]
	stp	x8, x0, [x19, #8]
	ldr	w8, [x20, #8]
	add	w0, w8, w23
	bl	_cpu_to_le32
	str	x0, [x19]
Lloh0:
	adrp	x8, _TXF_LARC_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXF_LARC_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w1, w8, w21
	ldp	w0, w2, [x20]
	bl	_iwl_write_prph_no_grab
	ldr	x0, [x22, #8]
	bl	_le32_to_cpu
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x26, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x26, lsl #3]
	bl	_le32_to_cpu
	add	w24, w0, w21
	mov	x0, x24
	bl	_cpu_to_le32
	str	x0, [x25, #8]
	ldr	w0, [x20]
	mov	x1, x24
	bl	_iwl_read_prph_no_grab
	bl	_cpu_to_le32
	str	x0, [x25], #16
	add	x26, x26, #1
	ldr	x0, [x22, #8]
	bl	_le32_to_cpu
	cmp	x26, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.6:
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x19]
	b	LBB0_13
LBB0_7:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_10:
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _TXF_READ_MODIFY_ADDR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TXF_READ_MODIFY_ADDR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	add	w1, w8, w21
Lloh10:
	adrp	x8, _TXF_WR_PTR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TXF_WR_PTR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	add	w2, w8, w21
	bl	_iwl_write_prph_no_grab
	ldr	w0, [x20]
Lloh13:
	adrp	x23, _TXF_READ_MODIFY_DATA@GOTPAGE
Lloh14:
	ldr	x23, [x23, _TXF_READ_MODIFY_DATA@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w1, w8, w21
	bl	_iwl_read_prph_no_grab
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x22, #0
	ldr	w8, [x23]
	add	w21, w8, w21
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x21
	bl	_iwl_read_prph_no_grab
	bl	_cpu_to_le32
	str	w0, [x25, x22]
	ldr	w8, [x20, #8]
	add	x22, x22, #4
	cmp	w22, w8
	b.lt	LBB0_12
LBB0_13:
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_iwl_trans_release_nic_access
	ldr	x0, [x19]
	bl	_le32_to_cpu
	add	w0, w0, #32
LBB0_14:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_TXF_LARC_NUM,4,2               ; @TXF_LARC_NUM
	.comm	_TXF_READ_MODIFY_ADDR,4,2       ; @TXF_READ_MODIFY_ADDR
	.comm	_TXF_WR_PTR,4,2                 ; @TXF_WR_PTR
	.comm	_TXF_READ_MODIFY_DATA,4,2       ; @TXF_READ_MODIFY_DATA
	.no_dead_strip	_iwl_dump_ini_txf_iter
.subsections_via_symbols
