	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_tty_set_termios
_rfcomm_tty_set_termios:                ## @rfcomm_tty_set_termios
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	%rsi, %rdi
	callq	_tty_termios_baud_rate
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_tty_termios_baud_rate
	movl	%eax, %r15d
	movq	(%rbx), %r14
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_BT_DBG
	testq	%r14, %r14
	je	LBB0_54
## %bb.1:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_54
## %bb.2:
	cmpl	$0, 4(%rax)
	je	LBB0_54
## %bb.3:
	movl	(%r13), %ecx
	movq	_CRTSCTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_6
## %bb.4:
	testl	%eax, (%r12)
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movl	(%r13), %ecx
LBB0_6:
	movq	_PARENB@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	(%r12), %eax
	xorl	%eax, %ecx
	testl	%edx, %ecx
	jne	LBB0_9
## %bb.7:
	movq	_PARODD@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_8
LBB0_9:
	movq	_RFCOMM_RPN_PM_PARITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movl	(%r12), %eax
	movl	(%rbx), %edx
	testl	%eax, %edx
	je	LBB0_11
LBB0_12:
	movq	_PARODD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rdi
	cmoveq	%rax, %rdi
	movq	_RFCOMM_RPN_PARITY_ODD@GOTPCREL(%rip), %rbx
	cmoveq	_RFCOMM_RPN_PARITY_EVEN@GOTPCREL(%rip), %rbx
	jmp	LBB0_13
LBB0_8:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %edx
	jne	LBB0_12
LBB0_11:
	movq	_RFCOMM_RPN_PARITY_NONE@GOTPCREL(%rip), %rbx
	leaq	L_.str.5(%rip), %rdi
LBB0_13:
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	movq	_VSTOP@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	8(%r12), %rdx
	cmpq	(%rdx,%rcx,8), %rax
	jne	LBB0_14
## %bb.15:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	8(%r12), %rax
	movq	_RFCOMM_RPN_XON_CHAR@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	8(%r12), %rax
	movq	(%rbx), %rcx
	leaq	(%rax,%rcx,8), %rcx
	movq	_RFCOMM_RPN_PM_XON@GOTPCREL(%rip), %rdx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	orl	(%rdx), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
LBB0_16:
	movq	(%rcx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rcx
	movq	_VSTART@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	cmpq	(%rax,%rdx,8), %rcx
	jne	LBB0_17
## %bb.18:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	_RFCOMM_RPN_XOFF_CHAR@GOTPCREL(%rip), %r10
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_19
LBB0_17:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%rbx), %r10
	shlq	$3, %r10
	addq	8(%r12), %r10
	movq	_RFCOMM_RPN_PM_XOFF@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	orl	(%rax), %ebx
LBB0_19:
	movq	_CSTOPB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r12), %edx
	movl	(%r13), %esi
	xorl	%edx, %esi
	movl	%esi, %eax
	andl	%ecx, %eax
	je	LBB0_21
## %bb.20:
	movq	_RFCOMM_RPN_PM_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_21:
	testl	%ecx, %edx
	jne	LBB0_22
## %bb.23:
	movq	_RFCOMM_RPN_STOP_1@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
LBB0_22:
	movq	_RFCOMM_RPN_STOP_15@GOTPCREL(%rip), %rcx
LBB0_24:
	movq	_CSIZE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%edi, %esi
	je	LBB0_26
## %bb.25:
	movq	_RFCOMM_RPN_PM_DATA@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_26:
	orl	%ebx, %eax
	andl	%edx, %edi
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_27
## %bb.28:
	movslq	%edi, %rdx
	leaq	l_switch.table.rfcomm_tty_set_termios(%rip), %rdi
	movq	(%rdi,%rdx,8), %rdx
	jmp	LBB0_29
LBB0_27:
	movq	_RFCOMM_RPN_DATA_8@GOTPCREL(%rip), %rdx
LBB0_29:
	orl	%esi, %eax
	xorl	%esi, %esi
	cmpl	%r15d, -48(%rbp)                ## 4-byte Folded Reload
	je	LBB0_31
## %bb.30:
	movq	_RFCOMM_RPN_PM_BITRATE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_31:
	orl	%esi, %eax
	cmpl	$19199, %r15d                   ## imm = 0x4AFF
	jle	LBB0_32
## %bb.37:
	cmpl	$57599, %r15d                   ## imm = 0xE0FF
	jle	LBB0_38
## %bb.41:
	cmpl	$57600, %r15d                   ## imm = 0xE100
	je	LBB0_48
## %bb.42:
	cmpl	$115200, %r15d                  ## imm = 0x1C200
	je	LBB0_49
## %bb.43:
	cmpl	$230400, %r15d                  ## imm = 0x38400
	jne	LBB0_51
## %bb.44:
	movq	_RFCOMM_RPN_BR_230400@GOTPCREL(%rip), %rsi
	jmp	LBB0_52
LBB0_32:
	cmpl	$7199, %r15d                    ## imm = 0x1C1F
	jg	LBB0_35
## %bb.33:
	cmpl	$2400, %r15d                    ## imm = 0x960
	je	LBB0_34
## %bb.50:
	cmpl	$4800, %r15d                    ## imm = 0x12C0
	jne	LBB0_51
## %bb.45:
	movq	_RFCOMM_RPN_BR_4800@GOTPCREL(%rip), %rsi
	jmp	LBB0_52
LBB0_38:
	cmpl	$19200, %r15d                   ## imm = 0x4B00
	je	LBB0_47
## %bb.39:
	cmpl	$38400, %r15d                   ## imm = 0x9600
	jne	LBB0_51
## %bb.40:
	movq	_RFCOMM_RPN_BR_38400@GOTPCREL(%rip), %rsi
	jmp	LBB0_52
LBB0_35:
	cmpl	$7200, %r15d                    ## imm = 0x1C20
	je	LBB0_46
## %bb.36:
	cmpl	$9600, %r15d                    ## imm = 0x2580
LBB0_51:
	movq	_RFCOMM_RPN_BR_9600@GOTPCREL(%rip), %rsi
	jmp	LBB0_52
LBB0_48:
	movq	_RFCOMM_RPN_BR_57600@GOTPCREL(%rip), %rsi
	jmp	LBB0_52
LBB0_49:
	movq	_RFCOMM_RPN_BR_115200@GOTPCREL(%rip), %rsi
	jmp	LBB0_52
LBB0_34:
	movq	_RFCOMM_RPN_BR_2400@GOTPCREL(%rip), %rsi
	jmp	LBB0_52
LBB0_47:
	movq	_RFCOMM_RPN_BR_19200@GOTPCREL(%rip), %rsi
	jmp	LBB0_52
LBB0_46:
	movq	_RFCOMM_RPN_BR_7200@GOTPCREL(%rip), %rsi
LBB0_52:
	testl	%eax, %eax
	je	LBB0_54
## %bb.53:
	movq	(%rcx), %r9
	movq	(%rdx), %r8
	movq	(%rsi), %rcx
	movq	(%r14), %rsi
	movl	(%rsi), %edx
	movl	4(%rsi), %edi
	movq	_RFCOMM_RPN_FLOW_NONE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	subq	$8, %rsp
	movl	$1, %esi
	pushq	%rax
	pushq	(%r10)
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%rbx
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_rfcomm_send_rpn
	addq	$72, %rsp
	jmp	LBB0_55
LBB0_54:
	addq	$24, %rsp
LBB0_55:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tty %p termios %p"

	.comm	_CRTSCTS,4,2                    ## @CRTSCTS
L_.str.1:                               ## @.str.1
	.asciz	"Turning off CRTSCTS unsupported"

	.comm	_PARENB,4,2                     ## @PARENB
	.comm	_PARODD,4,2                     ## @PARODD
	.comm	_RFCOMM_RPN_PM_PARITY,4,2       ## @RFCOMM_RPN_PM_PARITY
L_.str.2:                               ## @.str.2
	.asciz	"Parity change detected."

L_.str.3:                               ## @.str.3
	.asciz	"Parity is ODD"

	.comm	_RFCOMM_RPN_PARITY_ODD,8,3      ## @RFCOMM_RPN_PARITY_ODD
L_.str.4:                               ## @.str.4
	.asciz	"Parity is EVEN"

	.comm	_RFCOMM_RPN_PARITY_EVEN,8,3     ## @RFCOMM_RPN_PARITY_EVEN
L_.str.5:                               ## @.str.5
	.asciz	"Parity is OFF"

	.comm	_RFCOMM_RPN_PARITY_NONE,8,3     ## @RFCOMM_RPN_PARITY_NONE
	.comm	_VSTOP,8,3                      ## @VSTOP
L_.str.6:                               ## @.str.6
	.asciz	"XOFF custom"

	.comm	_RFCOMM_RPN_PM_XON,4,2          ## @RFCOMM_RPN_PM_XON
L_.str.7:                               ## @.str.7
	.asciz	"XOFF default"

	.comm	_RFCOMM_RPN_XON_CHAR,8,3        ## @RFCOMM_RPN_XON_CHAR
	.comm	_VSTART,8,3                     ## @VSTART
L_.str.8:                               ## @.str.8
	.asciz	"XON custom"

	.comm	_RFCOMM_RPN_PM_XOFF,4,2         ## @RFCOMM_RPN_PM_XOFF
L_.str.9:                               ## @.str.9
	.asciz	"XON default"

	.comm	_RFCOMM_RPN_XOFF_CHAR,8,3       ## @RFCOMM_RPN_XOFF_CHAR
	.comm	_CSTOPB,4,2                     ## @CSTOPB
	.comm	_RFCOMM_RPN_PM_STOP,4,2         ## @RFCOMM_RPN_PM_STOP
	.comm	_RFCOMM_RPN_STOP_15,8,3         ## @RFCOMM_RPN_STOP_15
	.comm	_RFCOMM_RPN_STOP_1,8,3          ## @RFCOMM_RPN_STOP_1
	.comm	_CSIZE,4,2                      ## @CSIZE
	.comm	_RFCOMM_RPN_PM_DATA,4,2         ## @RFCOMM_RPN_PM_DATA
	.comm	_RFCOMM_RPN_DATA_5,8,3          ## @RFCOMM_RPN_DATA_5
	.comm	_RFCOMM_RPN_DATA_6,8,3          ## @RFCOMM_RPN_DATA_6
	.comm	_RFCOMM_RPN_DATA_7,8,3          ## @RFCOMM_RPN_DATA_7
	.comm	_RFCOMM_RPN_DATA_8,8,3          ## @RFCOMM_RPN_DATA_8
	.comm	_RFCOMM_RPN_PM_BITRATE,4,2      ## @RFCOMM_RPN_PM_BITRATE
	.comm	_RFCOMM_RPN_BR_2400,8,3         ## @RFCOMM_RPN_BR_2400
	.comm	_RFCOMM_RPN_BR_4800,8,3         ## @RFCOMM_RPN_BR_4800
	.comm	_RFCOMM_RPN_BR_7200,8,3         ## @RFCOMM_RPN_BR_7200
	.comm	_RFCOMM_RPN_BR_9600,8,3         ## @RFCOMM_RPN_BR_9600
	.comm	_RFCOMM_RPN_BR_19200,8,3        ## @RFCOMM_RPN_BR_19200
	.comm	_RFCOMM_RPN_BR_38400,8,3        ## @RFCOMM_RPN_BR_38400
	.comm	_RFCOMM_RPN_BR_57600,8,3        ## @RFCOMM_RPN_BR_57600
	.comm	_RFCOMM_RPN_BR_115200,8,3       ## @RFCOMM_RPN_BR_115200
	.comm	_RFCOMM_RPN_BR_230400,8,3       ## @RFCOMM_RPN_BR_230400
	.comm	_RFCOMM_RPN_FLOW_NONE,4,2       ## @RFCOMM_RPN_FLOW_NONE
	.no_dead_strip	_rfcomm_tty_set_termios
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.rfcomm_tty_set_termios
l_switch.table.rfcomm_tty_set_termios:
	.quad	_RFCOMM_RPN_DATA_8
	.quad	_RFCOMM_RPN_DATA_7
	.quad	_RFCOMM_RPN_DATA_6
	.quad	_RFCOMM_RPN_DATA_5

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_tty_set_termios
_rfcomm_tty_set_termios:                ; @rfcomm_tty_set_termios
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	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
	.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	x23, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
	mov	x0, x1
	bl	_tty_termios_baud_rate
	mov	x21, x0
	mov	x0, x22
	bl	_tty_termios_baud_rate
	mov	x19, x0
	ldr	x24, [x20]
	stp	x20, x23, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
	cbz	x24, LBB0_44
; %bb.1:
	ldr	x8, [x24]
	cbz	x8, LBB0_44
; %bb.2:
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_44
; %bb.3:
	ldr	w10, [x23]
Lloh2:
	adrp	x8, _CRTSCTS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CRTSCTS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w10
	b.eq	LBB0_6
; %bb.4:
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_DBG
	ldr	w10, [x23]
LBB0_6:
Lloh7:
	adrp	x25, _PARENB@GOTPAGE
Lloh8:
	ldr	x25, [x25, _PARENB@GOTPAGEOFF]
	ldr	w9, [x25]
	ldr	w8, [x22]
	eor	w10, w8, w10
Lloh9:
	adrp	x20, _PARODD@GOTPAGE
Lloh10:
	ldr	x20, [x20, _PARODD@GOTPAGEOFF]
	tst	w10, w9
	b.ne	LBB0_8
; %bb.7:
	ldr	w11, [x20]
	tst	w11, w10
	b.eq	LBB0_10
LBB0_8:
Lloh11:
	adrp	x8, _RFCOMM_RPN_PM_PARITY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RFCOMM_RPN_PM_PARITY@GOTPAGEOFF]
Lloh13:
	ldr	w26, [x8]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BT_DBG
	ldr	w8, [x22]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_9:
	ldr	w9, [x20]
Lloh16:
	adrp	x10, l_.str.3@PAGE
Lloh17:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh18:
	adrp	x11, l_.str.4@PAGE
Lloh19:
	add	x11, x11, l_.str.4@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
Lloh20:
	adrp	x8, _RFCOMM_RPN_PARITY_ODD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RFCOMM_RPN_PARITY_ODD@GOTPAGEOFF]
Lloh22:
	adrp	x9, _RFCOMM_RPN_PARITY_EVEN@GOTPAGE
Lloh23:
	ldr	x9, [x9, _RFCOMM_RPN_PARITY_EVEN@GOTPAGEOFF]
	csel	x20, x9, x8, eq
	b	LBB0_12
LBB0_10:
	mov	w26, #0
	tst	w9, w8
	b.ne	LBB0_9
LBB0_11:
Lloh24:
	adrp	x20, _RFCOMM_RPN_PARITY_NONE@GOTPAGE
Lloh25:
	ldr	x20, [x20, _RFCOMM_RPN_PARITY_NONE@GOTPAGEOFF]
Lloh26:
	adrp	x0, l_.str.5@PAGE
Lloh27:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_12:
	bl	_BT_DBG
	ldr	x20, [x20]
	ldr	x8, [x23, #8]
Lloh28:
	adrp	x25, _VSTOP@GOTPAGE
Lloh29:
	ldr	x25, [x25, _VSTOP@GOTPAGEOFF]
	ldr	x9, [x25]
	lsl	x9, x9, #3
	ldr	x8, [x8, x9]
	ldr	x10, [x22, #8]
	ldr	x9, [x10, x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_BT_DBG
	ldr	x8, [x22, #8]
Lloh32:
	adrp	x9, _RFCOMM_RPN_XON_CHAR@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RFCOMM_RPN_XON_CHAR@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh34:
	adrp	x0, l_.str.6@PAGE
Lloh35:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_BT_DBG
	ldr	x8, [x22, #8]
	ldr	x9, [x25]
	add	x9, x8, x9, lsl #3
Lloh36:
	adrp	x10, _RFCOMM_RPN_PM_XON@GOTPAGE
Lloh37:
	ldr	x10, [x10, _RFCOMM_RPN_PM_XON@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
	orr	w26, w10, w26
LBB0_15:
	ldr	x25, [x9]
	ldr	x9, [x23, #8]
Lloh39:
	adrp	x27, _VSTART@GOTPAGE
Lloh40:
	ldr	x27, [x27, _VSTART@GOTPAGEOFF]
	ldr	x10, [x27]
	lsl	x10, x10, #3
	ldr	x9, [x9, x10]
	ldr	x8, [x8, x10]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
Lloh41:
	adrp	x0, l_.str.9@PAGE
Lloh42:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_BT_DBG
Lloh43:
	adrp	x8, _RFCOMM_RPN_XOFF_CHAR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _RFCOMM_RPN_XOFF_CHAR@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh45:
	adrp	x0, l_.str.8@PAGE
Lloh46:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_BT_DBG
	ldr	x8, [x22, #8]
	ldr	x9, [x27]
	add	x8, x8, x9, lsl #3
Lloh47:
	adrp	x9, _RFCOMM_RPN_PM_XOFF@GOTPAGE
Lloh48:
	ldr	x9, [x9, _RFCOMM_RPN_PM_XOFF@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	orr	w26, w9, w26
LBB0_18:
	ldr	w9, [x23]
Lloh50:
	adrp	x10, _CSTOPB@GOTPAGE
Lloh51:
	ldr	x10, [x10, _CSTOPB@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x10]
	ldr	w12, [x22]
	eor	w11, w12, w9
Lloh53:
	adrp	x9, _RFCOMM_RPN_PM_STOP@GOTPAGE
Lloh54:
	ldr	x9, [x9, _RFCOMM_RPN_PM_STOP@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	tst	w11, w10
	csel	w9, wzr, w9, eq
	orr	w13, w9, w26
Lloh56:
	adrp	x9, _RFCOMM_RPN_STOP_1@GOTPAGE
Lloh57:
	ldr	x9, [x9, _RFCOMM_RPN_STOP_1@GOTPAGEOFF]
Lloh58:
	adrp	x14, _RFCOMM_RPN_STOP_15@GOTPAGE
Lloh59:
	ldr	x14, [x14, _RFCOMM_RPN_STOP_15@GOTPAGEOFF]
	tst	w12, w10
	csel	x9, x9, x14, eq
Lloh60:
	adrp	x10, _CSIZE@GOTPAGE
Lloh61:
	ldr	x10, [x10, _CSIZE@GOTPAGEOFF]
Lloh62:
	ldr	w10, [x10]
Lloh63:
	adrp	x14, _RFCOMM_RPN_PM_DATA@GOTPAGE
Lloh64:
	ldr	x14, [x14, _RFCOMM_RPN_PM_DATA@GOTPAGEOFF]
Lloh65:
	ldr	w14, [x14]
	tst	w10, w11
	csel	w11, wzr, w14, eq
	orr	w11, w13, w11
	and	w10, w10, w12
	sub	w10, w10, #128
	cmp	w10, #3
	b.hi	LBB0_20
; %bb.19:
Lloh66:
	adrp	x12, l_switch.table.rfcomm_tty_set_termios@PAGE
Lloh67:
	add	x12, x12, l_switch.table.rfcomm_tty_set_termios@PAGEOFF
	ldr	x10, [x12, w10, sxtw #3]
	b	LBB0_21
LBB0_20:
Lloh68:
	adrp	x10, _RFCOMM_RPN_DATA_8@GOTPAGE
Lloh69:
	ldr	x10, [x10, _RFCOMM_RPN_DATA_8@GOTPAGEOFF]
LBB0_21:
Lloh70:
	adrp	x12, _RFCOMM_RPN_PM_BITRATE@GOTPAGE
Lloh71:
	ldr	x12, [x12, _RFCOMM_RPN_PM_BITRATE@GOTPAGEOFF]
Lloh72:
	ldr	w12, [x12]
	cmp	w21, w19
	csel	w12, wzr, w12, eq
	orr	w11, w11, w12
	mov	w12, #19199
	cmp	w19, w12
	b.le	LBB0_27
; %bb.22:
	mov	w12, #57599
	cmp	w19, w12
	b.le	LBB0_31
; %bb.23:
	mov	w12, #57600
	cmp	w19, w12
	b.eq	LBB0_37
; %bb.24:
	mov	w12, #49664
	movk	w12, #1, lsl #16
	cmp	w19, w12
	b.eq	LBB0_38
; %bb.25:
	mov	w12, #33792
	movk	w12, #3, lsl #16
	cmp	w19, w12
	b.ne	LBB0_36
; %bb.26:
Lloh73:
	adrp	x12, _RFCOMM_RPN_BR_230400@GOTPAGE
Lloh74:
	ldr	x12, [x12, _RFCOMM_RPN_BR_230400@GOTPAGEOFF]
	b	LBB0_42
LBB0_27:
	mov	w12, #7199
	cmp	w19, w12
	b.gt	LBB0_34
; %bb.28:
	cmp	w19, #2400
	b.eq	LBB0_39
; %bb.29:
	mov	w12, #4800
	cmp	w19, w12
	b.ne	LBB0_36
; %bb.30:
Lloh75:
	adrp	x12, _RFCOMM_RPN_BR_4800@GOTPAGE
Lloh76:
	ldr	x12, [x12, _RFCOMM_RPN_BR_4800@GOTPAGEOFF]
	b	LBB0_42
LBB0_31:
	mov	w12, #19200
	cmp	w19, w12
	b.eq	LBB0_40
; %bb.32:
	mov	w12, #38400
	cmp	w19, w12
	b.ne	LBB0_36
; %bb.33:
Lloh77:
	adrp	x12, _RFCOMM_RPN_BR_38400@GOTPAGE
Lloh78:
	ldr	x12, [x12, _RFCOMM_RPN_BR_38400@GOTPAGEOFF]
	b	LBB0_42
LBB0_34:
	mov	w12, #7200
	cmp	w19, w12
	b.eq	LBB0_41
; %bb.35:
	mov	w12, #9600
	cmp	w19, w12
LBB0_36:
Lloh79:
	adrp	x12, _RFCOMM_RPN_BR_9600@GOTPAGE
Lloh80:
	ldr	x12, [x12, _RFCOMM_RPN_BR_9600@GOTPAGEOFF]
	b	LBB0_42
LBB0_37:
Lloh81:
	adrp	x12, _RFCOMM_RPN_BR_57600@GOTPAGE
Lloh82:
	ldr	x12, [x12, _RFCOMM_RPN_BR_57600@GOTPAGEOFF]
	b	LBB0_42
LBB0_38:
Lloh83:
	adrp	x12, _RFCOMM_RPN_BR_115200@GOTPAGE
Lloh84:
	ldr	x12, [x12, _RFCOMM_RPN_BR_115200@GOTPAGEOFF]
	b	LBB0_42
LBB0_39:
Lloh85:
	adrp	x12, _RFCOMM_RPN_BR_2400@GOTPAGE
Lloh86:
	ldr	x12, [x12, _RFCOMM_RPN_BR_2400@GOTPAGEOFF]
	b	LBB0_42
LBB0_40:
Lloh87:
	adrp	x12, _RFCOMM_RPN_BR_19200@GOTPAGE
Lloh88:
	ldr	x12, [x12, _RFCOMM_RPN_BR_19200@GOTPAGEOFF]
	b	LBB0_42
LBB0_41:
Lloh89:
	adrp	x12, _RFCOMM_RPN_BR_7200@GOTPAGE
Lloh90:
	ldr	x12, [x12, _RFCOMM_RPN_BR_7200@GOTPAGEOFF]
LBB0_42:
	cbz	w11, LBB0_44
; %bb.43:
	ldr	x5, [x9]
	ldr	x4, [x10]
	ldr	x8, [x8]
	ldr	x3, [x12]
	ldr	x9, [x24]
	ldp	w2, w0, [x9]
Lloh91:
	adrp	x9, _RFCOMM_RPN_FLOW_NONE@GOTPAGE
Lloh92:
	ldr	x9, [x9, _RFCOMM_RPN_FLOW_NONE@GOTPAGEOFF]
Lloh93:
	ldr	w7, [x9]
	str	w11, [sp, #16]
	stp	x25, x8, [sp]
	mov	w1, #1
	mov	x6, x20
	bl	_rfcomm_send_rpn
LBB0_44:
	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
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tty %p termios %p"

	.comm	_CRTSCTS,4,2                    ; @CRTSCTS
l_.str.1:                               ; @.str.1
	.asciz	"Turning off CRTSCTS unsupported"

	.comm	_PARENB,4,2                     ; @PARENB
	.comm	_PARODD,4,2                     ; @PARODD
	.comm	_RFCOMM_RPN_PM_PARITY,4,2       ; @RFCOMM_RPN_PM_PARITY
l_.str.2:                               ; @.str.2
	.asciz	"Parity change detected."

l_.str.3:                               ; @.str.3
	.asciz	"Parity is ODD"

	.comm	_RFCOMM_RPN_PARITY_ODD,8,3      ; @RFCOMM_RPN_PARITY_ODD
l_.str.4:                               ; @.str.4
	.asciz	"Parity is EVEN"

	.comm	_RFCOMM_RPN_PARITY_EVEN,8,3     ; @RFCOMM_RPN_PARITY_EVEN
l_.str.5:                               ; @.str.5
	.asciz	"Parity is OFF"

	.comm	_RFCOMM_RPN_PARITY_NONE,8,3     ; @RFCOMM_RPN_PARITY_NONE
	.comm	_VSTOP,8,3                      ; @VSTOP
l_.str.6:                               ; @.str.6
	.asciz	"XOFF custom"

	.comm	_RFCOMM_RPN_PM_XON,4,2          ; @RFCOMM_RPN_PM_XON
l_.str.7:                               ; @.str.7
	.asciz	"XOFF default"

	.comm	_RFCOMM_RPN_XON_CHAR,8,3        ; @RFCOMM_RPN_XON_CHAR
	.comm	_VSTART,8,3                     ; @VSTART
l_.str.8:                               ; @.str.8
	.asciz	"XON custom"

	.comm	_RFCOMM_RPN_PM_XOFF,4,2         ; @RFCOMM_RPN_PM_XOFF
l_.str.9:                               ; @.str.9
	.asciz	"XON default"

	.comm	_RFCOMM_RPN_XOFF_CHAR,8,3       ; @RFCOMM_RPN_XOFF_CHAR
	.comm	_CSTOPB,4,2                     ; @CSTOPB
	.comm	_RFCOMM_RPN_PM_STOP,4,2         ; @RFCOMM_RPN_PM_STOP
	.comm	_RFCOMM_RPN_STOP_15,8,3         ; @RFCOMM_RPN_STOP_15
	.comm	_RFCOMM_RPN_STOP_1,8,3          ; @RFCOMM_RPN_STOP_1
	.comm	_CSIZE,4,2                      ; @CSIZE
	.comm	_RFCOMM_RPN_PM_DATA,4,2         ; @RFCOMM_RPN_PM_DATA
	.comm	_RFCOMM_RPN_DATA_5,8,3          ; @RFCOMM_RPN_DATA_5
	.comm	_RFCOMM_RPN_DATA_6,8,3          ; @RFCOMM_RPN_DATA_6
	.comm	_RFCOMM_RPN_DATA_7,8,3          ; @RFCOMM_RPN_DATA_7
	.comm	_RFCOMM_RPN_DATA_8,8,3          ; @RFCOMM_RPN_DATA_8
	.comm	_RFCOMM_RPN_PM_BITRATE,4,2      ; @RFCOMM_RPN_PM_BITRATE
	.comm	_RFCOMM_RPN_BR_2400,8,3         ; @RFCOMM_RPN_BR_2400
	.comm	_RFCOMM_RPN_BR_4800,8,3         ; @RFCOMM_RPN_BR_4800
	.comm	_RFCOMM_RPN_BR_7200,8,3         ; @RFCOMM_RPN_BR_7200
	.comm	_RFCOMM_RPN_BR_9600,8,3         ; @RFCOMM_RPN_BR_9600
	.comm	_RFCOMM_RPN_BR_19200,8,3        ; @RFCOMM_RPN_BR_19200
	.comm	_RFCOMM_RPN_BR_38400,8,3        ; @RFCOMM_RPN_BR_38400
	.comm	_RFCOMM_RPN_BR_57600,8,3        ; @RFCOMM_RPN_BR_57600
	.comm	_RFCOMM_RPN_BR_115200,8,3       ; @RFCOMM_RPN_BR_115200
	.comm	_RFCOMM_RPN_BR_230400,8,3       ; @RFCOMM_RPN_BR_230400
	.comm	_RFCOMM_RPN_FLOW_NONE,4,2       ; @RFCOMM_RPN_FLOW_NONE
	.no_dead_strip	_rfcomm_tty_set_termios
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.rfcomm_tty_set_termios
l_switch.table.rfcomm_tty_set_termios:
	.quad	_RFCOMM_RPN_DATA_8
	.quad	_RFCOMM_RPN_DATA_7
	.quad	_RFCOMM_RPN_DATA_6
	.quad	_RFCOMM_RPN_DATA_5

.subsections_via_symbols
