	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_send_bt_config              ## -- Begin function il_send_bt_config
	.p2align	4, 0x90
_il_send_bt_config:                     ## @il_send_bt_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	movq	_BT_MAX_KILL_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_BT_LEAD_TIME_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_bt_coex_active@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_BT_COEX_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	je	LBB0_2
## %bb.1:
	movq	_BT_COEX_ENABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_2:
	movq	%rcx, -32(%rbp)
	cmpq	%rax, %rcx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_D_INFO
	movq	_C_BT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$24, %edx
	callq	_il_send_cmd_pdu
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	callq	_IL_ERR
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_MAX_KILL_DEF,4,2            ## @BT_MAX_KILL_DEF
	.comm	_BT_LEAD_TIME_DEF,4,2           ## @BT_LEAD_TIME_DEF
	.comm	_bt_coex_active,4,2             ## @bt_coex_active
	.comm	_BT_COEX_DISABLE,8,3            ## @BT_COEX_DISABLE
	.comm	_BT_COEX_ENABLE,8,3             ## @BT_COEX_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BT coex %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"disable"

L_.str.2:                               ## @.str.2
	.asciz	"active"

	.comm	_C_BT_CONFIG,4,2                ## @C_BT_CONFIG
L_.str.3:                               ## @.str.3
	.asciz	"failed to send BT Coex Config\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_send_bt_config              ; -- Begin function il_send_bt_config
	.p2align	2
_il_send_bt_config:                     ; @il_send_bt_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _BT_MAX_KILL_DEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT_MAX_KILL_DEF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BT_LEAD_TIME_DEF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BT_LEAD_TIME_DEF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _bt_coex_active@GOTPAGE
Lloh7:
	ldr	x10, [x10, _bt_coex_active@GOTPAGEOFF]
	stp	w8, w9, [sp, #24]
Lloh8:
	ldr	w8, [x10]
Lloh9:
	adrp	x9, _BT_COEX_DISABLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BT_COEX_DISABLE@GOTPAGEOFF]
Lloh11:
	adrp	x10, _BT_COEX_ENABLE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BT_COEX_ENABLE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	ldr	x10, [x10]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	stp	x8, xzr, [sp, #8]
Lloh15:
	adrp	x10, l_.str.2@PAGE
Lloh16:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh17:
	adrp	x11, l_.str.1@PAGE
Lloh18:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x1, x11, x10, eq
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_INFO
Lloh21:
	adrp	x8, _C_BT_CONFIG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _C_BT_CONFIG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	w2, #24
	bl	_il_send_cmd_pdu
	cbz	x0, LBB0_2
; %bb.1:
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_IL_ERR
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_MAX_KILL_DEF,4,2            ; @BT_MAX_KILL_DEF
	.comm	_BT_LEAD_TIME_DEF,4,2           ; @BT_LEAD_TIME_DEF
	.comm	_bt_coex_active,4,2             ; @bt_coex_active
	.comm	_BT_COEX_DISABLE,8,3            ; @BT_COEX_DISABLE
	.comm	_BT_COEX_ENABLE,8,3             ; @BT_COEX_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BT coex %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"disable"

l_.str.2:                               ; @.str.2
	.asciz	"active"

	.comm	_C_BT_CONFIG,4,2                ; @C_BT_CONFIG
l_.str.3:                               ; @.str.3
	.asciz	"failed to send BT Coex Config\n"

.subsections_via_symbols
