	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_tty_try_read
_isdn_tty_try_read:                     ## @isdn_tty_try_read
	.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
	xorl	%r12d, %r12d
	cmpq	$0, 24(%rdi)
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_10
## %bb.2:
	movq	_UART_MCR_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.3:
	movq	%rsi, %r14
	movl	(%rsi), %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_tty_buffer_request_room
	cmpl	%r13d, %eax
	jl	LBB0_10
## %bb.4:
	cmpl	$1, %r13d
	jle	LBB0_5
## %bb.6:
	movq	8(%r14), %rsi
	decl	%r13d
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_tty_insert_flip_string
	jmp	LBB0_7
LBB0_5:
	decl	%r13d
LBB0_7:
	movq	8(%r14), %rax
	movslq	%r13d, %rcx
	movsbl	(%rax,%rcx), %esi
	movq	8(%rbx), %rax
	movq	_REG_CPPP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_BIT_CPPP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	$255, %edx
	andl	(%rax,%rcx,4), %edi
	jne	LBB0_9
## %bb.8:
	movq	_TTY_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_9:
	movq	%r15, %rdi
	callq	_tty_insert_flip_char
	movq	%r15, %rdi
	callq	_tty_flip_buffer_push
	movq	%r14, %rdi
	callq	_kfree_skb
	movl	$1, %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UART_MCR_RTS,4,2               ## @UART_MCR_RTS
	.comm	_REG_CPPP,8,3                   ## @REG_CPPP
	.comm	_BIT_CPPP,4,2                   ## @BIT_CPPP
	.comm	_TTY_NORMAL,4,2                 ## @TTY_NORMAL
	.comm	_DLE,1,0                        ## @DLE
	.no_dead_strip	_isdn_tty_try_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_tty_try_read
_isdn_tty_try_read:                     ; @isdn_tty_try_read
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	x20, [x0, #16]
	cbz	x20, LBB0_4
; %bb.2:
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _UART_MCR_RTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UART_MCR_RTS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x19, x1
	ldr	w22, [x1]
	mov	x0, x20
	mov	x1, x22
	bl	_tty_buffer_request_room
	cmp	w0, w22
	b.ge	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	subs	w22, w22, #1
	b.le	LBB0_8
; %bb.7:
	ldr	x1, [x19, #8]
	mov	x0, x20
	mov	x2, x22
	bl	_tty_insert_flip_string
LBB0_8:
	ldr	x8, [x19, #8]
	ldrsb	w1, [x8, w22, sxtw]
	ldr	x8, [x21, #8]
Lloh3:
	adrp	x9, _REG_CPPP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_CPPP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh6:
	adrp	x9, _BIT_CPPP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BIT_CPPP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _TTY_NORMAL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TTY_NORMAL@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w8
	mov	w8, #255
	csel	w2, w10, w8, eq
	mov	x0, x20
	bl	_tty_insert_flip_char
	mov	x0, x20
	bl	_tty_flip_buffer_push
	mov	x0, x19
	bl	_kfree_skb
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UART_MCR_RTS,4,2               ; @UART_MCR_RTS
	.comm	_REG_CPPP,8,3                   ; @REG_CPPP
	.comm	_BIT_CPPP,4,2                   ; @BIT_CPPP
	.comm	_TTY_NORMAL,4,2                 ; @TTY_NORMAL
	.comm	_DLE,1,0                        ; @DLE
	.no_dead_strip	_isdn_tty_try_read
.subsections_via_symbols
