	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_hci_constructor
_ng_hci_constructor:                    ## @ng_hci_constructor
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_M_NETGRAPH_HCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$40, %edi
	callq	_malloc
	movq	%rax, %rbx
	movl	%r14d, 36(%rax)
	movq	_NG_HCI_WARN_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movabsq	$281470681808895, %rax          ## imm = 0xFFFF0000FFFF
	movq	%rax, (%rbx)
	movl	$1, 8(%rbx)
	movl	28(%rbx), %edi
	movl	$1, %esi
	callq	_NG_HCI_BUFF_CMD_SET
	movl	28(%rbx), %edi
	movl	$1, %esi
	movl	$17, %edx
	movl	$1, %ecx
	callq	_NG_HCI_BUFF_ACL_SET
	movl	28(%rbx), %edi
	movl	$1, %esi
	movl	$10, %edx
	movl	$1, %ecx
	callq	_NG_HCI_BUFF_SCO_SET
	leaq	24(%rbx), %rdi
	callq	_ng_callout_init
	leaq	20(%rbx), %rdi
	movq	_NG_HCI_CMD_QUEUE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NG_BT_MBUFQ_INIT
	leaq	16(%rbx), %rdi
	callq	_LIST_INIT
	leaq	12(%rbx), %rdi
	callq	_LIST_INIT
	movl	%r14d, %edi
	callq	_NG_NODE_FORCE_WRITER
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_NG_NODE_SET_PRIVATE
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_NETGRAPH_HCI,4,2             ## @M_NETGRAPH_HCI
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_NG_HCI_WARN_LEVEL,4,2          ## @NG_HCI_WARN_LEVEL
	.comm	_NG_HCI_CMD_QUEUE_LEN,4,2       ## @NG_HCI_CMD_QUEUE_LEN
	.no_dead_strip	_ng_hci_constructor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_hci_constructor
_ng_hci_constructor:                    ; @ng_hci_constructor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _M_NETGRAPH_HCI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_NETGRAPH_HCI@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #40
	bl	_malloc
	mov	x20, x0
Lloh9:
	adrp	x8, _NG_HCI_WARN_LEVEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NG_HCI_WARN_LEVEL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w19, [x0, #32]
	movi	d0, #0x00ffff0000ffff
	str	d0, [x0]
	mov	w8, #1
	str	w8, [x0, #8]
	ldr	w0, [x0, #28]
	mov	w1, #1
	bl	_NG_HCI_BUFF_CMD_SET
	ldr	w0, [x20, #28]
	mov	w1, #1
	mov	w2, #17
	mov	w3, #1
	bl	_NG_HCI_BUFF_ACL_SET
	ldr	w0, [x20, #28]
	mov	w1, #1
	mov	w2, #10
	mov	w3, #1
	bl	_NG_HCI_BUFF_SCO_SET
	add	x0, x20, #24
	bl	_ng_callout_init
	add	x0, x20, #20
Lloh12:
	adrp	x8, _NG_HCI_CMD_QUEUE_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NG_HCI_CMD_QUEUE_LEN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_NG_BT_MBUFQ_INIT
	add	x0, x20, #16
	bl	_LIST_INIT
	add	x0, x20, #12
	bl	_LIST_INIT
	mov	x0, x19
	bl	_NG_NODE_FORCE_WRITER
	mov	x0, x19
	mov	x1, x20
	bl	_NG_NODE_SET_PRIVATE
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_M_NETGRAPH_HCI,4,2             ; @M_NETGRAPH_HCI
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_NG_HCI_WARN_LEVEL,4,2          ; @NG_HCI_WARN_LEVEL
	.comm	_NG_HCI_CMD_QUEUE_LEN,4,2       ; @NG_HCI_CMD_QUEUE_LEN
	.no_dead_strip	_ng_hci_constructor
.subsections_via_symbols
