	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_btcoex_init_scheme    ## -- Begin function ath9k_hw_btcoex_init_scheme
	.p2align	4, 0x90
_ath9k_hw_btcoex_init_scheme:           ## @ath9k_hw_btcoex_init_scheme
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ath9k_hw_common
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.4:
	movq	_ATH9K_HW_CAP_MCI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.5:
	movq	_ATH_BTCOEX_CFG_MCI@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ATH_BTCOEX_CFG_NONE@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	callq	_AR_SREV_9300_20_OR_LATER
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_ATH_BTCOEX_CFG_3WIRE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_ATH_WLANACTIVE_GPIO_9300@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ATH_BTACTIVE_GPIO_9300@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ATH_BTPRIORITY_GPIO_9300@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	movq	%rbx, %rdi
	callq	_AR_SREV_9280_20_OR_LATER
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%rbx, %rdi
	callq	_AR_SREV_9285
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:
	movq	_ATH_BTCOEX_CFG_2WIRE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_ATH_BTCOEX_CFG_3WIRE@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_ATH_WLANACTIVE_GPIO_9280@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ATH_BTACTIVE_GPIO_9280@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ATH_BTPRIORITY_GPIO_9285@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ath9k_hw_btcoex_pin_init       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH_BTCOEX_CFG_NONE,8,3        ## @ATH_BTCOEX_CFG_NONE
	.comm	_ATH9K_HW_CAP_MCI,4,2           ## @ATH9K_HW_CAP_MCI
	.comm	_ATH_BTCOEX_CFG_MCI,8,3         ## @ATH_BTCOEX_CFG_MCI
	.comm	_ATH_BTCOEX_CFG_3WIRE,8,3       ## @ATH_BTCOEX_CFG_3WIRE
	.comm	_ATH_WLANACTIVE_GPIO_9300,4,2   ## @ATH_WLANACTIVE_GPIO_9300
	.comm	_ATH_BTACTIVE_GPIO_9300,4,2     ## @ATH_BTACTIVE_GPIO_9300
	.comm	_ATH_BTPRIORITY_GPIO_9300,4,2   ## @ATH_BTPRIORITY_GPIO_9300
	.comm	_ATH_BTCOEX_CFG_2WIRE,8,3       ## @ATH_BTCOEX_CFG_2WIRE
	.comm	_ATH_WLANACTIVE_GPIO_9280,4,2   ## @ATH_WLANACTIVE_GPIO_9280
	.comm	_ATH_BTACTIVE_GPIO_9280,4,2     ## @ATH_BTACTIVE_GPIO_9280
	.comm	_ATH_BTPRIORITY_GPIO_9285,4,2   ## @ATH_BTPRIORITY_GPIO_9285
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_btcoex_init_scheme    ; -- Begin function ath9k_hw_btcoex_init_scheme
	.p2align	2
_ath9k_hw_btcoex_init_scheme:           ; @ath9k_hw_btcoex_init_scheme
	.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
	mov	x19, x0
	bl	_ath9k_hw_common
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _ATH9K_HW_CAP_MCI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATH9K_HW_CAP_MCI@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _ATH_BTCOEX_CFG_MCI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH_BTCOEX_CFG_MCI@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _ATH_BTCOEX_CFG_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH_BTCOEX_CFG_NONE@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	bl	_AR_SREV_9300_20_OR_LATER
	cbz	x0, LBB0_8
; %bb.7:
Lloh7:
	adrp	x8, _ATH_BTCOEX_CFG_3WIRE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATH_BTCOEX_CFG_3WIRE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _ATH_WLANACTIVE_GPIO_9300@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ATH_WLANACTIVE_GPIO_9300@GOTPAGEOFF]
	str	x8, [x19, #8]
Lloh12:
	ldr	w1, [x9]
Lloh13:
	adrp	x8, _ATH_BTACTIVE_GPIO_9300@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATH_BTACTIVE_GPIO_9300@GOTPAGEOFF]
Lloh15:
	adrp	x9, _ATH_BTPRIORITY_GPIO_9300@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ATH_BTPRIORITY_GPIO_9300@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_AR_SREV_9280_20_OR_LATER
	cbz	x0, LBB0_5
; %bb.9:
	mov	x0, x19
	bl	_AR_SREV_9285
Lloh17:
	adrp	x8, _ATH_BTCOEX_CFG_2WIRE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ATH_BTCOEX_CFG_2WIRE@GOTPAGEOFF]
Lloh19:
	adrp	x9, _ATH_BTCOEX_CFG_3WIRE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ATH_BTCOEX_CFG_3WIRE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _ATH_WLANACTIVE_GPIO_9280@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ATH_WLANACTIVE_GPIO_9280@GOTPAGEOFF]
	str	x8, [x19, #8]
Lloh23:
	ldr	w1, [x9]
Lloh24:
	adrp	x8, _ATH_BTACTIVE_GPIO_9280@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ATH_BTACTIVE_GPIO_9280@GOTPAGEOFF]
Lloh26:
	adrp	x9, _ATH_BTPRIORITY_GPIO_9285@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ATH_BTPRIORITY_GPIO_9285@GOTPAGEOFF]
LBB0_10:
	ldr	w2, [x8]
	ldr	w3, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath9k_hw_btcoex_pin_init
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH_BTCOEX_CFG_NONE,8,3        ; @ATH_BTCOEX_CFG_NONE
	.comm	_ATH9K_HW_CAP_MCI,4,2           ; @ATH9K_HW_CAP_MCI
	.comm	_ATH_BTCOEX_CFG_MCI,8,3         ; @ATH_BTCOEX_CFG_MCI
	.comm	_ATH_BTCOEX_CFG_3WIRE,8,3       ; @ATH_BTCOEX_CFG_3WIRE
	.comm	_ATH_WLANACTIVE_GPIO_9300,4,2   ; @ATH_WLANACTIVE_GPIO_9300
	.comm	_ATH_BTACTIVE_GPIO_9300,4,2     ; @ATH_BTACTIVE_GPIO_9300
	.comm	_ATH_BTPRIORITY_GPIO_9300,4,2   ; @ATH_BTPRIORITY_GPIO_9300
	.comm	_ATH_BTCOEX_CFG_2WIRE,8,3       ; @ATH_BTCOEX_CFG_2WIRE
	.comm	_ATH_WLANACTIVE_GPIO_9280,4,2   ; @ATH_WLANACTIVE_GPIO_9280
	.comm	_ATH_BTACTIVE_GPIO_9280,4,2     ; @ATH_BTACTIVE_GPIO_9280
	.comm	_ATH_BTPRIORITY_GPIO_9285,4,2   ; @ATH_BTPRIORITY_GPIO_9285
.subsections_via_symbols
