	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rfcomm_send_rpn                ## -- Begin function rfcomm_send_rpn
	.p2align	4, 0x90
_rfcomm_send_rpn:                       ## @rfcomm_send_rpn
	.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
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r9
	movq	%r8, -200(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r8
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	%rdx, %rcx
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	32(%rbp), %r13
	movq	40(%rbp), %r15
	movl	48(%rbp), %r10d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	pushq	%r10
	pushq	%r15
	pushq	%r13
	pushq	24(%rbp)
	pushq	16(%rbp)
	pushq	%rbx
	callq	_BT_DBG
	addq	$48, %rsp
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	___addr
	movq	%rax, -160(%rbp)
	movq	_RFCOMM_UIH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	___ctrl
	movl	%eax, -168(%rbp)
	movl	$72, %edi
	callq	___len8
	movq	%rax, -176(%rbp)
	movq	_RFCOMM_RPN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	___mcc_type
	movl	%eax, 24(%rbp)
	movl	$56, %edi
	callq	___len8
	movq	%rax, 16(%rbp)
	movl	$1, %edi
	movq	-184(%rbp), %rsi                ## 8-byte Reload
	callq	___addr
	movq	%rax, 192(%rbp)
	movq	-192(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 184(%rbp)
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	16(%rbp), %rdx
	callq	___rpn_line_settings
	movl	%eax, 176(%rbp)
	movq	24(%rbp), %rax
	movq	%rax, 168(%rbp)
	movq	%r13, 160(%rbp)
	movq	%r15, 152(%rbp)
	movl	48(%rbp), %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_le16
	movl	%eax, 144(%rbp)
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	callq	___fcs
	movq	%rax, 592(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$97, %edx
	callq	_rfcomm_send_frame
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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 dlci %d bit_r 0x%x data_b 0x%x stop_b 0x%x parity 0x%x flwc_s 0x%x xon_c 0x%x xoff_c 0x%x p_mask 0x%x"

	.comm	_RFCOMM_UIH,4,2                 ## @RFCOMM_UIH
	.comm	_RFCOMM_RPN,4,2                 ## @RFCOMM_RPN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rfcomm_send_rpn                ; -- Begin function rfcomm_send_rpn
	.p2align	2
_rfcomm_send_rpn:                       ; @rfcomm_send_rpn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x7, [sp, #40]                   ; 8-byte Folded Spill
	mov	x21, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x26, x2
	mov	x27, x1
	mov	x19, x0
	ldp	x28, x20, [x29, #16]
	ldr	w22, [x29, #32]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	w22, [sp, #24]
	stp	x28, x20, [sp, #8]
	str	x7, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x27
	mov	x3, x26
	mov	x4, x25
	mov	x5, x24
	mov	x6, x23
	mov	x7, x21
	bl	_BT_DBG
	ldr	w0, [x19]
	mov	x1, #0
	bl	___addr
	str	x0, [sp, #64]
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, #56]
	mov	w0, #72
	bl	___len8
	str	x0, [sp, #48]
Lloh8:
	adrp	x8, _RFCOMM_RPN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RFCOMM_RPN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x27
	bl	___mcc_type
	str	w0, [sp, #248]
	mov	w0, #56
	bl	___len8
	str	x0, [sp, #240]
	mov	w0, #1
	mov	x1, x26
	bl	___addr
	stp	x25, x0, [sp, #408]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x21
	bl	___rpn_line_settings
	str	w0, [sp, #400]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	stp	x28, x8, [sp, #384]
	str	x20, [sp, #376]
	mov	x0, x22
	bl	_cpu_to_le16
	str	w0, [sp, #368]
	add	x0, sp, #48
	bl	___fcs
	str	x0, [sp, #816]
	add	x1, sp, #48
	mov	x0, x19
	mov	w2, #97
	bl	_rfcomm_send_frame
	ldur	x8, [x29, #-96]
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, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #288
	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 dlci %d bit_r 0x%x data_b 0x%x stop_b 0x%x parity 0x%x flwc_s 0x%x xon_c 0x%x xoff_c 0x%x p_mask 0x%x"

	.comm	_RFCOMM_UIH,4,2                 ; @RFCOMM_UIH
	.comm	_RFCOMM_RPN,4,2                 ; @RFCOMM_RPN
.subsections_via_symbols
