	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x25_asy_timeout
_x25_asy_timeout:                       ## @x25_asy_timeout
	.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
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	8(%rbx), %rdi
	callq	_tty_chars_in_buffer
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_4
LBB0_3:
	cmpq	$0, 16(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_warn
	movq	$0, 16(%rbx)
	movq	_TTY_DO_WRITE_WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rsi
	callq	_clear_bit
	movq	%rbx, %rdi
	callq	_x25_asy_unlock
LBB0_5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transmit timed out, %s?\n"

L_.str.1:                               ## @.str.1
	.asciz	"bad line quality"

L_.str.2:                               ## @.str.2
	.asciz	"driver error"

	.comm	_TTY_DO_WRITE_WAKEUP,4,2        ## @TTY_DO_WRITE_WAKEUP
	.no_dead_strip	_x25_asy_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x25_asy_timeout
_x25_asy_timeout:                       ; @x25_asy_timeout
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	bl	_spin_lock
	mov	x0, x20
	bl	_netif_queue_stopped
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x0, [x19, #8]
	bl	_tty_chars_in_buffer
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x2, x9, x2, eq
LBB0_3:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_warn
	str	xzr, [x19, #16]
Lloh6:
	adrp	x8, _TTY_DO_WRITE_WAKEUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TTY_DO_WRITE_WAKEUP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	bl	_clear_bit
	mov	x0, x19
	bl	_x25_asy_unlock
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transmit timed out, %s?\n"

l_.str.1:                               ; @.str.1
	.asciz	"bad line quality"

l_.str.2:                               ; @.str.2
	.asciz	"driver error"

	.comm	_TTY_DO_WRITE_WAKEUP,4,2        ; @TTY_DO_WRITE_WAKEUP
	.no_dead_strip	_x25_asy_timeout
.subsections_via_symbols
