	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_send_rls
_rfcomm_send_rls:                       ## @rfcomm_send_rls
	.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
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_BT_DBG
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	___addr
	movq	%rax, -96(%rbp)
	movq	_RFCOMM_UIH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	___ctrl
	movl	%eax, -104(%rbp)
	movl	$32, %edi
	callq	___len8
	movq	%rax, -112(%rbp)
	movq	_RFCOMM_RLS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	___mcc_type
	movl	%eax, -8(%rbp)
	movl	$16, %edi
	callq	___len8
	movq	%rax, -16(%rbp)
	movl	$1, %edi
	movl	%r15d, %esi
	callq	___addr
	movq	%rax, 56(%rbp)
	movl	%r14d, 48(%rbp)
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	callq	___fcs
	movl	%eax, 112(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$57, %edx
	callq	_rfcomm_send_frame
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p cr %d status 0x%x"

	.comm	_RFCOMM_UIH,4,2                 ## @RFCOMM_UIH
	.comm	_RFCOMM_RLS,4,2                 ## @RFCOMM_RLS
	.no_dead_strip	_rfcomm_send_rls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_send_rls
_rfcomm_send_rls:                       ; @rfcomm_send_rls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	bl	_BT_DBG
	ldr	w0, [x19]
	mov	w1, #0
	bl	___addr
	str	x0, [sp, #24]
Lloh5:
	adrp	x8, _RFCOMM_UIH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RFCOMM_UIH@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	bl	___ctrl
	str	w0, [sp, #16]
	mov	w0, #32
	bl	___len8
	str	x0, [sp, #8]
Lloh8:
	adrp	x8, _RFCOMM_RLS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RFCOMM_RLS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x22
	bl	___mcc_type
	str	w0, [sp, #112]
	mov	w0, #16
	bl	___len8
	str	x0, [sp, #104]
	mov	w0, #1
	mov	x1, x21
	bl	___addr
	str	x0, [sp, #176]
	str	w20, [sp, #168]
	add	x0, sp, #8
	bl	___fcs
	str	w0, [sp, #232]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #57
	bl	_rfcomm_send_frame
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p cr %d status 0x%x"

	.comm	_RFCOMM_UIH,4,2                 ; @RFCOMM_UIH
	.comm	_RFCOMM_RLS,4,2                 ; @RFCOMM_RLS
	.no_dead_strip	_rfcomm_send_rls
.subsections_via_symbols
