	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ng_hci_free_con                ## -- Begin function ng_hci_free_con
	.p2align	4, 0x90
_ng_hci_free_con:                       ## @ng_hci_free_con
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_next@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LIST_REMOVE
	movq	(%rbx), %rax
	movq	_NG_HCI_LINK_SCO@GOTPCREL(%rip), %rcx
	movq	16(%rbx), %rdx
	movl	(%rdx), %edi
	movl	12(%rbx), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	callq	_NG_HCI_BUFF_SCO_FREE
	jmp	LBB0_3
LBB0_1:
	callq	_NG_HCI_BUFF_ACL_FREE
LBB0_3:
	leaq	8(%rbx), %rdi
	callq	_NG_BT_ITEMQ_DESTROY
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_bzero
	movq	_M_NETGRAPH_HCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_next,4,2                       ## @next
	.comm	_NG_HCI_LINK_SCO,8,3            ## @NG_HCI_LINK_SCO
	.comm	_M_NETGRAPH_HCI,4,2             ## @M_NETGRAPH_HCI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ng_hci_free_con                ; -- Begin function ng_hci_free_con
	.p2align	2
_ng_hci_free_con:                       ; @ng_hci_free_con
	.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, _next@GOTPAGE
Lloh1:
	ldr	x8, [x8, _next@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_LIST_REMOVE
Lloh3:
	adrp	x8, _NG_HCI_LINK_SCO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NG_HCI_LINK_SCO@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh5:
	ldr	x8, [x8]
	ldr	x10, [x19, #16]
	ldr	w0, [x10]
	ldr	w1, [x19, #12]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	bl	_NG_HCI_BUFF_SCO_FREE
	b	LBB0_3
LBB0_2:
	bl	_NG_HCI_BUFF_ACL_FREE
LBB0_3:
	add	x0, x19, #8
	bl	_NG_BT_ITEMQ_DESTROY
	mov	x0, x19
	mov	w1, #24
	bl	_bzero
Lloh6:
	adrp	x8, _M_NETGRAPH_HCI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_NETGRAPH_HCI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_next,4,2                       ; @next
	.comm	_NG_HCI_LINK_SCO,8,3            ; @NG_HCI_LINK_SCO
	.comm	_M_NETGRAPH_HCI,4,2             ; @M_NETGRAPH_HCI
.subsections_via_symbols
