	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_get_active_rx_chain_count
_iwl_get_active_rx_chain_count:         ## @iwl_get_active_rx_chain_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_IWL_NUM_RX_CHAINS_SINGLE@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rdi)
	jne	LBB0_7
## %bb.3:
	movq	(%rdi), %rcx
	movq	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_7
LBB0_4:
	callq	_is_single_rx_stream
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_IWL_NUM_RX_CHAINS_MULTIPLE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_IWL_NUM_RX_CHAINS_SINGLE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH,8,3 ## @IWL_BT_COEX_TRAFFIC_LOAD_HIGH
	.comm	_IWL_NUM_RX_CHAINS_SINGLE,4,2   ## @IWL_NUM_RX_CHAINS_SINGLE
	.comm	_IWL_NUM_RX_CHAINS_MULTIPLE,4,2 ## @IWL_NUM_RX_CHAINS_MULTIPLE
	.no_dead_strip	_iwl_get_active_rx_chain_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_get_active_rx_chain_count
_iwl_get_active_rx_chain_count:         ; @iwl_get_active_rx_chain_count
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
LBB0_4:
Lloh3:
	adrp	x19, _IWL_NUM_RX_CHAINS_SINGLE@GOTPAGE
Lloh4:
	ldr	x19, [x19, _IWL_NUM_RX_CHAINS_SINGLE@GOTPAGEOFF]
	bl	_is_single_rx_stream
Lloh5:
	adrp	x8, _IWL_NUM_RX_CHAINS_MULTIPLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IWL_NUM_RX_CHAINS_MULTIPLE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x19, eq
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _IWL_NUM_RX_CHAINS_SINGLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IWL_NUM_RX_CHAINS_SINGLE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH,8,3 ; @IWL_BT_COEX_TRAFFIC_LOAD_HIGH
	.comm	_IWL_NUM_RX_CHAINS_SINGLE,4,2   ; @IWL_NUM_RX_CHAINS_SINGLE
	.comm	_IWL_NUM_RX_CHAINS_MULTIPLE,4,2 ; @IWL_NUM_RX_CHAINS_MULTIPLE
	.no_dead_strip	_iwl_get_active_rx_chain_count
.subsections_via_symbols
