	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_bluetooth_coext_enable
_b43_bluetooth_coext_enable:            ## @b43_bluetooth_coext_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_modparam_btcoex@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	_B43_BFL_BTCOEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.2:
	movq	(%rbx), %rax
	movq	_B43_PHYTYPE_B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	cmpl	$0, 8(%rbx)
	je	LBB0_8
LBB0_4:
	movq	%rbx, %rdi
	callq	_b43_hf_read
	movq	_B43_BFL_BTCMOD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r14), %ecx
	jne	LBB0_5
## %bb.6:
	movq	_B43_HF_BTCOEX@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_B43_HF_BTCOEXALT@GOTPCREL(%rip), %rcx
LBB0_7:
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_hf_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_modparam_btcoex,4,2            ## @modparam_btcoex
	.comm	_B43_BFL_BTCOEXIST,4,2          ## @B43_BFL_BTCOEXIST
	.comm	_B43_PHYTYPE_B,8,3              ## @B43_PHYTYPE_B
	.comm	_B43_BFL_BTCMOD,4,2             ## @B43_BFL_BTCMOD
	.comm	_B43_HF_BTCOEXALT,4,2           ## @B43_HF_BTCOEXALT
	.comm	_B43_HF_BTCOEX,4,2              ## @B43_HF_BTCOEX
	.no_dead_strip	_b43_bluetooth_coext_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_bluetooth_coext_enable
_b43_bluetooth_coext_enable:            ; @b43_bluetooth_coext_enable
	.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
Lloh0:
	adrp	x8, _modparam_btcoex@GOTPAGE
Lloh1:
	ldr	x8, [x8, _modparam_btcoex@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _B43_BFL_BTCOEXIST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _B43_BFL_BTCOEXIST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _B43_PHYTYPE_B@GOTPAGE
Lloh7:
	ldr	x9, [x9, _B43_PHYTYPE_B@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_b43_hf_read
Lloh9:
	adrp	x8, _B43_BFL_BTCMOD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_BFL_BTCMOD@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x10, _B43_HF_BTCOEX@GOTPAGE
Lloh13:
	ldr	x10, [x10, _B43_HF_BTCOEX@GOTPAGEOFF]
Lloh14:
	adrp	x11, _B43_HF_BTCOEXALT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _B43_HF_BTCOEXALT@GOTPAGEOFF]
	tst	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_hf_write
LBB0_5:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_modparam_btcoex,4,2            ; @modparam_btcoex
	.comm	_B43_BFL_BTCOEXIST,4,2          ; @B43_BFL_BTCOEXIST
	.comm	_B43_PHYTYPE_B,8,3              ; @B43_PHYTYPE_B
	.comm	_B43_BFL_BTCMOD,4,2             ; @B43_BFL_BTCMOD
	.comm	_B43_HF_BTCOEXALT,4,2           ; @B43_HF_BTCOEXALT
	.comm	_B43_HF_BTCOEX,4,2              ; @B43_HF_BTCOEX
	.no_dead_strip	_b43_bluetooth_coext_enable
.subsections_via_symbols
