	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_mci_send_coex_halt_bt_gpm
_ar9003_mci_send_coex_halt_bt_gpm:      ## @ar9003_mci_send_coex_halt_bt_gpm
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	_MCI_GPM_COEX_AGENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MCI_GPM_COEX_HALT_BT_GPM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	callq	_MCI_GPM_SET_TYPE_OPCODE
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.2:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movl	$1, 8(%rbx)
	movq	_MCI_GPM_COEX_BT_GPM_HALT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MCI_GPM_COEX_BT_GPM_UNHALT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_MCI_GPM_COEX_B_HALT_STATE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -48(%rbp,%rcx,4)
	movq	_MCI_GPM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, (%rsp)
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$16, %r8d
	movl	%r14d, %r9d
	callq	_ar9003_mci_send_message
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_GPM_COEX_AGENT,4,2         ## @MCI_GPM_COEX_AGENT
	.comm	_MCI_GPM_COEX_HALT_BT_GPM,4,2   ## @MCI_GPM_COEX_HALT_BT_GPM
	.comm	_MCI_GPM_COEX_BT_GPM_HALT,4,2   ## @MCI_GPM_COEX_BT_GPM_HALT
	.comm	_MCI_GPM_COEX_B_HALT_STATE,4,2  ## @MCI_GPM_COEX_B_HALT_STATE
	.comm	_MCI_GPM_COEX_BT_GPM_UNHALT,4,2 ## @MCI_GPM_COEX_BT_GPM_UNHALT
	.comm	_MCI_GPM,4,2                    ## @MCI_GPM
	.no_dead_strip	_ar9003_mci_send_coex_halt_bt_gpm
.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_halt_bt_gpm
_ar9003_mci_send_coex_halt_bt_gpm:      ; @ar9003_mci_send_coex_halt_bt_gpm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x21, x1
	mov	x20, 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_HALT_BT_GPM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCI_GPM_COEX_HALT_BT_GPM@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_MCI_GPM_SET_TYPE_OPCODE
	cbz	w21, LBB0_2
; %bb.1:
	movi.2s	v0, #1
	str	d0, [x20]
	mov	w8, #1
	str	w8, [x20, #8]
Lloh9:
	adrp	x8, _MCI_GPM_COEX_BT_GPM_HALT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MCI_GPM_COEX_BT_GPM_HALT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _MCI_GPM_COEX_BT_GPM_UNHALT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MCI_GPM_COEX_BT_GPM_UNHALT@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _MCI_GPM_COEX_B_HALT_STATE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MCI_GPM_COEX_B_HALT_STATE@GOTPAGEOFF]
Lloh15:
	ldrsw	x9, [x9]
	str	w8, [x22, x9, lsl #2]
Lloh16:
	adrp	x8, _MCI_GPM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MCI_GPM@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #0
	mov	w4, #16
	mov	x5, x19
	mov	w6, #1
	bl	_ar9003_mci_send_message
	ldr	x8, [sp, #24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_GPM_COEX_AGENT,4,2         ; @MCI_GPM_COEX_AGENT
	.comm	_MCI_GPM_COEX_HALT_BT_GPM,4,2   ; @MCI_GPM_COEX_HALT_BT_GPM
	.comm	_MCI_GPM_COEX_BT_GPM_HALT,4,2   ; @MCI_GPM_COEX_BT_GPM_HALT
	.comm	_MCI_GPM_COEX_B_HALT_STATE,4,2  ; @MCI_GPM_COEX_B_HALT_STATE
	.comm	_MCI_GPM_COEX_BT_GPM_UNHALT,4,2 ; @MCI_GPM_COEX_BT_GPM_UNHALT
	.comm	_MCI_GPM,4,2                    ; @MCI_GPM
	.no_dead_strip	_ar9003_mci_send_coex_halt_bt_gpm
.subsections_via_symbols
