	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rfcomm_dlc_send                ## -- Begin function rfcomm_dlc_send
	.p2align	4, 0x90
_rfcomm_dlc_send:                       ## @rfcomm_dlc_send
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_BT_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rsi), %r14d
	movl	8(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_BT_DBG
	cmpl	8(%rbx), %r14d
	jle	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	20(%rbx), %esi
	movq	%r15, %rdi
	callq	_rfcomm_make_uih
	leaq	16(%rbx), %rdi
	movq	%r15, %rsi
	callq	_skb_queue_tail
	movq	_RFCOMM_TX_THROTTLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$12, %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_RFCOMM_SCHED_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rfcomm_schedule
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_CONNECTED,8,3               ## @BT_CONNECTED
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dlc %p mtu %d len %d"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RFCOMM_TX_THROTTLED,4,2        ## @RFCOMM_TX_THROTTLED
	.comm	_RFCOMM_SCHED_TX,4,2            ## @RFCOMM_SCHED_TX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rfcomm_dlc_send                ; -- Begin function rfcomm_dlc_send
	.p2align	2
_rfcomm_dlc_send:                       ; @rfcomm_dlc_send
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BT_CONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BT_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	ldr	w19, [x1]
	ldr	w2, [x0, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x3, x19
	bl	_BT_DBG
	ldr	w8, [x20, #8]
	cmp	w19, w8
	b.le	LBB0_6
; %bb.2:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_5:
	mov	x0, x19
	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_6:
	ldr	w1, [x20, #20]
	mov	x0, x21
	bl	_rfcomm_make_uih
	add	x0, x20, #16
	mov	x1, x21
	bl	_skb_queue_tail
Lloh9:
	adrp	x8, _RFCOMM_TX_THROTTLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RFCOMM_TX_THROTTLED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_test_bit
	cbnz	w0, LBB0_5
; %bb.7:
Lloh12:
	adrp	x8, _RFCOMM_SCHED_TX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RFCOMM_SCHED_TX@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_rfcomm_schedule
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_CONNECTED,8,3               ; @BT_CONNECTED
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dlc %p mtu %d len %d"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RFCOMM_TX_THROTTLED,4,2        ; @RFCOMM_TX_THROTTLED
	.comm	_RFCOMM_SCHED_TX,4,2            ; @RFCOMM_SCHED_TX
.subsections_via_symbols
