	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rfcomm_connect_ind             ## -- Begin function rfcomm_connect_ind
	.p2align	4, 0x90
_rfcomm_connect_ind:                    ## @rfcomm_connect_ind
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%ebx, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_BT_DBG
	leaq	-48(%rbp), %r13
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_rfcomm_session_getaddr
	movq	_BT_LISTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	movq	%r13, %rdx
	callq	_rfcomm_get_sock_by_channel
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_sk_acceptq_is_full
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	12(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_BT_DBG
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_sock_net
	movq	_BTPROTO_RFCOMM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r12d, %r12d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_rfcomm_sock_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_rfcomm_sock_init
	movq	%r13, %rdi
	callq	_bt_sk
	leaq	12(%rax), %rdi
	leaq	-48(%rbp), %rsi
	callq	_bacpy
	movq	%r13, %rdi
	callq	_bt_sk
	leaq	8(%rax), %rdi
	leaq	-44(%rbp), %rsi
	callq	_bacpy
	movq	%r13, %rdi
	callq	_rfcomm_pi
	movl	%r15d, 8(%rax)
	movq	_BT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_bt_accept_enqueue
	movq	%r13, %rdi
	callq	_rfcomm_pi
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	$1, %r12d
LBB0_5:
	movq	%rbx, %rdi
	callq	_bh_unlock_sock
	movq	%rbx, %rdi
	callq	_bt_sk
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	*(%rbx)
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"session %p channel %d"

	.comm	_BT_LISTEN,4,2                  ## @BT_LISTEN
L_.str.1:                               ## @.str.1
	.asciz	"backlog full %d"

	.comm	_BTPROTO_RFCOMM,4,2             ## @BTPROTO_RFCOMM
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_BT_CONFIG,4,2                  ## @BT_CONFIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rfcomm_connect_ind             ; -- Begin function rfcomm_connect_ind
	.p2align	2
_rfcomm_connect_ind:                    ; @rfcomm_connect_ind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	x21, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_BT_DBG
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	bl	_rfcomm_session_getaddr
Lloh2:
	adrp	x8, _BT_LISTEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BT_LISTEN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x2, sp, #12
	mov	x1, x21
	bl	_rfcomm_get_sock_by_channel
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_sk_acceptq_is_full
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w1, [x19, #12]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_DBG
LBB0_3:
	mov	w20, #0
	b	LBB0_7
LBB0_4:
	mov	w20, #0
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_sock_net
Lloh7:
	adrp	x8, _BTPROTO_RFCOMM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BTPROTO_RFCOMM@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x1, #0
	bl	_rfcomm_sock_alloc
	cbz	x0, LBB0_3
; %bb.6:
	mov	x22, x0
	mov	x1, x19
	bl	_rfcomm_sock_init
	mov	x0, x22
	bl	_bt_sk
	add	x0, x0, #12
	add	x1, sp, #12
	bl	_bacpy
	mov	x0, x22
	bl	_bt_sk
	add	x0, x0, #8
	add	x1, sp, #8
	bl	_bacpy
	mov	x0, x22
	bl	_rfcomm_pi
	str	w21, [x0, #8]
Lloh13:
	adrp	x8, _BT_CONFIG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BT_CONFIG@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x22, #8]
	mov	x0, x19
	mov	x1, x22
	bl	_bt_accept_enqueue
	mov	x0, x22
	bl	_rfcomm_pi
	ldr	x8, [x0]
	str	x8, [x20]
	mov	w20, #1
LBB0_7:
	mov	x0, x19
	bl	_bh_unlock_sock
	mov	x0, x19
	bl	_bt_sk
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"session %p channel %d"

	.comm	_BT_LISTEN,4,2                  ; @BT_LISTEN
l_.str.1:                               ; @.str.1
	.asciz	"backlog full %d"

	.comm	_BTPROTO_RFCOMM,4,2             ; @BTPROTO_RFCOMM
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_BT_CONFIG,4,2                  ; @BT_CONFIG
.subsections_via_symbols
