	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_tty_check_esc
_isdn_tty_check_esc:                    ## @isdn_tty_check_esc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$127, %esi
	jle	LBB0_1
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r8, %r14
	movq	%rcx, %r12
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r13
	cmpl	$4, %edx
	jl	LBB0_3
## %bb.2:
	addl	$-3, %ebx
	leaq	(%r13,%rbx,4), %r13
	movl	$0, (%r12)
	movl	$3, %ebx
	jmp	LBB0_4
LBB0_3:
	testl	%ebx, %ebx
	jle	LBB0_17
LBB0_4:
	incl	%ebx
	movq	_jiffies@GOTPCREL(%rip), %rdx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, (%r12)
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %r13
	movq	(%rdx), %rax
	movq	%rax, (%r14)
	decl	%ebx
	cmpl	$1, %ebx
	jle	LBB0_17
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%ecx, %ecx
	cmpl	%r15d, (%r13)
	jne	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r12)
	movq	(%rdx), %rdi
	movq	(%r14), %rsi
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_PLUSWAIT1@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_time_after
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, (%r12)
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %eax
	cmpl	$3, %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2, %ebx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_ISDN_TIMER_MODEMPLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_isdn_timer_ctrl
	movl	(%r12), %eax
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %ecx
	cmpl	$4, %eax
	movq	_jiffies@GOTPCREL(%rip), %rdx
	jge	LBB0_15
	jmp	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_PLUSWAIT2@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_time_before
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_PLUSWAIT1,8,3                  ## @PLUSWAIT1
	.comm	_PLUSWAIT2,8,3                  ## @PLUSWAIT2
	.comm	_ISDN_TIMER_MODEMPLUS,4,2       ## @ISDN_TIMER_MODEMPLUS
	.no_dead_strip	_isdn_tty_check_esc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_tty_check_esc
_isdn_tty_check_esc:                    ; @isdn_tty_check_esc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w1, #127
	b.gt	LBB0_49
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	cmp	w2, #4
	b.lt	LBB0_3
; %bb.2:
	sub	w8, w21, #3
	add	x23, x23, w8, uxtw #2
	str	wzr, [x20]
	mov	w21, #3
	b	LBB0_4
LBB0_3:
	cmp	w21, #1
	b.lt	LBB0_49
LBB0_4:
	ldr	w8, [x23]
Lloh0:
	adrp	x24, _jiffies@GOTPAGE
Lloh1:
	ldr	x24, [x24, _jiffies@GOTPAGEOFF]
	cmp	w8, w22
	b.ne	LBB0_8
; %bb.5:
	ldr	w9, [x20]
	add	w8, w9, #1
	str	w8, [x20]
	ldr	x0, [x24]
	ldr	x8, [x19]
	cbz	w9, LBB0_9
; %bb.6:
Lloh2:
	adrp	x9, _PLUSWAIT1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PLUSWAIT1@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_after
	cbz	x0, LBB0_12
; %bb.7:
	mov	w8, #1
	b	LBB0_11
LBB0_8:
	mov	w8, #0
	b	LBB0_17
LBB0_9:
Lloh5:
	adrp	x9, _PLUSWAIT2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PLUSWAIT2@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_before
	cbz	x0, LBB0_12
; %bb.10:
	mov	w8, #0
LBB0_11:
	str	w8, [x20]
LBB0_12:
	ldr	w8, [x20]
	cmp	w8, #3
	b.ne	LBB0_15
; %bb.13:
	cmp	w21, #1
	b.ne	LBB0_15
; %bb.14:
Lloh8:
	adrp	x8, _ISDN_TIMER_MODEMPLUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISDN_TIMER_MODEMPLUS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_isdn_timer_ctrl
	ldr	w8, [x20]
LBB0_15:
	cmp	w8, #4
	b.lt	LBB0_18
; %bb.16:
	mov	w8, #1
LBB0_17:
	str	w8, [x20]
LBB0_18:
	ldr	x8, [x24]
	str	x8, [x19]
	cmp	w21, #2
	b.lt	LBB0_49
; %bb.19:
	ldr	w8, [x23, #4]
	cmp	w8, w22
	b.ne	LBB0_23
; %bb.20:
	ldr	w9, [x20]
	add	w8, w9, #1
	str	w8, [x20]
	ldr	x0, [x24]
	ldr	x8, [x19]
	cbz	w9, LBB0_24
; %bb.21:
Lloh11:
	adrp	x9, _PLUSWAIT1@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PLUSWAIT1@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_after
	cbz	x0, LBB0_27
; %bb.22:
	mov	w8, #1
	b	LBB0_26
LBB0_23:
	mov	w8, #0
	b	LBB0_32
LBB0_24:
Lloh14:
	adrp	x9, _PLUSWAIT2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PLUSWAIT2@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_before
	cbz	x0, LBB0_27
; %bb.25:
	mov	w8, #0
LBB0_26:
	str	w8, [x20]
LBB0_27:
	ldr	w8, [x20]
	cmp	w8, #3
	b.ne	LBB0_30
; %bb.28:
	cmp	w21, #2
	b.ne	LBB0_30
; %bb.29:
Lloh17:
	adrp	x8, _ISDN_TIMER_MODEMPLUS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ISDN_TIMER_MODEMPLUS@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_isdn_timer_ctrl
	ldr	w8, [x20]
LBB0_30:
	cmp	w8, #3
	b.le	LBB0_33
; %bb.31:
	mov	w8, #1
LBB0_32:
	str	w8, [x20]
LBB0_33:
	ldr	x8, [x24]
	str	x8, [x19]
	cmp	w21, #3
	b.lt	LBB0_49
; %bb.34:
	ldr	w8, [x23, #8]
	cmp	w8, w22
	b.ne	LBB0_38
; %bb.35:
	ldr	w9, [x20]
	add	w8, w9, #1
	str	w8, [x20]
	ldr	x0, [x24]
	ldr	x8, [x19]
	cbz	w9, LBB0_39
; %bb.36:
Lloh20:
	adrp	x9, _PLUSWAIT1@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PLUSWAIT1@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_after
	cbz	x0, LBB0_42
; %bb.37:
	mov	w8, #1
	b	LBB0_41
LBB0_38:
	mov	w8, #0
	b	LBB0_47
LBB0_39:
Lloh23:
	adrp	x9, _PLUSWAIT2@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PLUSWAIT2@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_before
	cbz	x0, LBB0_42
; %bb.40:
	mov	w8, #0
LBB0_41:
	str	w8, [x20]
LBB0_42:
	ldr	w8, [x20]
	cmp	w8, #3
	b.ne	LBB0_45
; %bb.43:
	cmp	w21, #3
	b.ne	LBB0_45
; %bb.44:
Lloh26:
	adrp	x8, _ISDN_TIMER_MODEMPLUS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ISDN_TIMER_MODEMPLUS@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_isdn_timer_ctrl
	ldr	w8, [x20]
LBB0_45:
	cmp	w8, #4
	b.lt	LBB0_48
; %bb.46:
	mov	w8, #1
LBB0_47:
	str	w8, [x20]
LBB0_48:
	ldr	x8, [x24]
	str	x8, [x19]
LBB0_49:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_PLUSWAIT1,8,3                  ; @PLUSWAIT1
	.comm	_PLUSWAIT2,8,3                  ; @PLUSWAIT2
	.comm	_ISDN_TIMER_MODEMPLUS,4,2       ; @ISDN_TIMER_MODEMPLUS
	.no_dead_strip	_isdn_tty_check_esc
.subsections_via_symbols
