	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_delete_stored_link_key
_hci_delete_stored_link_key:            ## @hci_delete_stored_link_key
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %ebx
	movl	%edi, %r14d
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	cmpl	$1, %ebx
	jne	LBB0_5
## %bb.1:
	movq	(%r12), %rdi
	leaq	-44(%rbp), %r15
	movq	%r15, %rsi
	callq	_bt_aton
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	(%r12), %rdi
	callq	_bt_gethostbyname
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_6
LBB0_5:
	movl	$1, -48(%rbp)
LBB0_6:
	movl	$8, -52(%rbp)
	movq	_NG_HCI_OGF_HC_BASEBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NG_HCI_OCF_DELETE_STORED_LINK_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NG_HCI_OPCODE
	leaq	-48(%rbp), %rdx
	leaq	-40(%rbp), %r8
	leaq	-52(%rbp), %r9
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$8, %ecx
	callq	_hci_request
	movq	_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.7:
	movl	-40(%rbp), %edi
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%edi, %edi
	je	LBB0_9
## %bb.8:
	callq	_hci_status2str
	movl	-40(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movl	-36(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_USAGE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USAGE,4,2                      ## @USAGE
	.comm	_NG_HCI_OGF_HC_BASEBAND,4,2     ## @NG_HCI_OGF_HC_BASEBAND
	.comm	_NG_HCI_OCF_DELETE_STORED_LINK_KEY,4,2 ## @NG_HCI_OCF_DELETE_STORED_LINK_KEY
	.comm	_ERROR,8,3                      ## @ERROR
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Status: %s [%#02x]\n"

	.comm	_FAILED,4,2                     ## @FAILED
L_.str.1:                               ## @.str.1
	.asciz	"Number of keys deleted: %d\n"

	.comm	_OK,4,2                         ## @OK
	.no_dead_strip	_hci_delete_stored_link_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_delete_stored_link_key
_hci_delete_stored_link_key:            ; @hci_delete_stored_link_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x22, sp, #40
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	cmp	w21, #1
	b.ne	LBB0_4
; %bb.1:
	ldr	x0, [x20]
	orr	x21, x22, #0x4
	mov	x1, x21
	bl	_bt_aton
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	x0, [x20]
	bl	_bt_gethostbyname
	cbz	x0, LBB0_9
; %bb.3:
	ldr	w1, [x0]
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	b	LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [sp, #40]
LBB0_5:
	mov	w8, #8
	str	w8, [sp, #28]
Lloh0:
	adrp	x8, _NG_HCI_OGF_HC_BASEBAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NG_HCI_OGF_HC_BASEBAND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _NG_HCI_OCF_DELETE_STORED_LINK_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NG_HCI_OCF_DELETE_STORED_LINK_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_NG_HCI_OPCODE
	mov	x1, x0
	add	x2, sp, #40
	add	x4, sp, #32
	add	x5, sp, #28
	mov	x0, x19
	mov	w3, #8
	bl	_hci_request
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.6:
	ldr	w0, [sp, #32]
Lloh9:
	adrp	x8, _stdout@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	cbz	w0, LBB0_8
; %bb.7:
	bl	_hci_status2str
	ldr	w8, [sp, #32]
	stp	x0, x8, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
Lloh14:
	adrp	x8, _FAILED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FAILED@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	ldr	w8, [sp, #36]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
Lloh18:
	adrp	x8, _OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh20:
	adrp	x8, _USAGE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _USAGE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_USAGE,4,2                      ; @USAGE
	.comm	_NG_HCI_OGF_HC_BASEBAND,4,2     ; @NG_HCI_OGF_HC_BASEBAND
	.comm	_NG_HCI_OCF_DELETE_STORED_LINK_KEY,4,2 ; @NG_HCI_OCF_DELETE_STORED_LINK_KEY
	.comm	_ERROR,8,3                      ; @ERROR
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Status: %s [%#02x]\n"

	.comm	_FAILED,4,2                     ; @FAILED
l_.str.1:                               ; @.str.1
	.asciz	"Number of keys deleted: %d\n"

	.comm	_OK,4,2                         ; @OK
	.no_dead_strip	_hci_delete_stored_link_key
.subsections_via_symbols
