	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_cc_write_auth_enable
_hci_cc_write_auth_enable:              ## @hci_cc_write_auth_enable
	.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, %rbx
	movq	(%rsi), %rax
	movq	(%rax), %r14
	movl	4(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_BT_DBG
	movq	_HCI_OP_WRITE_AUTH_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hci_sent_cmd_data
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	testq	%r14, %r14
	jne	LBB0_5
## %bb.2:
	movq	(%rax), %rax
	movq	_AUTH_ENABLED@GOTPCREL(%rip), %rcx
	movq	_HCI_AUTH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rsi
	callq	_set_bit
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rsi
	callq	_clear_bit
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hci_req_complete               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s status 0x%x"

	.comm	_HCI_OP_WRITE_AUTH_ENABLE,4,2   ## @HCI_OP_WRITE_AUTH_ENABLE
	.comm	_AUTH_ENABLED,8,3               ## @AUTH_ENABLED
	.comm	_HCI_AUTH,4,2                   ## @HCI_AUTH
	.no_dead_strip	_hci_cc_write_auth_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_cc_write_auth_enable
_hci_cc_write_auth_enable:              ; @hci_cc_write_auth_enable
	.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	x8, [x1]
	ldr	x20, [x8]
	ldr	w1, [x0, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_BT_DBG
Lloh2:
	adrp	x8, _HCI_OP_WRITE_AUTH_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HCI_OP_WRITE_AUTH_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hci_sent_cmd_data
	cbz	x0, LBB0_4
; %bb.1:
	cbnz	x20, LBB0_6
; %bb.2:
Lloh5:
	adrp	x8, _AUTH_ENABLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AUTH_ENABLED@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x10, _HCI_AUTH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _HCI_AUTH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x10]
	mov	x1, x19
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.3:
	bl	_set_bit
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_clear_bit
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hci_req_complete
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s status 0x%x"

	.comm	_HCI_OP_WRITE_AUTH_ENABLE,4,2   ; @HCI_OP_WRITE_AUTH_ENABLE
	.comm	_AUTH_ENABLED,8,3               ; @AUTH_ENABLED
	.comm	_HCI_AUTH,4,2                   ; @HCI_AUTH
	.no_dead_strip	_hci_cc_write_auth_enable
.subsections_via_symbols
