	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hci_cmd_ass                    ## -- Begin function hci_cmd_ass
	.p2align	4, 0x90
_hci_cmd_ass:                           ## @hci_cmd_ass
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_HCI_COMMAND_DATA_PACKET@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	movq	(%rax), %r9
	movl	%r8d, (%r9)
	movzbl	%sil, %edi
	movl	%edi, 4(%r9)
	sarl	$8, %esi
	shll	$2, %edx
	orl	%esi, %edx
	movl	%edx, 8(%r9)
	movq	_HCI_CMD_HDR_LEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	addl	%ecx, %edx
	movl	%edx, 12(%r9)
	movq	_hci_dev@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	jle	LBB0_2
## %bb.1:
	decq	%rdx
	movq	%rdx, (%rcx)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCI_COMMAND_DATA_PACKET,4,2    ## @HCI_COMMAND_DATA_PACKET
	.comm	_HCI_CMD_HDR_LEN,4,2            ## @HCI_CMD_HDR_LEN
	.comm	_hci_dev,8,3                    ## @hci_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hci_cmd_ass                    ; -- Begin function hci_cmd_ass
	.p2align	2
_hci_cmd_ass:                           ; @hci_cmd_ass
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HCI_COMMAND_DATA_PACKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCI_COMMAND_DATA_PACKET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0]
	and	w10, w1, #0xff
	stp	w8, w10, [x9]
	lsl	w8, w2, #2
	orr	w8, w8, w1, asr #8
Lloh3:
	adrp	x10, _HCI_CMD_HDR_LEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HCI_CMD_HDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	mvn	w10, w10
	add	w10, w10, w3
	stp	w8, w10, [x9, #8]
Lloh6:
	adrp	x8, _hci_dev@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hci_dev@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x8]
	subs	x9, x9, #1
	b.lt	LBB0_2
; %bb.1:
	str	x9, [x8]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HCI_COMMAND_DATA_PACKET,4,2    ; @HCI_COMMAND_DATA_PACKET
	.comm	_HCI_CMD_HDR_LEN,4,2            ; @HCI_CMD_HDR_LEN
	.comm	_hci_dev,8,3                    ; @hci_dev
.subsections_via_symbols
