	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exhalbtc_connect_notify        ## -- Begin function exhalbtc_connect_notify
	.p2align	4, 0x90
_exhalbtc_connect_notify:               ## @exhalbtc_connect_notify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_halbtc_is_bt_coexist_available
	testl	%eax, %eax
	je	LBB0_19
## %bb.1:
	incl	24(%rbx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_19
## %bb.2:
	movq	_BTC_GET_BL_WIFI_UNDER_5G@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	testq	%r14, %r14
	jne	LBB0_3
## %bb.4:
	movq	_BTC_ASSOCIATE_FINISH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_BTC_ASSOCIATE_START@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_halbtc_leave_low_power
	movl	4(%rbx), %edi
	callq	_IS_HARDWARE_TYPE_8821
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movl	(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$2, %eax
	jne	LBB0_18
## %bb.8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ex_btc8821a2ant_connect_notify
	jmp	LBB0_18
LBB0_10:
	movl	4(%rbx), %edi
	callq	_IS_HARDWARE_TYPE_8723B
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movl	(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_14
## %bb.12:
	cmpl	$2, %eax
	jne	LBB0_18
## %bb.13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ex_btc8723b2ant_connect_notify
	jmp	LBB0_18
LBB0_9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ex_btc8821a1ant_connect_notify
	jmp	LBB0_18
LBB0_15:
	movl	4(%rbx), %edi
	callq	_IS_HARDWARE_TYPE_8192E
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	cmpl	$2, (%rbx)
	jne	LBB0_18
## %bb.17:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ex_btc8192e2ant_connect_notify
	jmp	LBB0_18
LBB0_14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ex_btc8723b1ant_connect_notify
LBB0_18:
	movq	%rbx, %rdi
	callq	_halbtc_normal_low_power
LBB0_19:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_GET_BL_WIFI_UNDER_5G,4,2   ## @BTC_GET_BL_WIFI_UNDER_5G
	.comm	_BTC_ASSOCIATE_START,8,3        ## @BTC_ASSOCIATE_START
	.comm	_BTC_ASSOCIATE_FINISH,8,3       ## @BTC_ASSOCIATE_FINISH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exhalbtc_connect_notify        ; -- Begin function exhalbtc_connect_notify
	.p2align	2
_exhalbtc_connect_notify:               ; @exhalbtc_connect_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_halbtc_is_bt_coexist_available
	cbz	w0, LBB0_16
; %bb.1:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_16
; %bb.2:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _BTC_GET_BL_WIFI_UNDER_5G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_UNDER_5G@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
Lloh3:
	adrp	x8, _BTC_ASSOCIATE_FINISH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTC_ASSOCIATE_FINISH@GOTPAGEOFF]
Lloh5:
	adrp	x9, _BTC_ASSOCIATE_START@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BTC_ASSOCIATE_START@GOTPAGEOFF]
	cmp	x20, #0
	csel	x8, x8, x9, eq
	ldr	x20, [x8]
	mov	x0, x19
	bl	_halbtc_leave_low_power
	ldr	w0, [x19, #4]
	bl	_IS_HARDWARE_TYPE_8821
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.eq	LBB0_10
; %bb.4:
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_ex_btc8821a2ant_connect_notify
	b	LBB0_15
LBB0_6:
	ldr	w0, [x19, #4]
	bl	_IS_HARDWARE_TYPE_8723B
	cbz	x0, LBB0_11
; %bb.7:
	ldr	w8, [x19]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.8:
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	_ex_btc8723b2ant_connect_notify
	b	LBB0_15
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_ex_btc8821a1ant_connect_notify
	b	LBB0_15
LBB0_11:
	ldr	w0, [x19, #4]
	bl	_IS_HARDWARE_TYPE_8192E
	cbz	x0, LBB0_15
; %bb.12:
	ldr	w8, [x19]
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x19
	mov	x1, x20
	bl	_ex_btc8192e2ant_connect_notify
	b	LBB0_15
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	bl	_ex_btc8723b1ant_connect_notify
LBB0_15:
	mov	x0, x19
	bl	_halbtc_normal_low_power
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_GET_BL_WIFI_UNDER_5G,4,2   ; @BTC_GET_BL_WIFI_UNDER_5G
	.comm	_BTC_ASSOCIATE_START,8,3        ; @BTC_ASSOCIATE_START
	.comm	_BTC_ASSOCIATE_FINISH,8,3       ; @BTC_ASSOCIATE_FINISH
.subsections_via_symbols
