	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_session_del
_rfcomm_session_del:                    ## @rfcomm_session_del
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_BT_DBG
	leaq	8(%rbx), %rdi
	callq	_list_del
	movq	_BT_CONNECTED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rfcomm_send_disc
LBB0_2:
	movq	%rbx, %rdi
	callq	_rfcomm_session_clear_timer
	movl	4(%rbx), %edi
	callq	_sock_release
	movq	%rbx, %rdi
	callq	_kfree
	movq	_BT_LISTEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_module_put                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"session %p state %ld"

	.comm	_BT_CONNECTED,4,2               ## @BT_CONNECTED
	.comm	_BT_LISTEN,4,2                  ## @BT_LISTEN
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_rfcomm_session_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_session_del
_rfcomm_session_del:                    ; @rfcomm_session_del
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	mov	x21, x0
	ldr	w19, [x21], #8
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_BT_DBG
	mov	x0, x21
	bl	_list_del
Lloh2:
	adrp	x8, _BT_CONNECTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BT_CONNECTED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	bl	_rfcomm_send_disc
LBB0_2:
	mov	x0, x20
	bl	_rfcomm_session_clear_timer
	ldr	w0, [x20, #4]
	bl	_sock_release
	mov	x0, x20
	bl	_kfree
Lloh5:
	adrp	x8, _BT_LISTEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BT_LISTEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_module_put
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"session %p state %ld"

	.comm	_BT_CONNECTED,4,2               ; @BT_CONNECTED
	.comm	_BT_LISTEN,4,2                  ; @BT_LISTEN
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_rfcomm_session_del
.subsections_via_symbols
