	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_scan_rx_chain
_iwl_mvm_scan_rx_chain:                 ## @iwl_mvm_scan_rx_chain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_iwl_mvm_scan_rx_ant
	movq	_PHY_RX_CHAIN_VALID_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	shll	%cl, %edx
	movq	_PHY_RX_CHAIN_FORCE_MIMO_SEL_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edi
	shll	%cl, %edi
	orl	%edx, %edi
	movq	_PHY_RX_CHAIN_FORCE_SEL_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %edi
	movq	_PHY_RX_CHAIN_DRIVER_FORCE_POS@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	popq	%rbp
	jmp	_cpu_to_le16                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_RX_CHAIN_VALID_POS,4,2     ## @PHY_RX_CHAIN_VALID_POS
	.comm	_PHY_RX_CHAIN_FORCE_MIMO_SEL_POS,4,2 ## @PHY_RX_CHAIN_FORCE_MIMO_SEL_POS
	.comm	_PHY_RX_CHAIN_FORCE_SEL_POS,4,2 ## @PHY_RX_CHAIN_FORCE_SEL_POS
	.comm	_PHY_RX_CHAIN_DRIVER_FORCE_POS,4,2 ## @PHY_RX_CHAIN_DRIVER_FORCE_POS
	.no_dead_strip	_iwl_mvm_scan_rx_chain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_scan_rx_chain
_iwl_mvm_scan_rx_chain:                 ; @iwl_mvm_scan_rx_chain
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_iwl_mvm_scan_rx_ant
Lloh0:
	adrp	x8, _PHY_RX_CHAIN_VALID_POS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_RX_CHAIN_VALID_POS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w0, w8
Lloh3:
	adrp	x9, _PHY_RX_CHAIN_FORCE_MIMO_SEL_POS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_RX_CHAIN_FORCE_MIMO_SEL_POS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w0, w9
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _PHY_RX_CHAIN_FORCE_SEL_POS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PHY_RX_CHAIN_FORCE_SEL_POS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w0, w9
Lloh9:
	adrp	x10, _PHY_RX_CHAIN_DRIVER_FORCE_POS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PHY_RX_CHAIN_DRIVER_FORCE_POS@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_cpu_to_le16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_RX_CHAIN_VALID_POS,4,2     ; @PHY_RX_CHAIN_VALID_POS
	.comm	_PHY_RX_CHAIN_FORCE_MIMO_SEL_POS,4,2 ; @PHY_RX_CHAIN_FORCE_MIMO_SEL_POS
	.comm	_PHY_RX_CHAIN_FORCE_SEL_POS,4,2 ; @PHY_RX_CHAIN_FORCE_SEL_POS
	.comm	_PHY_RX_CHAIN_DRIVER_FORCE_POS,4,2 ; @PHY_RX_CHAIN_DRIVER_FORCE_POS
	.no_dead_strip	_iwl_mvm_scan_rx_chain
.subsections_via_symbols
