	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_cc_read_local_features
_hci_cc_read_local_features:            ## @hci_cc_read_local_features
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movl	16(%rdi), %esi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	cmpq	$0, 8(%rbx)
	jne	LBB0_22
## %bb.1:
	movq	(%r14), %rdi
	movl	(%rbx), %esi
	movl	$8, %edx
	callq	_memcpy
	movq	(%r14), %rax
	movl	(%rax), %ecx
	movq	_LMP_3SLOT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	_HCI_DM3@GOTPCREL(%rip), %rcx
	movq	_HCI_DH3@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%edx, 8(%r14)
	movl	(%rax), %ecx
LBB0_3:
	movq	_LMP_5SLOT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.4:
	movq	_HCI_DM5@GOTPCREL(%rip), %rcx
	movq	_HCI_DH5@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%edx, 8(%r14)
LBB0_5:
	movl	4(%rax), %ecx
	movq	_LMP_HV2@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_7
## %bb.6:
	movq	_HCI_HV2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r14)
	movq	_ESCO_HV2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
	movl	4(%rax), %ecx
LBB0_7:
	movq	_LMP_HV3@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_9
## %bb.8:
	movq	_HCI_HV3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r14)
	movq	_ESCO_HV3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
LBB0_9:
	movq	_LMP_ESCO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%rax)
	je	LBB0_11
## %bb.10:
	movq	_ESCO_EV3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
LBB0_11:
	movl	16(%rax), %ecx
	movq	_LMP_EV4@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_13
## %bb.12:
	movq	_ESCO_EV4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
	movl	16(%rax), %ecx
LBB0_13:
	movq	_LMP_EV5@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_15
## %bb.14:
	movq	_ESCO_EV5@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
LBB0_15:
	movl	20(%rax), %ebx
	movq	_LMP_EDR_ESCO_2M@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_17
## %bb.16:
	movq	_ESCO_2EV3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
	movl	20(%rax), %ebx
LBB0_17:
	movq	_LMP_EDR_ESCO_3M@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_19
## %bb.18:
	movq	_ESCO_3EV3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
	movl	20(%rax), %ebx
LBB0_19:
	movq	_LMP_EDR_3S_ESCO@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_21
## %bb.20:
	movq	_ESCO_2EV5@GOTPCREL(%rip), %rcx
	movq	_ESCO_3EV5@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%edx, 12(%r14)
	movl	20(%rax), %ebx
LBB0_21:
	movl	16(%r14), %esi
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	movl	8(%rax), %r8d
	movl	12(%rax), %r9d
	movl	16(%rax), %r10d
	movl	24(%rax), %r11d
	movl	28(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r14
	pushq	%r11
	pushq	%rbx
	pushq	%r10
	callq	_BT_DBG
	addq	$32, %rsp
LBB0_22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s status 0x%x"

	.comm	_LMP_3SLOT,4,2                  ## @LMP_3SLOT
	.comm	_HCI_DM3,4,2                    ## @HCI_DM3
	.comm	_HCI_DH3,4,2                    ## @HCI_DH3
	.comm	_LMP_5SLOT,4,2                  ## @LMP_5SLOT
	.comm	_HCI_DM5,4,2                    ## @HCI_DM5
	.comm	_HCI_DH5,4,2                    ## @HCI_DH5
	.comm	_LMP_HV2,4,2                    ## @LMP_HV2
	.comm	_HCI_HV2,4,2                    ## @HCI_HV2
	.comm	_ESCO_HV2,4,2                   ## @ESCO_HV2
	.comm	_LMP_HV3,4,2                    ## @LMP_HV3
	.comm	_HCI_HV3,4,2                    ## @HCI_HV3
	.comm	_ESCO_HV3,4,2                   ## @ESCO_HV3
	.comm	_LMP_ESCO,4,2                   ## @LMP_ESCO
	.comm	_ESCO_EV3,4,2                   ## @ESCO_EV3
	.comm	_LMP_EV4,4,2                    ## @LMP_EV4
	.comm	_ESCO_EV4,4,2                   ## @ESCO_EV4
	.comm	_LMP_EV5,4,2                    ## @LMP_EV5
	.comm	_ESCO_EV5,4,2                   ## @ESCO_EV5
	.comm	_LMP_EDR_ESCO_2M,4,2            ## @LMP_EDR_ESCO_2M
	.comm	_ESCO_2EV3,4,2                  ## @ESCO_2EV3
	.comm	_LMP_EDR_ESCO_3M,4,2            ## @LMP_EDR_ESCO_3M
	.comm	_ESCO_3EV3,4,2                  ## @ESCO_3EV3
	.comm	_LMP_EDR_3S_ESCO,4,2            ## @LMP_EDR_3S_ESCO
	.comm	_ESCO_2EV5,4,2                  ## @ESCO_2EV5
	.comm	_ESCO_3EV5,4,2                  ## @ESCO_3EV5
L_.str.1:                               ## @.str.1
	.asciz	"%s features 0x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x"

	.no_dead_strip	_hci_cc_read_local_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_cc_read_local_features
_hci_cc_read_local_features:            ; @hci_cc_read_local_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x1]
	ldr	w1, [x0, #16]
	ldr	w2, [x20, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_22
; %bb.1:
	ldr	x0, [x19]
	ldr	w1, [x20]
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x19]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _LMP_3SLOT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _LMP_3SLOT@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
Lloh5:
	adrp	x9, _HCI_DM3@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HCI_DM3@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _HCI_DH3@GOTPAGE
Lloh9:
	ldr	x10, [x10, _HCI_DH3@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x19, #8]
	orr	w9, w9, w10
	str	w9, [x19, #8]
	ldr	w9, [x8]
LBB0_3:
Lloh11:
	adrp	x10, _LMP_5SLOT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _LMP_5SLOT@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.4:
Lloh14:
	adrp	x9, _HCI_DM5@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HCI_DM5@GOTPAGEOFF]
Lloh16:
	adrp	x10, _HCI_DH5@GOTPAGE
Lloh17:
	ldr	x10, [x10, _HCI_DH5@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x19, #8]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_5:
	ldr	w9, [x8, #4]
Lloh20:
	adrp	x10, _LMP_HV2@GOTPAGE
Lloh21:
	ldr	x10, [x10, _LMP_HV2@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.6:
Lloh23:
	adrp	x9, _HCI_HV2@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HCI_HV2@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _ESCO_HV2@GOTPAGE
Lloh27:
	ldr	x10, [x10, _ESCO_HV2@GOTPAGEOFF]
	ldp	w11, w12, [x19, #8]
	orr	w9, w11, w9
Lloh28:
	ldr	w10, [x10]
	orr	w10, w12, w10
	stp	w9, w10, [x19, #8]
	ldr	w9, [x8, #4]
LBB0_7:
Lloh29:
	adrp	x10, _LMP_HV3@GOTPAGE
Lloh30:
	ldr	x10, [x10, _LMP_HV3@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.8:
Lloh32:
	adrp	x9, _HCI_HV3@GOTPAGE
Lloh33:
	ldr	x9, [x9, _HCI_HV3@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	ldp	w10, w11, [x19, #8]
	orr	w9, w10, w9
Lloh35:
	adrp	x10, _ESCO_HV3@GOTPAGE
Lloh36:
	ldr	x10, [x10, _ESCO_HV3@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	orr	w10, w11, w10
	stp	w9, w10, [x19, #8]
LBB0_9:
	ldr	w9, [x8, #12]
Lloh38:
	adrp	x10, _LMP_ESCO@GOTPAGE
Lloh39:
	ldr	x10, [x10, _LMP_ESCO@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_11
; %bb.10:
Lloh41:
	adrp	x9, _ESCO_EV3@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ESCO_EV3@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	ldr	w10, [x19, #12]
	orr	w9, w10, w9
	str	w9, [x19, #12]
LBB0_11:
	ldr	w9, [x8, #16]
Lloh44:
	adrp	x10, _LMP_EV4@GOTPAGE
Lloh45:
	ldr	x10, [x10, _LMP_EV4@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_13
; %bb.12:
Lloh47:
	adrp	x9, _ESCO_EV4@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ESCO_EV4@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	ldr	w10, [x19, #12]
	orr	w9, w10, w9
	str	w9, [x19, #12]
	ldr	w9, [x8, #16]
LBB0_13:
Lloh50:
	adrp	x10, _LMP_EV5@GOTPAGE
Lloh51:
	ldr	x10, [x10, _LMP_EV5@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_15
; %bb.14:
Lloh53:
	adrp	x9, _ESCO_EV5@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ESCO_EV5@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	ldr	w10, [x19, #12]
	orr	w9, w10, w9
	str	w9, [x19, #12]
LBB0_15:
	ldr	w9, [x8, #20]
Lloh56:
	adrp	x10, _LMP_EDR_ESCO_2M@GOTPAGE
Lloh57:
	ldr	x10, [x10, _LMP_EDR_ESCO_2M@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_17
; %bb.16:
Lloh59:
	adrp	x9, _ESCO_2EV3@GOTPAGE
Lloh60:
	ldr	x9, [x9, _ESCO_2EV3@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	ldr	w10, [x19, #12]
	orr	w9, w10, w9
	str	w9, [x19, #12]
	ldr	w9, [x8, #20]
LBB0_17:
Lloh62:
	adrp	x10, _LMP_EDR_ESCO_3M@GOTPAGE
Lloh63:
	ldr	x10, [x10, _LMP_EDR_ESCO_3M@GOTPAGEOFF]
Lloh64:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_19
; %bb.18:
Lloh65:
	adrp	x9, _ESCO_3EV3@GOTPAGE
Lloh66:
	ldr	x9, [x9, _ESCO_3EV3@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	ldr	w10, [x19, #12]
	orr	w9, w10, w9
	str	w9, [x19, #12]
	ldr	w9, [x8, #20]
LBB0_19:
Lloh68:
	adrp	x10, _LMP_EDR_3S_ESCO@GOTPAGE
Lloh69:
	ldr	x10, [x10, _LMP_EDR_3S_ESCO@GOTPAGEOFF]
Lloh70:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_21
; %bb.20:
Lloh71:
	adrp	x9, _ESCO_2EV5@GOTPAGE
Lloh72:
	ldr	x9, [x9, _ESCO_2EV5@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
Lloh74:
	adrp	x10, _ESCO_3EV5@GOTPAGE
Lloh75:
	ldr	x10, [x10, _ESCO_3EV5@GOTPAGEOFF]
Lloh76:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x19, #12]
	orr	w9, w9, w10
	str	w9, [x19, #12]
	ldr	w9, [x8, #20]
LBB0_21:
	ldr	w1, [x19, #16]
	ldp	w2, w10, [x8]
	ldp	w11, w12, [x8, #8]
	ldr	w13, [x8, #16]
	ldp	w14, w8, [x8, #24]
	stp	x14, x8, [sp, #40]
	stp	x13, x9, [sp, #24]
Lloh77:
	adrp	x0, l_.str.1@PAGE
Lloh78:
	add	x0, x0, l_.str.1@PAGEOFF
	stp	x11, x12, [sp, #8]
	str	x10, [sp]
	bl	_BT_DBG
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s status 0x%x"

	.comm	_LMP_3SLOT,4,2                  ; @LMP_3SLOT
	.comm	_HCI_DM3,4,2                    ; @HCI_DM3
	.comm	_HCI_DH3,4,2                    ; @HCI_DH3
	.comm	_LMP_5SLOT,4,2                  ; @LMP_5SLOT
	.comm	_HCI_DM5,4,2                    ; @HCI_DM5
	.comm	_HCI_DH5,4,2                    ; @HCI_DH5
	.comm	_LMP_HV2,4,2                    ; @LMP_HV2
	.comm	_HCI_HV2,4,2                    ; @HCI_HV2
	.comm	_ESCO_HV2,4,2                   ; @ESCO_HV2
	.comm	_LMP_HV3,4,2                    ; @LMP_HV3
	.comm	_HCI_HV3,4,2                    ; @HCI_HV3
	.comm	_ESCO_HV3,4,2                   ; @ESCO_HV3
	.comm	_LMP_ESCO,4,2                   ; @LMP_ESCO
	.comm	_ESCO_EV3,4,2                   ; @ESCO_EV3
	.comm	_LMP_EV4,4,2                    ; @LMP_EV4
	.comm	_ESCO_EV4,4,2                   ; @ESCO_EV4
	.comm	_LMP_EV5,4,2                    ; @LMP_EV5
	.comm	_ESCO_EV5,4,2                   ; @ESCO_EV5
	.comm	_LMP_EDR_ESCO_2M,4,2            ; @LMP_EDR_ESCO_2M
	.comm	_ESCO_2EV3,4,2                  ; @ESCO_2EV3
	.comm	_LMP_EDR_ESCO_3M,4,2            ; @LMP_EDR_ESCO_3M
	.comm	_ESCO_3EV3,4,2                  ; @ESCO_3EV3
	.comm	_LMP_EDR_3S_ESCO,4,2            ; @LMP_EDR_3S_ESCO
	.comm	_ESCO_2EV5,4,2                  ; @ESCO_2EV5
	.comm	_ESCO_3EV5,4,2                  ; @ESCO_3EV5
l_.str.1:                               ; @.str.1
	.asciz	"%s features 0x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x"

	.no_dead_strip	_hci_cc_read_local_features
.subsections_via_symbols
