	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_tty_ioctl
_rfcomm_tty_ioctl:                      ## @rfcomm_tty_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BT_DBG
	addl	$-128, %ebx
	cmpl	$8, %ebx
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_12
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
LBB0_12:
	callq	_BT_ERR
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	callq	_BT_DBG
LBB0_13:
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tty %p cmd 0x%02x"

L_.str.1:                               ## @.str.1
	.asciz	"TCGETS is not supported"

	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
L_.str.2:                               ## @.str.2
	.asciz	"TCSETS is not supported"

L_.str.3:                               ## @.str.3
	.asciz	"TIOCMIWAIT"

L_.str.4:                               ## @.str.4
	.asciz	"TIOCGICOUNT"

L_.str.5:                               ## @.str.5
	.asciz	"TIOCGSERIAL is not supported"

L_.str.6:                               ## @.str.6
	.asciz	"TIOCSSERIAL is not supported"

L_.str.7:                               ## @.str.7
	.asciz	"TIOCSERGSTRUCT is not supported"

L_.str.8:                               ## @.str.8
	.asciz	"TIOCSERGETLSR is not supported"

L_.str.9:                               ## @.str.9
	.asciz	"TIOCSERCONFIG is not supported"

	.no_dead_strip	_rfcomm_tty_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_tty_ioctl
_rfcomm_tty_ioctl:                      ; @rfcomm_tty_ioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	stp	x0, x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
	sub	w8, w19, #128
	cmp	w8, #8
	b.hi	LBB0_9
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x0, l_.str.6@PAGE
Lloh5:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_8
LBB0_3:
Lloh6:
	adrp	x0, l_.str.7@PAGE
Lloh7:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_8
LBB0_4:
Lloh8:
	adrp	x0, l_.str.8@PAGE
Lloh9:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh10:
	adrp	x0, l_.str.9@PAGE
Lloh11:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BT_DBG
	b	LBB0_9
LBB0_7:
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_8:
	bl	_BT_ERR
LBB0_9:
Lloh16:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_BT_DBG
	b	LBB0_9
LBB0_11:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BT_DBG
	b	LBB0_9
LBB0_12:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_DBG
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tty %p cmd 0x%02x"

l_.str.1:                               ; @.str.1
	.asciz	"TCGETS is not supported"

	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
l_.str.2:                               ; @.str.2
	.asciz	"TCSETS is not supported"

l_.str.3:                               ; @.str.3
	.asciz	"TIOCMIWAIT"

l_.str.4:                               ; @.str.4
	.asciz	"TIOCGICOUNT"

l_.str.5:                               ; @.str.5
	.asciz	"TIOCGSERIAL is not supported"

l_.str.6:                               ; @.str.6
	.asciz	"TIOCSSERIAL is not supported"

l_.str.7:                               ; @.str.7
	.asciz	"TIOCSERGSTRUCT is not supported"

l_.str.8:                               ; @.str.8
	.asciz	"TIOCSERGETLSR is not supported"

l_.str.9:                               ; @.str.9
	.asciz	"TIOCSERCONFIG is not supported"

	.no_dead_strip	_rfcomm_tty_ioctl
.subsections_via_symbols
