	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_mci_send_coex_wlan_channels
_ar9003_mci_send_coex_wlan_channels:    ## @ar9003_mci_send_coex_wlan_channels
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_MCI_BT_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%esi, %r14d
	movq	16(%rbx), %r15
	movq	_MCI_GPM_COEX_AGENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MCI_GPM_COEX_WLAN_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_MCI_GPM_SET_TYPE_OPCODE
	movq	_MCI_GPM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, (%rsp)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	$16, %r8d
	movl	%r14d, %r9d
	callq	_ar9003_mci_send_message
	movq	%r15, %rdi
	movl	$255, %esi
	movl	$255, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MCI_GPM_SET_TYPE_OPCODE        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_BT_SLEEP,8,3               ## @MCI_BT_SLEEP
	.comm	_MCI_GPM_COEX_AGENT,4,2         ## @MCI_GPM_COEX_AGENT
	.comm	_MCI_GPM_COEX_WLAN_CHANNELS,4,2 ## @MCI_GPM_COEX_WLAN_CHANNELS
	.comm	_MCI_GPM,4,2                    ## @MCI_GPM
	.no_dead_strip	_ar9003_mci_send_coex_wlan_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_mci_send_coex_wlan_channels
_ar9003_mci_send_coex_wlan_channels:    ; @ar9003_mci_send_coex_wlan_channels
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MCI_BT_SLEEP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCI_BT_SLEEP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	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
LBB0_3:
	mov	x19, x1
	ldr	x21, [x20, #16]
Lloh3:
	adrp	x8, _MCI_GPM_COEX_AGENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCI_GPM_COEX_AGENT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _MCI_GPM_COEX_WLAN_CHANNELS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCI_GPM_COEX_WLAN_CHANNELS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_MCI_GPM_SET_TYPE_OPCODE
Lloh9:
	adrp	x8, _MCI_GPM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MCI_GPM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	x3, x21
	mov	w4, #16
	mov	x5, x19
	mov	w6, #1
	bl	_ar9003_mci_send_message
	mov	x0, x21
	mov	w1, #255
	mov	w2, #255
	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
	b	_MCI_GPM_SET_TYPE_OPCODE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_BT_SLEEP,8,3               ; @MCI_BT_SLEEP
	.comm	_MCI_GPM_COEX_AGENT,4,2         ; @MCI_GPM_COEX_AGENT
	.comm	_MCI_GPM_COEX_WLAN_CHANNELS,4,2 ; @MCI_GPM_COEX_WLAN_CHANNELS
	.comm	_MCI_GPM,4,2                    ; @MCI_GPM
	.no_dead_strip	_ar9003_mci_send_coex_wlan_channels
.subsections_via_symbols
