	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_ini_txf_iter
_iwl_ini_txf_iter:                      ## @iwl_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	8(%rdi), %r15d
	movq	16(%rdi), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r14d
	movl	4(%r13), %edi
	callq	_le32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	jne	LBB0_4
## %bb.1:
	movl	(%r13), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	xorl	%r12d, %r12d
	cmpl	$1, 12(%rbx)
	sete	%r12b
	movl	(%r13), %edi
	callq	_le32_to_cpu
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	callq	_WARN_ONCE
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_10
LBB0_3:
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	movq	%rax, 32(%rbx)
	movq	$0, 48(%rbx)
	movl	(%r13), %edi
	callq	_le32_to_cpu
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, 40(%rbx)
LBB0_4:
	cmpl	$0, 32(%rbx)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_5
LBB0_11:
	movl	$1, 32(%rbx)
	movq	(%rbx), %rdi
	movq	_IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fw_has_capa
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_10
## %bb.12:
	addl	%r15d, %r14d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movl	36(%rbx), %eax
LBB0_14:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%eax
	movl	%eax, 36(%rbx)
	cmpl	%r14d, %eax
	jge	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	16(%rbx), %rcx
	movl	%eax, %edx
	subl	%r15d, %edx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rcx, 48(%rbx)
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movslq	%eax, %rdi
	callq	_BIT
	testl	%r13d, %eax
	je	LBB0_13
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	36(%rbx), %eax
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%eax
	movl	%eax, 36(%rbx)
	cmpl	%r15d, %eax
	jge	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	24(%rbx), %rcx
	movslq	40(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movslq	%eax, %rdi
	movq	(%rcx,%rdi,8), %rcx
	movq	%rcx, 48(%rbx)
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_BIT
	testl	%r13d, %eax
	je	LBB0_5
LBB0_9:
	movl	$1, %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %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	"Invalid lmac offset: 0x%x\n"

	.comm	_IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG,4,2 ## @IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG
	.no_dead_strip	_iwl_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_ini_txf_iter
_iwl_ini_txf_iter:                      ; @iwl_ini_txf_iter
	.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	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w24, [x0, #8]
	ldr	x0, [x0, #16]
	bl	_ARRAY_SIZE
	mov	x21, x0
	ldr	w0, [x22, #4]
	bl	_le32_to_cpu
	mov	x20, x0
	cbz	w23, LBB0_8
; %bb.1:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_12
LBB0_2:
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x19, #36]
	cmp	w8, w24
	b.ge	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #24]
	ldrsw	x10, [x19, #40]
	ldr	x9, [x9, x10, lsl #3]
	ldr	x9, [x9, w8, sxtw #3]
	str	x9, [x19, #48]
	cbz	x9, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x0, w8
	bl	_BIT
	tst	w0, w20
	b.ne	LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #36]
	b	LBB0_3
LBB0_8:
	ldr	w0, [x22]
	bl	_le32_to_cpu
	cbz	w0, LBB0_11
; %bb.9:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	cset	w23, eq
	ldr	w0, [x22]
	bl	_le32_to_cpu
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_WARN_ONCE
	cbz	x0, LBB0_11
LBB0_10:
	mov	w0, #0
	b	LBB0_20
LBB0_11:
	str	xzr, [x19, #48]
	movi	d0, #0xffffffff00000000
	str	d0, [x19, #32]
	ldr	w0, [x22]
	bl	_le32_to_cpu
	cmp	w0, #0
	cset	w8, ne
	str	w8, [x19, #40]
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_2
LBB0_12:
	mov	w8, #1
	str	w8, [x19, #32]
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_fw_has_capa
	cbz	w0, LBB0_20
; %bb.13:
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
	add	w21, w21, w24
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x19, #36]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w8, w8, #1
	str	w8, [x19, #36]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cmp	w8, w21
	b.ge	LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x19, #16]
	sub	w10, w8, w24
	ldr	x9, [x9, w10, sxtw #3]
	str	x9, [x19, #48]
	cbz	x9, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	sxtw	x0, w8
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_14
LBB0_19:
	mov	w0, #1
LBB0_20:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid lmac offset: 0x%x\n"

	.comm	_IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG,4,2 ; @IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG
	.no_dead_strip	_iwl_ini_txf_iter
.subsections_via_symbols
