	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_recv_rpn
_rfcomm_recv_rpn:                       ## @rfcomm_recv_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	(%rcx), %r13
	movl	40(%r13), %edi
	callq	___get_dlci
	movq	%rax, %rsi
	movq	_RFCOMM_RPN_PM_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%r13), %r8
	movl	36(%r13), %r9d
	movups	8(%r13), %xmm0
	movq	24(%r13), %rax
	movl	32(%r13), %ecx
	subq	$32, %rsp
	movl	%ecx, 24(%rsp)
	movq	%rax, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	L_.str(%rip), %rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_BT_DBG
	addq	$32, %rsp
	testl	%ebx, %ebx
	je	LBB0_38
## %bb.1:
	cmpl	$1, %r14d
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jne	LBB0_3
## %bb.2:
	movq	%r12, %r14
	movq	_RFCOMM_RPN_BR_115200@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_RFCOMM_RPN_DATA_8@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_RFCOMM_RPN_STOP_1@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_RFCOMM_RPN_PARITY_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_RFCOMM_RPN_FLOW_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_RFCOMM_RPN_XON_CHAR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_RFCOMM_RPN_XOFF_CHAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_37
LBB0_3:
	movl	32(%r13), %ebx
	movq	_RFCOMM_RPN_PM_BITRATE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	je	LBB0_4
## %bb.5:
	movq	(%r13), %rsi
	movq	_RFCOMM_RPN_BR_115200@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rsi
	jne	LBB0_7
## %bb.6:
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	(%r15), %r12d
LBB0_8:
	movl	32(%r13), %ebx
	movq	_RFCOMM_RPN_PM_DATA@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	je	LBB0_9
## %bb.10:
	movl	36(%r13), %edi
	callq	___get_rpn_data_bits
	movq	_RFCOMM_RPN_DATA_8@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_12
## %bb.11:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_9:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	(%r14), %r12d
LBB0_13:
	movl	32(%r13), %ebx
	movq	_RFCOMM_RPN_PM_STOP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	je	LBB0_14
## %bb.15:
	movl	36(%r13), %edi
	callq	___get_rpn_stop_bits
	movq	_RFCOMM_RPN_STOP_1@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_17
## %bb.16:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_14:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	(%r14), %r12d
LBB0_18:
	movl	32(%r13), %ebx
	movq	_RFCOMM_RPN_PM_PARITY@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	je	LBB0_19
## %bb.20:
	movl	36(%r13), %edi
	callq	___get_rpn_parity
	movq	_RFCOMM_RPN_PARITY_NONE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_22
## %bb.21:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_23
LBB0_19:
	movq	%r12, %r14
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_24
LBB0_22:
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	(%r15), %r12d
LBB0_23:
	movq	%r12, %r14
LBB0_24:
	movl	32(%r13), %ebx
	movq	_RFCOMM_RPN_PM_FLOW@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	je	LBB0_25
## %bb.26:
	movq	8(%r13), %r15
	movq	_RFCOMM_RPN_FLOW_NONE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r15
	je	LBB0_28
## %bb.27:
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%rbx), %r15
	xorl	(%r12), %r14d
	jmp	LBB0_28
LBB0_25:
	xorl	%r15d, %r15d
LBB0_28:
	movl	32(%r13), %ebx
	movq	_RFCOMM_RPN_PM_XON@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	je	LBB0_29
## %bb.30:
	movq	%r12, %rbx
	movq	16(%r13), %r12
	movq	_RFCOMM_RPN_XON_CHAR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_32
## %bb.31:
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%r12), %r12
	xorl	(%rbx), %r14d
	jmp	LBB0_32
LBB0_29:
	xorl	%r12d, %r12d
LBB0_32:
	movl	32(%r13), %ebx
	movq	_RFCOMM_RPN_PM_XOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	je	LBB0_33
## %bb.34:
	movq	24(%r13), %rax
	movq	_RFCOMM_RPN_XOFF_CHAR@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_36
## %bb.35:
	leaq	L_.str.7(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%r13), %rax
	movq	_RFCOMM_RPN_PM_XOFF@GOTPCREL(%rip), %rcx
	xorl	(%rcx), %r14d
	jmp	LBB0_36
LBB0_33:
	xorl	%eax, %eax
LBB0_36:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_37:
	subq	$8, %rsp
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	pushq	%r14
	pushq	%rax
	pushq	%r12
	pushq	%r15
	pushq	%rbx
	callq	_rfcomm_send_rpn
	addq	$48, %rsp
LBB0_38:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFCOMM_RPN_PM_ALL,4,2          ## @RFCOMM_RPN_PM_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dlci %d cr %d len 0x%x bitr 0x%x line 0x%x flow 0x%x xonc 0x%x xoffc 0x%x pm 0x%x"

	.comm	_RFCOMM_RPN_BR_115200,8,3       ## @RFCOMM_RPN_BR_115200
	.comm	_RFCOMM_RPN_DATA_8,8,3          ## @RFCOMM_RPN_DATA_8
	.comm	_RFCOMM_RPN_STOP_1,8,3          ## @RFCOMM_RPN_STOP_1
	.comm	_RFCOMM_RPN_PARITY_NONE,8,3     ## @RFCOMM_RPN_PARITY_NONE
	.comm	_RFCOMM_RPN_FLOW_NONE,8,3       ## @RFCOMM_RPN_FLOW_NONE
	.comm	_RFCOMM_RPN_XON_CHAR,8,3        ## @RFCOMM_RPN_XON_CHAR
	.comm	_RFCOMM_RPN_XOFF_CHAR,8,3       ## @RFCOMM_RPN_XOFF_CHAR
	.comm	_RFCOMM_RPN_PM_BITRATE,4,2      ## @RFCOMM_RPN_PM_BITRATE
L_.str.1:                               ## @.str.1
	.asciz	"RPN bit rate mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_DATA,4,2         ## @RFCOMM_RPN_PM_DATA
L_.str.2:                               ## @.str.2
	.asciz	"RPN data bits mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_STOP,4,2         ## @RFCOMM_RPN_PM_STOP
L_.str.3:                               ## @.str.3
	.asciz	"RPN stop bits mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_PARITY,4,2       ## @RFCOMM_RPN_PM_PARITY
L_.str.4:                               ## @.str.4
	.asciz	"RPN parity mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_FLOW,4,2         ## @RFCOMM_RPN_PM_FLOW
L_.str.5:                               ## @.str.5
	.asciz	"RPN flow ctrl mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_XON,4,2          ## @RFCOMM_RPN_PM_XON
L_.str.6:                               ## @.str.6
	.asciz	"RPN XON char mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_XOFF,4,2         ## @RFCOMM_RPN_PM_XOFF
L_.str.7:                               ## @.str.7
	.asciz	"RPN XOFF char mismatch 0x%x"

	.no_dead_strip	_rfcomm_recv_rpn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_recv_rpn
_rfcomm_recv_rpn:                       ; @rfcomm_recv_rpn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x28, [x3]
	ldr	w0, [x28, #40]
	bl	___get_dlci
	mov	x20, x0
Lloh0:
	adrp	x8, _RFCOMM_RPN_PM_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFCOMM_RPN_PM_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	ldr	x8, [x28]
	ldur	q0, [x28, #8]
	ldr	x9, [x28, #24]
	ldp	w11, w10, [x28, #32]
	stp	x9, x11, [sp, #48]
	str	q0, [sp, #32]
	stp	x8, x10, [sp, #16]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	stp	x22, x21, [sp]
	mov	x1, x20
	bl	_BT_DBG
	cbz	w22, LBB0_34
; %bb.1:
	cmp	w21, #1
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _RFCOMM_RPN_BR_115200@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RFCOMM_RPN_BR_115200@GOTPAGEOFF]
Lloh7:
	ldr	x3, [x8]
Lloh8:
	adrp	x8, _RFCOMM_RPN_DATA_8@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RFCOMM_RPN_DATA_8@GOTPAGEOFF]
Lloh10:
	ldr	x22, [x8]
Lloh11:
	adrp	x8, _RFCOMM_RPN_STOP_1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RFCOMM_RPN_STOP_1@GOTPAGEOFF]
Lloh13:
	ldr	x23, [x8]
Lloh14:
	adrp	x8, _RFCOMM_RPN_PARITY_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RFCOMM_RPN_PARITY_NONE@GOTPAGEOFF]
Lloh16:
	ldr	x24, [x8]
Lloh17:
	adrp	x8, _RFCOMM_RPN_FLOW_NONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RFCOMM_RPN_FLOW_NONE@GOTPAGEOFF]
Lloh19:
	ldr	x25, [x8]
Lloh20:
	adrp	x8, _RFCOMM_RPN_XON_CHAR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RFCOMM_RPN_XON_CHAR@GOTPAGEOFF]
Lloh22:
	ldr	x26, [x8]
Lloh23:
	adrp	x8, _RFCOMM_RPN_XOFF_CHAR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RFCOMM_RPN_XOFF_CHAR@GOTPAGEOFF]
Lloh25:
	ldr	x1, [x8]
	b	LBB0_33
LBB0_3:
	str	x19, [sp, #72]                  ; 8-byte Folded Spill
	ldr	w19, [x28, #32]
Lloh26:
	adrp	x22, _RFCOMM_RPN_PM_BITRATE@GOTPAGE
Lloh27:
	ldr	x22, [x22, _RFCOMM_RPN_PM_BITRATE@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_cpu_to_le16
	tst	w0, w19
	b.eq	LBB0_6
; %bb.4:
	ldr	x1, [x28]
Lloh28:
	adrp	x19, _RFCOMM_RPN_BR_115200@GOTPAGE
Lloh29:
	ldr	x19, [x19, _RFCOMM_RPN_BR_115200@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x1, x8
	b.ne	LBB0_7
; %bb.5:
	str	x1, [sp, #64]                   ; 8-byte Folded Spill
	b	LBB0_8
LBB0_6:
	str	xzr, [sp, #64]                  ; 8-byte Folded Spill
	b	LBB0_8
LBB0_7:
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_DBG
	ldr	x8, [x19]
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	ldr	w8, [x22]
	eor	w27, w8, w27
LBB0_8:
	ldr	w19, [x28, #32]
Lloh32:
	adrp	x23, _RFCOMM_RPN_PM_DATA@GOTPAGE
Lloh33:
	ldr	x23, [x23, _RFCOMM_RPN_PM_DATA@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_cpu_to_le16
	tst	w0, w19
	b.eq	LBB0_11
; %bb.9:
	ldr	w0, [x28, #36]
	bl	___get_rpn_data_bits
	mov	x22, x0
Lloh34:
	adrp	x19, _RFCOMM_RPN_DATA_8@GOTPAGE
Lloh35:
	ldr	x19, [x19, _RFCOMM_RPN_DATA_8@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.10:
Lloh36:
	adrp	x0, l_.str.2@PAGE
Lloh37:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_BT_DBG
	ldr	x22, [x19]
	ldr	w8, [x23]
	eor	w27, w8, w27
	b	LBB0_12
LBB0_11:
	mov	x22, #0
LBB0_12:
	ldr	w19, [x28, #32]
Lloh38:
	adrp	x24, _RFCOMM_RPN_PM_STOP@GOTPAGE
Lloh39:
	ldr	x24, [x24, _RFCOMM_RPN_PM_STOP@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_cpu_to_le16
	tst	w0, w19
	b.eq	LBB0_15
; %bb.13:
	ldr	w0, [x28, #36]
	bl	___get_rpn_stop_bits
	mov	x23, x0
Lloh40:
	adrp	x19, _RFCOMM_RPN_STOP_1@GOTPAGE
Lloh41:
	ldr	x19, [x19, _RFCOMM_RPN_STOP_1@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.14:
Lloh42:
	adrp	x0, l_.str.3@PAGE
Lloh43:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x23
	bl	_BT_DBG
	ldr	x23, [x19]
	ldr	w8, [x24]
	eor	w27, w8, w27
	b	LBB0_16
LBB0_15:
	mov	x23, #0
LBB0_16:
	ldr	w19, [x28, #32]
Lloh44:
	adrp	x25, _RFCOMM_RPN_PM_PARITY@GOTPAGE
Lloh45:
	ldr	x25, [x25, _RFCOMM_RPN_PM_PARITY@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_cpu_to_le16
	tst	w0, w19
	b.eq	LBB0_19
; %bb.17:
	ldr	w0, [x28, #36]
	bl	___get_rpn_parity
	mov	x24, x0
Lloh46:
	adrp	x19, _RFCOMM_RPN_PARITY_NONE@GOTPAGE
Lloh47:
	ldr	x19, [x19, _RFCOMM_RPN_PARITY_NONE@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_20
; %bb.18:
Lloh48:
	adrp	x0, l_.str.4@PAGE
Lloh49:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x24
	bl	_BT_DBG
	ldr	x24, [x19]
	ldr	w8, [x25]
	eor	w27, w8, w27
	b	LBB0_20
LBB0_19:
	mov	x24, #0
LBB0_20:
	ldr	w19, [x28, #32]
Lloh50:
	adrp	x26, _RFCOMM_RPN_PM_FLOW@GOTPAGE
Lloh51:
	ldr	x26, [x26, _RFCOMM_RPN_PM_FLOW@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_cpu_to_le16
	tst	w0, w19
	b.eq	LBB0_23
; %bb.21:
	ldr	x25, [x28, #8]
Lloh52:
	adrp	x19, _RFCOMM_RPN_FLOW_NONE@GOTPAGE
Lloh53:
	ldr	x19, [x19, _RFCOMM_RPN_FLOW_NONE@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x25, x8
	b.eq	LBB0_24
; %bb.22:
Lloh54:
	adrp	x0, l_.str.5@PAGE
Lloh55:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x25
	bl	_BT_DBG
	ldr	x25, [x19]
	ldr	w8, [x26]
	eor	w27, w8, w27
	b	LBB0_24
LBB0_23:
	mov	x25, #0
LBB0_24:
	ldr	w21, [x28, #32]
Lloh56:
	adrp	x19, _RFCOMM_RPN_PM_XON@GOTPAGE
Lloh57:
	ldr	x19, [x19, _RFCOMM_RPN_PM_XON@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cpu_to_le16
	tst	w0, w21
	b.eq	LBB0_27
; %bb.25:
	ldr	x26, [x28, #16]
Lloh58:
	adrp	x21, _RFCOMM_RPN_XON_CHAR@GOTPAGE
Lloh59:
	ldr	x21, [x21, _RFCOMM_RPN_XON_CHAR@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x26, x8
	b.eq	LBB0_28
; %bb.26:
Lloh60:
	adrp	x0, l_.str.6@PAGE
Lloh61:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x26
	bl	_BT_DBG
	ldr	x26, [x21]
	ldr	w8, [x19]
	eor	w27, w8, w27
	b	LBB0_28
LBB0_27:
	mov	x26, #0
LBB0_28:
	ldr	w21, [x28, #32]
Lloh62:
	adrp	x19, _RFCOMM_RPN_PM_XOFF@GOTPAGE
Lloh63:
	ldr	x19, [x19, _RFCOMM_RPN_PM_XOFF@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cpu_to_le16
	tst	w0, w21
	b.eq	LBB0_31
; %bb.29:
	ldr	x1, [x28, #24]
Lloh64:
	adrp	x21, _RFCOMM_RPN_XOFF_CHAR@GOTPAGE
Lloh65:
	ldr	x21, [x21, _RFCOMM_RPN_XOFF_CHAR@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x1, x8
	b.eq	LBB0_32
; %bb.30:
Lloh66:
	adrp	x0, l_.str.7@PAGE
Lloh67:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_BT_DBG
	ldr	x1, [x21]
	ldr	w8, [x19]
	eor	w27, w8, w27
	b	LBB0_32
LBB0_31:
	mov	x1, #0
LBB0_32:
	ldp	x3, x19, [sp, #64]              ; 16-byte Folded Reload
LBB0_33:
	str	w27, [sp, #16]
	stp	x26, x1, [sp]
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	x4, x22
	mov	x5, x23
	mov	x6, x24
	mov	x7, x25
	bl	_rfcomm_send_rpn
LBB0_34:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_RFCOMM_RPN_PM_ALL,4,2          ; @RFCOMM_RPN_PM_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dlci %d cr %d len 0x%x bitr 0x%x line 0x%x flow 0x%x xonc 0x%x xoffc 0x%x pm 0x%x"

	.comm	_RFCOMM_RPN_BR_115200,8,3       ; @RFCOMM_RPN_BR_115200
	.comm	_RFCOMM_RPN_DATA_8,8,3          ; @RFCOMM_RPN_DATA_8
	.comm	_RFCOMM_RPN_STOP_1,8,3          ; @RFCOMM_RPN_STOP_1
	.comm	_RFCOMM_RPN_PARITY_NONE,8,3     ; @RFCOMM_RPN_PARITY_NONE
	.comm	_RFCOMM_RPN_FLOW_NONE,8,3       ; @RFCOMM_RPN_FLOW_NONE
	.comm	_RFCOMM_RPN_XON_CHAR,8,3        ; @RFCOMM_RPN_XON_CHAR
	.comm	_RFCOMM_RPN_XOFF_CHAR,8,3       ; @RFCOMM_RPN_XOFF_CHAR
	.comm	_RFCOMM_RPN_PM_BITRATE,4,2      ; @RFCOMM_RPN_PM_BITRATE
l_.str.1:                               ; @.str.1
	.asciz	"RPN bit rate mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_DATA,4,2         ; @RFCOMM_RPN_PM_DATA
l_.str.2:                               ; @.str.2
	.asciz	"RPN data bits mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_STOP,4,2         ; @RFCOMM_RPN_PM_STOP
l_.str.3:                               ; @.str.3
	.asciz	"RPN stop bits mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_PARITY,4,2       ; @RFCOMM_RPN_PM_PARITY
l_.str.4:                               ; @.str.4
	.asciz	"RPN parity mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_FLOW,4,2         ; @RFCOMM_RPN_PM_FLOW
l_.str.5:                               ; @.str.5
	.asciz	"RPN flow ctrl mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_XON,4,2          ; @RFCOMM_RPN_PM_XON
l_.str.6:                               ; @.str.6
	.asciz	"RPN XON char mismatch 0x%x"

	.comm	_RFCOMM_RPN_PM_XOFF,4,2         ; @RFCOMM_RPN_PM_XOFF
l_.str.7:                               ; @.str.7
	.asciz	"RPN XOFF char mismatch 0x%x"

	.no_dead_strip	_rfcomm_recv_rpn
.subsections_via_symbols
