	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpc_tx_timeout
_cpc_tx_timeout:                        ## @cpc_tx_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	%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
	movq	%rdi, %r14
	callq	_dev_to_hdlc
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	8(%rax), %r12
	movl	(%rax), %r15d
	incl	12(%r14)
	incl	8(%r14)
	movq	%r12, %rdi
	callq	_CPC_LOCK
	movq	_ILAR@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	24(%r12), %rdi
	callq	_cpc_readb
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	callq	_printk
	movq	(%r13), %rdi
	addq	24(%r12), %rdi
	movl	%ebx, %esi
	callq	_cpc_writeb
	movq	_DMER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	24(%r12), %rdi
	movl	$128, %esi
	callq	_cpc_writeb
LBB0_2:
	movq	(%r12), %rax
	movq	_PC300_TE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%r12), %rbx
	addq	16(%r12), %rbx
	movq	%rbx, %rdi
	callq	_cpc_readb
	movq	_CPLD_REG2_FALC_LED1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addl	%r15d, %r15d
	movl	%r15d, %ecx
	shll	%cl, %esi
	notl	%esi
	andl	%eax, %esi
	movq	%rbx, %rdi
	callq	_cpc_writeb
LBB0_4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r12, %rdi
	callq	_CPC_UNLOCK
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ILAR,8,3                       ## @ILAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: ILAR=0x%x\n"

	.comm	_DMER,8,3                       ## @DMER
	.comm	_PC300_TE,8,3                   ## @PC300_TE
	.comm	_CPLD_REG2_FALC_LED1,4,2        ## @CPLD_REG2_FALC_LED1
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_cpc_tx_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpc_tx_timeout
_cpc_tx_timeout:                        ; @cpc_tx_timeout
	.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
	mov	x19, x0
	bl	_dev_to_hdlc
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8, #8]
	ldr	w22, [x8]
	ldr	d0, [x19, #8]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
	mov	x0, x20
	bl	_CPC_LOCK
	ldr	x8, [x20, #24]
Lloh0:
	adrp	x23, _ILAR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ILAR@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_cpc_readb
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w1, [x19, #4]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	bl	_printk
	ldr	x8, [x20, #24]
	ldr	x9, [x23]
	add	x0, x9, x8
	mov	x1, x21
	bl	_cpc_writeb
	ldr	x8, [x20, #24]
Lloh4:
	adrp	x9, _DMER@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DMER@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #128
	bl	_cpc_writeb
LBB0_2:
	ldr	x8, [x20]
Lloh7:
	adrp	x9, _PC300_TE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PC300_TE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldp	x9, x8, [x20, #8]
	add	x21, x9, x8
	mov	x0, x21
	bl	_cpc_readb
Lloh10:
	adrp	x8, _CPLD_REG2_FALC_LED1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CPLD_REG2_FALC_LED1@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	lsl	w9, w22, #1
	lsl	w8, w8, w9
	bic	w1, w0, w8
	mov	x0, x21
	bl	_cpc_writeb
LBB0_4:
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x20
	bl	_CPC_UNLOCK
	mov	x0, x19
	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
	b	_netif_wake_queue
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ILAR,8,3                       ; @ILAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: ILAR=0x%x\n"

	.comm	_DMER,8,3                       ; @DMER
	.comm	_PC300_TE,8,3                   ; @PC300_TE
	.comm	_CPLD_REG2_FALC_LED1,4,2        ; @CPLD_REG2_FALC_LED1
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_cpc_tx_timeout
.subsections_via_symbols
