	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_cc_read_voice_setting
_hci_cc_read_voice_setting:             ## @hci_cc_read_voice_setting
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rsi), %rbx
	movl	24(%rdi), %esi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	callq	_BT_DBG
	cmpq	$0, (%rbx)
	jne	LBB0_3
## %bb.1:
	movl	8(%rbx), %edi
	callq	___le16_to_cpu
	cmpq	%rax, (%r15)
	je	LBB0_3
## %bb.2:
	movq	%rax, (%r15)
	movl	24(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rdx
	callq	_BT_DBG
	cmpq	$0, 16(%r15)
	je	LBB0_3
## %bb.4:
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_tasklet_disable
	movq	_HCI_NOTIFY_VOICE_SETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	*16(%r15)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tasklet_enable                 ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s status 0x%x"

L_.str.1:                               ## @.str.1
	.asciz	"%s voice setting 0x%04x"

	.comm	_HCI_NOTIFY_VOICE_SETTING,4,2   ## @HCI_NOTIFY_VOICE_SETTING
	.no_dead_strip	_hci_cc_read_voice_setting
.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_voice_setting
_hci_cc_read_voice_setting:             ; @hci_cc_read_voice_setting
	.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
	ldr	x20, [x1]
	ldr	w1, [x0, #24]
	ldr	x2, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
; %bb.1:
	ldr	w0, [x20, #8]
	bl	___le16_to_cpu
	ldr	x8, [x19]
	cmp	x8, x0
	b.eq	LBB0_4
; %bb.2:
	mov	x2, x0
	str	x0, [x19]
	ldr	w1, [x19, #24]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_DBG
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	add	x20, x19, #8
	mov	x0, x20
	bl	_tasklet_disable
	ldr	x8, [x19, #16]
Lloh4:
	adrp	x9, _HCI_NOTIFY_VOICE_SETTING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HCI_NOTIFY_VOICE_SETTING@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tasklet_enable
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s status 0x%x"

l_.str.1:                               ; @.str.1
	.asciz	"%s voice setting 0x%04x"

	.comm	_HCI_NOTIFY_VOICE_SETTING,4,2   ; @HCI_NOTIFY_VOICE_SETTING
	.no_dead_strip	_hci_cc_read_voice_setting
.subsections_via_symbols
