	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_run
_rfcomm_run:                            ## @rfcomm_run
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	callq	_BT_DBG
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-10, %esi
	callq	_set_user_nice
	movq	_BDADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rfcomm_add_listener
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	xorl	%eax, %eax
	callq	_rfcomm_kill_listener
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %r14
	movq	_RFCOMM_SCHED_WAKEUP@GOTPCREL(%rip), %r15
	movq	_rfcomm_event@GOTPCREL(%rip), %rbx
	movq	_TASK_RUNNING@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_set_current_state
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	xorl	%eax, %eax
	callq	_rfcomm_process_sessions
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	jne	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_set_current_state
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_schedule
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_current,4,2                    ## @current
	.comm	_BDADDR_ANY,4,2                 ## @BDADDR_ANY
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_RFCOMM_SCHED_WAKEUP,4,2        ## @RFCOMM_SCHED_WAKEUP
	.comm	_rfcomm_event,4,2               ## @rfcomm_event
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.no_dead_strip	_rfcomm_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_run
_rfcomm_run:                            ; @rfcomm_run
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
Lloh2:
	adrp	x8, _current@GOTPAGE
Lloh3:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #-10
	bl	_set_user_nice
Lloh5:
	adrp	x8, _BDADDR_ANY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BDADDR_ANY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_rfcomm_add_listener
	bl	_kthread_should_stop
	cbz	w0, LBB0_2
LBB0_1:
	bl	_rfcomm_kill_listener
	mov	w0, #0
	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_2:
Lloh8:
	adrp	x20, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh9:
	ldr	x20, [x20, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh10:
	adrp	x21, _RFCOMM_SCHED_WAKEUP@GOTPAGE
Lloh11:
	ldr	x21, [x21, _RFCOMM_SCHED_WAKEUP@GOTPAGEOFF]
Lloh12:
	adrp	x19, _rfcomm_event@GOTPAGE
Lloh13:
	ldr	x19, [x19, _rfcomm_event@GOTPAGEOFF]
Lloh14:
	adrp	x22, _TASK_RUNNING@GOTPAGE
Lloh15:
	ldr	x22, [x22, _TASK_RUNNING@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
	bl	_set_current_state
	ldr	w0, [x21]
	mov	x1, x19
	bl	_clear_bit
	bl	_rfcomm_process_sessions
	bl	_kthread_should_stop
	cbnz	w0, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_set_current_state
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbnz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_schedule
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_current,4,2                    ; @current
	.comm	_BDADDR_ANY,4,2                 ; @BDADDR_ANY
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_RFCOMM_SCHED_WAKEUP,4,2        ; @RFCOMM_SCHED_WAKEUP
	.comm	_rfcomm_event,4,2               ; @rfcomm_event
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.no_dead_strip	_rfcomm_run
.subsections_via_symbols
