	.file	"extr_hal_btcoex.c_EXhalbtcoutsrc_MediaStatusNotify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	EXhalbtcoutsrc_MediaStatusNotify
	.type	EXhalbtcoutsrc_MediaStatusNotify, @function
EXhalbtcoutsrc_MediaStatusNotify:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	halbtcoutsrc_IsBtCoexistAvailable@PLT
	test	eax, eax
	je	.L1
	add	DWORD PTR 16[rbp], 1
	cmp	QWORD PTR 8[rbp], 0
	jne	.L1
	cmp	QWORD PTR RT_MEDIA_CONNECT[rip], rbx
	mov	esi, DWORD PTR BTC_MEDIA_DISCONNECT[rip]
	jne	.L6
	mov	esi, DWORD PTR BTC_MEDIA_CONNECT[rip]
.L6:
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 2
	je	.L10
	cmp	eax, 1
	je	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	EXhalbtc8723b1ant_MediaStatusNotify@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	EXhalbtc8723b2ant_MediaStatusNotify@PLT
	.cfi_endproc
.LFE0:
	.size	EXhalbtcoutsrc_MediaStatusNotify, .-EXhalbtcoutsrc_MediaStatusNotify
	.comm	RT_MEDIA_CONNECT,8,8
	.comm	BTC_MEDIA_DISCONNECT,4,4
	.comm	BTC_MEDIA_CONNECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hal_btcoex.c_EXhalbtcoutsrc_MediaStatusNotify.c"
	.text
	.align	2
	.global	EXhalbtcoutsrc_MediaStatusNotify
	.syntax unified
	.arm
	.fpu softvfp
	.type	EXhalbtcoutsrc_MediaStatusNotify, %function
EXhalbtcoutsrc_MediaStatusNotify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	bl	halbtcoutsrc_IsBtCoexistAvailable
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldmib	r4, {r2, r3}
	add	r3, r3, #1
	cmp	r2, #0
	str	r3, [r4, #8]
	popne	{r4, r5, r6, pc}
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r5
	ldreq	r3, .L11+4
	ldrne	r3, .L11+8
	ldr	r1, [r3]
	ldr	r3, [r4]
	cmp	r3, #2
	beq	.L10
	cmp	r3, #1
	popne	{r4, r5, r6, pc}
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	EXhalbtc8723b1ant_MediaStatusNotify
.L10:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	EXhalbtc8723b2ant_MediaStatusNotify
.L12:
	.align	2
.L11:
	.word	RT_MEDIA_CONNECT
	.word	BTC_MEDIA_CONNECT
	.word	BTC_MEDIA_DISCONNECT
	.size	EXhalbtcoutsrc_MediaStatusNotify, .-EXhalbtcoutsrc_MediaStatusNotify
	.comm	RT_MEDIA_CONNECT,4,4
	.comm	BTC_MEDIA_DISCONNECT,4,4
	.comm	BTC_MEDIA_CONNECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
