	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_inq_req
_hci_inq_req:                           ## @hci_inq_req
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_BT_DBG
	movq	_HCI_INQUIRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	-24(%rbp), %rdi
	leaq	8(%r14), %rsi
	movl	$3, %edx
	callq	_memcpy
	movl	4(%r14), %eax
	movl	%eax, -28(%rbp)
	movl	(%r14), %eax
	movl	%eax, -32(%rbp)
	movq	_HCI_OP_INQUIRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$12, %edx
	callq	_hci_send_cmd
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_HCI_INQUIRY,4,2                ## @HCI_INQUIRY
	.comm	_HCI_OP_INQUIRY,4,2             ## @HCI_OP_INQUIRY
	.no_dead_strip	_hci_inq_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_inq_req
_hci_inq_req:                           ; @hci_inq_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x0, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
Lloh2:
	adrp	x8, _HCI_INQUIRY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HCI_INQUIRY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x8, sp
	add	x0, x8, #8
	add	x1, x20, #8
	mov	w2, #3
	bl	_memcpy
	ldr	d0, [x20]
	str	d0, [sp]
Lloh5:
	adrp	x8, _HCI_OP_INQUIRY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HCI_OP_INQUIRY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x3, sp
	mov	x0, x19
	mov	w2, #12
	bl	_hci_send_cmd
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_HCI_INQUIRY,4,2                ; @HCI_INQUIRY
	.comm	_HCI_OP_INQUIRY,4,2             ; @HCI_OP_INQUIRY
	.no_dead_strip	_hci_inq_req
.subsections_via_symbols
