	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_mci_send_coex_bt_flags
_ar9003_mci_send_coex_bt_flags:         ## @ar9003_mci_send_coex_bt_flags
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_MCI_GPM_COEX_AGENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MCI_GPM_COEX_BT_UPDATE_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_MCI_GPM_SET_TYPE_OPCODE
	movq	_MCI_GPM_COEX_B_BT_FLAGS_OP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%r13d, -64(%rbp,%rax,4)
	movzbl	%bl, %eax
	movq	_MCI_GPM_COEX_W_BT_FLAGS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -64(%rbp,%rcx,4)
	movzbl	%bh, %eax
	movl	%eax, -60(%rbp,%rcx,4)
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, -56(%rbp,%rcx,4)
	shrl	$24, %ebx
	movl	%ebx, -52(%rbp,%rcx,4)
	movq	_MCI_GPM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movl	$16, %r8d
	movl	%r14d, %r9d
	callq	_ar9003_mci_send_message
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_GPM_COEX_AGENT,4,2         ## @MCI_GPM_COEX_AGENT
	.comm	_MCI_GPM_COEX_BT_UPDATE_FLAGS,4,2 ## @MCI_GPM_COEX_BT_UPDATE_FLAGS
	.comm	_MCI_GPM_COEX_B_BT_FLAGS_OP,4,2 ## @MCI_GPM_COEX_B_BT_FLAGS_OP
	.comm	_MCI_GPM_COEX_W_BT_FLAGS,4,2    ## @MCI_GPM_COEX_W_BT_FLAGS
	.comm	_MCI_GPM,4,2                    ## @MCI_GPM
	.no_dead_strip	_ar9003_mci_send_coex_bt_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ar9003_mci_send_coex_bt_flags
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ar9003_mci_send_coex_bt_flags:         ; @ar9003_mci_send_coex_bt_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	stp	xzr, xzr, [sp, #8]
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_BT_UPDATE_FLAGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCI_GPM_COEX_BT_UPDATE_FLAGS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x23, sp, #8
	add	x0, sp, #8
	bl	_MCI_GPM_SET_TYPE_OPCODE
Lloh9:
	adrp	x8, _MCI_GPM_COEX_B_BT_FLAGS_OP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MCI_GPM_COEX_B_BT_FLAGS_OP@GOTPAGEOFF]
Lloh11:
	ldrsw	x8, [x8]
	str	w20, [x23, x8, lsl #2]
	and	w8, w19, #0xff
Lloh12:
	adrp	x9, _MCI_GPM_COEX_W_BT_FLAGS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MCI_GPM_COEX_W_BT_FLAGS@GOTPAGEOFF]
Lloh14:
	ldrsw	x9, [x9]
	add	x9, x23, x9, lsl #2
	dup.2s	v0, w19
	str	w8, [x9]
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [x9, #4]
	lsr	w8, w19, #24
	str	w8, [x9, #12]
Lloh17:
	adrp	x8, _MCI_GPM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MCI_GPM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x22
	mov	w2, #0
	mov	w4, #16
	mov	x5, x21
	mov	w6, #1
	bl	_ar9003_mci_send_message
	ldr	x8, [sp, #24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_GPM_COEX_AGENT,4,2         ; @MCI_GPM_COEX_AGENT
	.comm	_MCI_GPM_COEX_BT_UPDATE_FLAGS,4,2 ; @MCI_GPM_COEX_BT_UPDATE_FLAGS
	.comm	_MCI_GPM_COEX_B_BT_FLAGS_OP,4,2 ; @MCI_GPM_COEX_B_BT_FLAGS_OP
	.comm	_MCI_GPM_COEX_W_BT_FLAGS,4,2    ; @MCI_GPM_COEX_W_BT_FLAGS
	.comm	_MCI_GPM,4,2                    ; @MCI_GPM
	.no_dead_strip	_ar9003_mci_send_coex_bt_flags
.subsections_via_symbols
