	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BTE_InitSub                    ## -- Begin function BTE_InitSub
	.p2align	4, 0x90
_BTE_InitSub:                           ## @BTE_InitSub
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	__CPU_ISR_Disable
	movq	_btstate@GOTPCREL(%rip), %rdi
	movl	%ebx, 16(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	callq	_hci_arg
	movq	_bte_hci_initsub_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_hci_cmd_complete
	movl	$1, %edi
	callq	_hci_write_inquiry_mode
	callq	__CPU_ISR_Restore
	movq	_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_btstate,24,3                   ## @btstate
	.comm	_bte_hci_initsub_complete,4,2   ## @bte_hci_initsub_complete
	.comm	_ERR_OK,4,2                     ## @ERR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BTE_InitSub                    ; -- Begin function BTE_InitSub
	.p2align	2
_BTE_InitSub:                           ; @BTE_InitSub
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	__CPU_ISR_Disable
Lloh0:
	adrp	x0, _btstate@GOTPAGE
Lloh1:
	ldr	x0, [x0, _btstate@GOTPAGEOFF]
	str	w19, [x0, #16]
	stp	xzr, xzr, [x0]
	bl	_hci_arg
Lloh2:
	adrp	x8, _bte_hci_initsub_complete@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bte_hci_initsub_complete@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_hci_cmd_complete
	mov	w0, #1
	bl	_hci_write_inquiry_mode
	bl	__CPU_ISR_Restore
Lloh5:
	adrp	x8, _ERR_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_OK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_btstate,24,3                   ; @btstate
	.comm	_bte_hci_initsub_complete,4,2   ; @bte_hci_initsub_complete
	.comm	_ERR_OK,4,2                     ; @ERR_OK
.subsections_via_symbols
