	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_l2sock_create
_rfcomm_l2sock_create:                  ## @rfcomm_l2sock_create
	.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
	leaq	L_.str(%rip), %rdi
	callq	_BT_DBG
	movq	_PF_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_SEQPACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BTPROTO_L2CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	callq	_sock_create_kern
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_rfcomm_l2data_ready@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%rcx)
	movq	_rfcomm_l2state_change@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rcx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_PF_BLUETOOTH,4,2               ## @PF_BLUETOOTH
	.comm	_SOCK_SEQPACKET,4,2             ## @SOCK_SEQPACKET
	.comm	_BTPROTO_L2CAP,4,2              ## @BTPROTO_L2CAP
	.comm	_rfcomm_l2data_ready,4,2        ## @rfcomm_l2data_ready
	.comm	_rfcomm_l2state_change,4,2      ## @rfcomm_l2state_change
	.no_dead_strip	_rfcomm_l2sock_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_l2sock_create
_rfcomm_l2sock_create:                  ; @rfcomm_l2sock_create
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
Lloh2:
	adrp	x8, _PF_BLUETOOTH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PF_BLUETOOTH@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _SOCK_SEQPACKET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SOCK_SEQPACKET@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _BTPROTO_L2CAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BTPROTO_L2CAP@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_sock_create_kern
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _rfcomm_l2data_ready@GOTPAGE
Lloh12:
	ldr	x9, [x9, _rfcomm_l2data_ready@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _rfcomm_l2state_change@GOTPAGE
Lloh15:
	ldr	x10, [x10, _rfcomm_l2state_change@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_PF_BLUETOOTH,4,2               ; @PF_BLUETOOTH
	.comm	_SOCK_SEQPACKET,4,2             ; @SOCK_SEQPACKET
	.comm	_BTPROTO_L2CAP,4,2              ; @BTPROTO_L2CAP
	.comm	_rfcomm_l2data_ready,4,2        ; @rfcomm_l2data_ready
	.comm	_rfcomm_l2state_change,4,2      ; @rfcomm_l2state_change
	.no_dead_strip	_rfcomm_l2sock_create
.subsections_via_symbols
