	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ng_btsocket_rfcomm_init        ## -- Begin function ng_btsocket_rfcomm_init
	.p2align	4, 0x90
_ng_btsocket_rfcomm_init:               ## @ng_btsocket_rfcomm_init
	.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	_curvnet@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_DEFAULT_VNET
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_NG_BTSOCKET_WARN_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ng_btsocket_rfcomm_debug_level@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_ng_btsocket_rfcomm_timo@GOTPCREL(%rip), %rax
	movl	$60, (%rax)
	movq	_ng_btsocket_rfcomm_sessions_task@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ng_btsocket_rfcomm_task@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_TASK_INIT
	movq	_ng_btsocket_rfcomm_sessions@GOTPCREL(%rip), %rdi
	callq	_LIST_INIT
	movq	_MTX_DEF@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	_ng_btsocket_rfcomm_sessions_mtx@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_mtx_init
	movq	_ng_btsocket_rfcomm_sockets@GOTPCREL(%rip), %rdi
	callq	_LIST_INIT
	movl	(%rbx), %ecx
	movq	_ng_btsocket_rfcomm_sockets_mtx@GOTPCREL(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mtx_init                       ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curvnet,4,2                    ## @curvnet
	.comm	_NG_BTSOCKET_WARN_LEVEL,4,2     ## @NG_BTSOCKET_WARN_LEVEL
	.comm	_ng_btsocket_rfcomm_debug_level,4,2 ## @ng_btsocket_rfcomm_debug_level
	.comm	_ng_btsocket_rfcomm_timo,4,2    ## @ng_btsocket_rfcomm_timo
	.comm	_ng_btsocket_rfcomm_task,4,2    ## @ng_btsocket_rfcomm_task
	.comm	_ng_btsocket_rfcomm_sessions_task,4,2 ## @ng_btsocket_rfcomm_sessions_task
	.comm	_ng_btsocket_rfcomm_sessions,4,2 ## @ng_btsocket_rfcomm_sessions
	.comm	_ng_btsocket_rfcomm_sessions_mtx,4,2 ## @ng_btsocket_rfcomm_sessions_mtx
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"btsocks_rfcomm_sessions_mtx"

	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
	.comm	_ng_btsocket_rfcomm_sockets,4,2 ## @ng_btsocket_rfcomm_sockets
	.comm	_ng_btsocket_rfcomm_sockets_mtx,4,2 ## @ng_btsocket_rfcomm_sockets_mtx
L_.str.1:                               ## @.str.1
	.asciz	"btsocks_rfcomm_sockets_mtx"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ng_btsocket_rfcomm_init        ; -- Begin function ng_btsocket_rfcomm_init
	.p2align	2
_ng_btsocket_rfcomm_init:               ; @ng_btsocket_rfcomm_init
	.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
Lloh0:
	adrp	x8, _curvnet@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curvnet@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_DEFAULT_VNET
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _NG_BTSOCKET_WARN_LEVEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NG_BTSOCKET_WARN_LEVEL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ng_btsocket_rfcomm_debug_level@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ng_btsocket_rfcomm_debug_level@GOTPAGEOFF]
Lloh8:
	adrp	x10, _ng_btsocket_rfcomm_timo@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ng_btsocket_rfcomm_timo@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	mov	w8, #60
Lloh11:
	str	w8, [x10]
Lloh12:
	adrp	x8, _ng_btsocket_rfcomm_sessions_task@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ng_btsocket_rfcomm_sessions_task@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x0, _ng_btsocket_rfcomm_task@GOTPAGE
Lloh16:
	ldr	x0, [x0, _ng_btsocket_rfcomm_task@GOTPAGEOFF]
	mov	w1, #0
	mov	x3, #0
	bl	_TASK_INIT
Lloh17:
	adrp	x0, _ng_btsocket_rfcomm_sessions@GOTPAGE
Lloh18:
	ldr	x0, [x0, _ng_btsocket_rfcomm_sessions@GOTPAGEOFF]
	bl	_LIST_INIT
Lloh19:
	adrp	x19, _MTX_DEF@GOTPAGE
Lloh20:
	ldr	x19, [x19, _MTX_DEF@GOTPAGEOFF]
	ldr	w3, [x19]
Lloh21:
	adrp	x0, _ng_btsocket_rfcomm_sessions_mtx@GOTPAGE
Lloh22:
	ldr	x0, [x0, _ng_btsocket_rfcomm_sessions_mtx@GOTPAGEOFF]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_mtx_init
Lloh25:
	adrp	x0, _ng_btsocket_rfcomm_sockets@GOTPAGE
Lloh26:
	ldr	x0, [x0, _ng_btsocket_rfcomm_sockets@GOTPAGEOFF]
	bl	_LIST_INIT
	ldr	w3, [x19]
Lloh27:
	adrp	x0, _ng_btsocket_rfcomm_sockets_mtx@GOTPAGE
Lloh28:
	ldr	x0, [x0, _ng_btsocket_rfcomm_sockets_mtx@GOTPAGEOFF]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mtx_init
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_curvnet,4,2                    ; @curvnet
	.comm	_NG_BTSOCKET_WARN_LEVEL,4,2     ; @NG_BTSOCKET_WARN_LEVEL
	.comm	_ng_btsocket_rfcomm_debug_level,4,2 ; @ng_btsocket_rfcomm_debug_level
	.comm	_ng_btsocket_rfcomm_timo,4,2    ; @ng_btsocket_rfcomm_timo
	.comm	_ng_btsocket_rfcomm_task,4,2    ; @ng_btsocket_rfcomm_task
	.comm	_ng_btsocket_rfcomm_sessions_task,4,2 ; @ng_btsocket_rfcomm_sessions_task
	.comm	_ng_btsocket_rfcomm_sessions,4,2 ; @ng_btsocket_rfcomm_sessions
	.comm	_ng_btsocket_rfcomm_sessions_mtx,4,2 ; @ng_btsocket_rfcomm_sessions_mtx
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"btsocks_rfcomm_sessions_mtx"

	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
	.comm	_ng_btsocket_rfcomm_sockets,4,2 ; @ng_btsocket_rfcomm_sockets
	.comm	_ng_btsocket_rfcomm_sockets_mtx,4,2 ; @ng_btsocket_rfcomm_sockets_mtx
l_.str.1:                               ; @.str.1
	.asciz	"btsocks_rfcomm_sockets_mtx"

.subsections_via_symbols
