	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_inquiry_result_evt
_hci_inquiry_result_evt:                ## @hci_inquiry_result_evt
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movl	(%rbx), %r15d
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %edx
	callq	_BT_DBG
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_hci_dev_lock
	leaq	-44(%rbp), %r12
	addq	$21, %rbx
	leaq	-72(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_bacpy
	movl	-4(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	-8(%rbx), %eax
	movl	%eax, -52(%rbp)
	movl	-12(%rbx), %eax
	movl	%eax, -56(%rbp)
	movl	-60(%rbp), %edi
	movl	-16(%rbx), %esi
	movl	$3, %edx
	callq	_memcpy
	movl	-20(%rbx), %eax
	movl	%eax, -64(%rbp)
	movq	$0, -72(%rbp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_hci_inquiry_cache_update
	addq	$24, %rbx
	decl	%r15d
	jne	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_hci_dev_unlock
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s num_rsp %d"

	.no_dead_strip	_hci_inquiry_result_evt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_inquiry_result_evt
_hci_inquiry_result_evt:                ; @hci_inquiry_result_evt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldr	x22, [x1]
	ldr	w20, [x22]
	ldr	w1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_BT_DBG
	cbz	w20, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_hci_dev_lock
	mov	x8, sp
	add	x21, x8, #28
	add	x22, x22, #21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_bacpy
	ldur	w8, [x22, #-4]
	str	w8, [sp, #24]
	ldur	d0, [x22, #-12]
	str	d0, [sp, #16]
	ldr	w0, [sp, #12]
	ldur	w1, [x22, #-16]
	mov	w2, #3
	bl	_memcpy
	ldur	w8, [x22, #-20]
	str	w8, [sp, #8]
	str	xzr, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_hci_inquiry_cache_update
	add	x22, x22, #24
	subs	w20, w20, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x19
	bl	_hci_dev_unlock
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s num_rsp %d"

	.no_dead_strip	_hci_inquiry_result_evt
.subsections_via_symbols
