	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_get_coex_type
_iwl_get_coex_type:                     ## @iwl_get_coex_type
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%rbx), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rax), %rcx
	movq	(%rcx), %rcx
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.3:
	movq	_BT_COEX_TX_DIS_LUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	16(%r14), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_8
## %bb.4:
	movq	(%rax), %rax
	movq	(%rax), %r12
	movl	12(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, %r15
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	cmpq	%r15, %r12
	jne	LBB0_6
## %bb.5:
	addq	$4, %r14
	jmp	LBB0_7
LBB0_2:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_BT_COEX_INVALID_LUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_6:
	cmpq	%rax, %r12
	jne	LBB0_8
LBB0_7:
	movl	(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, %rbx
LBB0_8:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_BT_COEX_INVALID_LUT,4,2        ## @BT_COEX_INVALID_LUT
	.comm	_BT_COEX_TX_DIS_LUT,4,2         ## @BT_COEX_TX_DIS_LUT
	.no_dead_strip	_iwl_get_coex_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_get_coex_type
_iwl_get_coex_type:                     ; @iwl_get_coex_type
	.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, x1
	mov	x19, x0
	bl	_rcu_read_lock
	ldr	w0, [x20]
	bl	_rcu_dereference
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _BT_COEX_TX_DIS_LUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BT_COEX_TX_DIS_LUT@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.3:
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldr	w0, [x19, #12]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_le32_to_cpu
	cmp	x22, x21
	b.ne	LBB0_6
; %bb.4:
	add	x19, x19, #4
	b	LBB0_7
LBB0_5:
	bl	_rcu_read_unlock
Lloh6:
	adrp	x8, _BT_COEX_INVALID_LUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BT_COEX_INVALID_LUT@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_9
LBB0_6:
	cmp	x22, x0
	b.ne	LBB0_8
LBB0_7:
	ldr	w0, [x19]
	bl	_le32_to_cpu
	mov	x20, x0
LBB0_8:
	bl	_rcu_read_unlock
LBB0_9:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_BT_COEX_INVALID_LUT,4,2        ; @BT_COEX_INVALID_LUT
	.comm	_BT_COEX_TX_DIS_LUT,4,2         ; @BT_COEX_TX_DIS_LUT
	.no_dead_strip	_iwl_get_coex_type
.subsections_via_symbols
