	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_init_he_hw_capab
_iwl_init_he_hw_capab:                  ## @iwl_init_he_hw_capab
	.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, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_iwl_he_capa@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	%rdi, 8(%r13)
	callq	_ARRAY_SIZE
	movl	%eax, (%r13)
	andl	%r14d, %r15d
	movq	_ANT_AB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	je	LBB0_4
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	movq	_IEEE80211_HE_PHY_CAP1_MIDAMBLE_RX_TX_MAX_NSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r12), %rcx
	movq	_IEEE80211_HE_PHY_CAP2_MIDAMBLE_RX_TX_MAX_NSTS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	movq	_IEEE80211_HE_PHY_CAP7_MAX_NC_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	notl	%esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdi,8), %rbx
	andl	%eax, 4(%rbx)
	andl	%edx, 8(%rbx)
	andl	%esi, 28(%rbx)
	incq	%rdi
	movslq	(%r13), %rbx
	cmpq	%rbx, %rdi
	jl	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iwl_he_capa,8,3                ## @iwl_he_capa
	.comm	_ANT_AB,4,2                     ## @ANT_AB
	.comm	_IEEE80211_HE_PHY_CAP1_MIDAMBLE_RX_TX_MAX_NSTS,4,2 ## @IEEE80211_HE_PHY_CAP1_MIDAMBLE_RX_TX_MAX_NSTS
	.comm	_IEEE80211_HE_PHY_CAP2_MIDAMBLE_RX_TX_MAX_NSTS,4,2 ## @IEEE80211_HE_PHY_CAP2_MIDAMBLE_RX_TX_MAX_NSTS
	.comm	_IEEE80211_HE_PHY_CAP7_MAX_NC_MASK,4,2 ## @IEEE80211_HE_PHY_CAP7_MAX_NC_MASK
	.no_dead_strip	_iwl_init_he_hw_capab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_init_he_hw_capab
_iwl_init_he_hw_capab:                  ; @iwl_init_he_hw_capab
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _iwl_he_capa@GOTPAGE
Lloh1:
	ldr	x22, [x22, _iwl_he_capa@GOTPAGEOFF]
	ldr	x0, [x22]
	str	x0, [x19, #8]
	bl	_ARRAY_SIZE
	str	w0, [x19]
	and	w8, w20, w21
Lloh2:
	adrp	x9, _ANT_AB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ANT_AB@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	ccmp	w0, #1, #8, ne
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
Lloh5:
	adrp	x9, _IEEE80211_HE_PHY_CAP1_MIDAMBLE_RX_TX_MAX_NSTS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_HE_PHY_CAP1_MIDAMBLE_RX_TX_MAX_NSTS@GOTPAGEOFF]
Lloh7:
	adrp	x10, _IEEE80211_HE_PHY_CAP2_MIDAMBLE_RX_TX_MAX_NSTS@GOTPAGE
Lloh8:
	ldr	x10, [x10, _IEEE80211_HE_PHY_CAP2_MIDAMBLE_RX_TX_MAX_NSTS@GOTPAGEOFF]
Lloh9:
	ldr	s0, [x9]
	ld1.s	{ v0 }[1], [x10]
	ldr	x9, [x22]
	mvn.8b	v0, v0
Lloh10:
	adrp	x10, _IEEE80211_HE_PHY_CAP7_MAX_NC_MASK@GOTPAGE
Lloh11:
	ldr	x10, [x10, _IEEE80211_HE_PHY_CAP7_MAX_NC_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	mvn	w10, w10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, x8, lsl #3]
	ldur	d1, [x11, #4]
	and.8b	v1, v1, v0
	stur	d1, [x11, #4]
	ldr	w12, [x11, #28]
	and	w12, w12, w10
	str	w12, [x11, #28]
	add	x8, x8, #1
	ldrsw	x11, [x19]
	cmp	x8, x11
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_iwl_he_capa,8,3                ; @iwl_he_capa
	.comm	_ANT_AB,4,2                     ; @ANT_AB
	.comm	_IEEE80211_HE_PHY_CAP1_MIDAMBLE_RX_TX_MAX_NSTS,4,2 ; @IEEE80211_HE_PHY_CAP1_MIDAMBLE_RX_TX_MAX_NSTS
	.comm	_IEEE80211_HE_PHY_CAP2_MIDAMBLE_RX_TX_MAX_NSTS,4,2 ; @IEEE80211_HE_PHY_CAP2_MIDAMBLE_RX_TX_MAX_NSTS
	.comm	_IEEE80211_HE_PHY_CAP7_MAX_NC_MASK,4,2 ; @IEEE80211_HE_PHY_CAP7_MAX_NC_MASK
	.no_dead_strip	_iwl_init_he_hw_capab
.subsections_via_symbols
