	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_mci_send_2g5g_status
_ar9003_mci_send_2g5g_status:           ## @ar9003_mci_send_2g5g_status
	.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, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_MCI_BT_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movl	%esi, %r14d
	cmpq	$0, 8(%rbx)
	movq	_MCI_2G_FLAGS_CLEAR_MASK@GOTPCREL(%rip), %rax
	cmoveq	_MCI_5G_FLAGS_CLEAR_MASK@GOTPCREL(%rip), %rax
	movq	_MCI_2G_FLAGS_SET_MASK@GOTPCREL(%rip), %rdx
	cmoveq	_MCI_5G_FLAGS_SET_MASK@GOTPCREL(%rip), %rdx
	movq	(%rax), %rcx
	movq	(%rdx), %r15
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	_MCI_GPM_COEX_BT_FLAGS_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ar9003_mci_send_coex_bt_flags
LBB0_4:
	testq	%r15, %r15
	je	LBB0_5
## %bb.6:
	movq	_MCI_GPM_COEX_BT_FLAGS_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ar9003_mci_send_coex_bt_flags  ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_BT_SLEEP,8,3               ## @MCI_BT_SLEEP
	.comm	_MCI_2G_FLAGS_CLEAR_MASK,8,3    ## @MCI_2G_FLAGS_CLEAR_MASK
	.comm	_MCI_2G_FLAGS_SET_MASK,8,3      ## @MCI_2G_FLAGS_SET_MASK
	.comm	_MCI_5G_FLAGS_CLEAR_MASK,8,3    ## @MCI_5G_FLAGS_CLEAR_MASK
	.comm	_MCI_5G_FLAGS_SET_MASK,8,3      ## @MCI_5G_FLAGS_SET_MASK
	.comm	_MCI_GPM_COEX_BT_FLAGS_CLEAR,4,2 ## @MCI_GPM_COEX_BT_FLAGS_CLEAR
	.comm	_MCI_GPM_COEX_BT_FLAGS_SET,4,2  ## @MCI_GPM_COEX_BT_FLAGS_SET
	.no_dead_strip	_ar9003_mci_send_2g5g_status
.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_2g5g_status
_ar9003_mci_send_2g5g_status:           ; @ar9003_mci_send_2g5g_status
	.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, #16]
	cbz	w8, LBB0_6
; %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.eq	LBB0_6
; %bb.2:
	mov	x19, x1
Lloh3:
	adrp	x8, _MCI_5G_FLAGS_CLEAR_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCI_5G_FLAGS_CLEAR_MASK@GOTPAGEOFF]
	ldr	x9, [x20, #8]
Lloh5:
	adrp	x10, _MCI_2G_FLAGS_CLEAR_MASK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MCI_2G_FLAGS_CLEAR_MASK@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	x3, [x8]
Lloh7:
	adrp	x8, _MCI_5G_FLAGS_SET_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MCI_5G_FLAGS_SET_MASK@GOTPAGEOFF]
Lloh9:
	adrp	x9, _MCI_2G_FLAGS_SET_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MCI_2G_FLAGS_SET_MASK@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x21, [x8]
	cbz	x3, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _MCI_GPM_COEX_BT_FLAGS_CLEAR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MCI_GPM_COEX_BT_FLAGS_CLEAR@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_ar9003_mci_send_coex_bt_flags
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _MCI_GPM_COEX_BT_FLAGS_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MCI_GPM_COEX_BT_FLAGS_SET@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	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	_ar9003_mci_send_coex_bt_flags
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_BT_SLEEP,8,3               ; @MCI_BT_SLEEP
	.comm	_MCI_2G_FLAGS_CLEAR_MASK,8,3    ; @MCI_2G_FLAGS_CLEAR_MASK
	.comm	_MCI_2G_FLAGS_SET_MASK,8,3      ; @MCI_2G_FLAGS_SET_MASK
	.comm	_MCI_5G_FLAGS_CLEAR_MASK,8,3    ; @MCI_5G_FLAGS_CLEAR_MASK
	.comm	_MCI_5G_FLAGS_SET_MASK,8,3      ; @MCI_5G_FLAGS_SET_MASK
	.comm	_MCI_GPM_COEX_BT_FLAGS_CLEAR,4,2 ; @MCI_GPM_COEX_BT_FLAGS_CLEAR
	.comm	_MCI_GPM_COEX_BT_FLAGS_SET,4,2  ; @MCI_GPM_COEX_BT_FLAGS_SET
	.no_dead_strip	_ar9003_mci_send_2g5g_status
.subsections_via_symbols
