	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hci_send                       ## -- Begin function hci_send
	.p2align	4, 0x90
_hci_send:                              ## @hci_send
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movl	%edi, %r14d
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	movslq	%ebx, %rbx
	xorl	%edi, %edi
	cmpl	$4, %ebx
	setae	%dil
	callq	_assert
	movq	_NG_HCI_CMD_PKT_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %rax
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setae	%dil
	callq	_assert
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_send
	testq	%rax, %rax
	jns	LBB0_1
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_HCI_CMD_PKT_SIZE,4,2        ## @NG_HCI_CMD_PKT_SIZE
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_OK,4,2                         ## @OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hci_send                       ; -- Begin function hci_send
	.p2align	2
_hci_send:                              ; @hci_send
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	cmp	w19, #3
	cset	w0, hi
	bl	_assert
Lloh0:
	adrp	x8, _NG_HCI_CMD_PKT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NG_HCI_CMD_PKT_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x8, #4
	cmp	x8, w19, sxtw
	cset	w0, hs
	bl	_assert
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_send
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	adrp	x9, _OK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, lt
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_HCI_CMD_PKT_SIZE,4,2        ; @NG_HCI_CMD_PKT_SIZE
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_OK,4,2                         ; @OK
.subsections_via_symbols
