	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function W6692B_interrupt
_W6692B_interrupt:                      ## @W6692B_interrupt
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movslq	%esi, %rax
	imulq	$56, %rax, %r14
	leaq	(%r12,%r14), %r15
	movq	_W_B_EXIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadW6692B
	movl	%eax, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%r12, %rbx
	leaq	28(%r12,%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	28(%r12,%r14), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_W_B_EXI_RME@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_13
## %bb.1:
	movq	_W_B_STAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadW6692B
	movl	%eax, %r12d
	movq	_W_B_STAR_RDOV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_W_B_STAR_CRCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	movq	_W_B_STAR_RMB@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%r12d, %ecx
	je	LBB0_12
## %bb.2:
	testl	%r12d, %eax
	je	LBB0_5
## %bb.3:
	movq	_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%rbx,%r14), %rsi
	addq	$4, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_5:
	movq	_FLG_HDLC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%rbx,%r14), %rsi
	addq	$4, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	_W_B_STAR_CRCE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_8:
	movq	_W_B_STAR_RMB@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_10:
	movq	_W_B_CMDR@GOTPCREL(%rip), %rax
	movq	_W_B_CMDR_RACK@GOTPCREL(%rip), %rcx
	movq	_W_B_CMDR_RRST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_W_B_CMDR_RACT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_WriteW6692B
	movq	40(%rbx,%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.11:
	xorl	%esi, %esi
	callq	_skb_trim
	jmp	LBB0_13
LBB0_12:
	movq	_W_B_RBCL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadW6692B
	movq	_W_B_FIFO_THRESH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %esi
	andl	%eax, %esi
	cmovel	%ecx, %esi
	movq	%r15, %rdi
	callq	_W6692_empty_Bfifo
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_recv_Bchannel
LBB0_13:
	movq	_W_B_EXI_RMR@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_20
## %bb.14:
	movq	_W_B_EXI_RME@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_16
## %bb.15:
	movq	_W_B_STAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadW6692B
	movl	%eax, %r12d
LBB0_16:
	movq	_W_B_STAR_RDOV@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_18
## %bb.17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_W_B_CMDR@GOTPCREL(%rip), %rax
	movq	_W_B_CMDR_RACK@GOTPCREL(%rip), %rcx
	movq	_W_B_CMDR_RRST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_W_B_CMDR_RACT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_WriteW6692B
	jmp	LBB0_20
LBB0_18:
	movq	_W_B_FIFO_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_W6692_empty_Bfifo
	movq	_FLG_TRANSPARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%rbx,%r14), %rsi
	addq	$4, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_recv_Bchannel
LBB0_20:
	movq	_W_B_EXI_RDOV@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_23
## %bb.21:
	movq	_W_B_STAR_RDOV@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_23
## %bb.22:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	(%r15), %ecx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_W_B_CMDR@GOTPCREL(%rip), %rax
	movq	_W_B_CMDR_RACK@GOTPCREL(%rip), %rcx
	movq	_W_B_CMDR_RRST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_W_B_CMDR_RACT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_WriteW6692B
LBB0_23:
	movq	_W_B_EXI_XFR@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_31
## %bb.24:
	movq	_W_B_EXI_RMR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_W_B_EXI_RME@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%r13d, %eax
	jne	LBB0_26
## %bb.25:
	movq	_W_B_STAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadW6692B
	movl	%eax, %r12d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_26:
	movq	_W_B_STAR_XDOW@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_30
## %bb.27:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	(%r15), %ecx
	leaq	L_.str.6(%rip), %rdi
	callq	_pr_warning
	movq	_W_B_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_W_B_CMDR_XRST@GOTPCREL(%rip), %rax
	movq	_W_B_CMDR_RACT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_WriteW6692B
	cmpq	$0, 16(%rbx,%r14)
	je	LBB0_30
## %bb.28:
	movq	_FLG_TRANSPARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%rbx,%r14), %rsi
	addq	$4, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_30
## %bb.29:
	movq	$0, 8(%rbx,%r14)
LBB0_30:
	movq	%r15, %rdi
	callq	_send_next
	movq	_W_B_STAR_XDOW@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_38
LBB0_31:
	movq	_W_B_EXI_XDUN@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_38
## %bb.32:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	(%r15), %ecx
	leaq	L_.str.7(%rip), %rdi
	callq	_pr_warning
	cmpq	$0, 16(%rbx,%r14)
	je	LBB0_35
## %bb.33:
	movq	_FLG_TRANSPARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%rbx,%r14), %rsi
	addq	$4, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_37
## %bb.34:
	movq	$0, 8(%rbx,%r14)
	jmp	LBB0_37
LBB0_38:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	_FLG_FILLEMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	%r14, %rbx
	addq	$4, %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	movq	_FLG_TX_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
LBB0_37:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_next                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_W_B_EXIR,4,2                   ## @W_B_EXIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: B%d EXIR %02x\n"

	.comm	_W_B_EXI_RME,4,2                ## @W_B_EXI_RME
	.comm	_W_B_STAR,4,2                   ## @W_B_STAR
	.comm	_W_B_STAR_RDOV,4,2              ## @W_B_STAR_RDOV
	.comm	_W_B_STAR_CRCE,4,2              ## @W_B_STAR_CRCE
	.comm	_W_B_STAR_RMB,4,2               ## @W_B_STAR_RMB
	.comm	_FLG_ACTIVE,4,2                 ## @FLG_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"%s: B%d RDOV proto=%x\n"

	.comm	_FLG_HDLC,4,2                   ## @FLG_HDLC
L_.str.2:                               ## @.str.2
	.asciz	"%s: B%d CRC error\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: B%d message abort\n"

	.comm	_W_B_CMDR,4,2                   ## @W_B_CMDR
	.comm	_W_B_CMDR_RACK,4,2              ## @W_B_CMDR_RACK
	.comm	_W_B_CMDR_RRST,4,2              ## @W_B_CMDR_RRST
	.comm	_W_B_CMDR_RACT,4,2              ## @W_B_CMDR_RACT
	.comm	_W_B_RBCL,4,2                   ## @W_B_RBCL
	.comm	_W_B_FIFO_THRESH,4,2            ## @W_B_FIFO_THRESH
	.comm	_W_B_EXI_RMR,4,2                ## @W_B_EXI_RMR
	.comm	_FLG_TRANSPARENT,4,2            ## @FLG_TRANSPARENT
	.comm	_W_B_EXI_RDOV,4,2               ## @W_B_EXI_RDOV
L_.str.4:                               ## @.str.4
	.asciz	"%s: B%d RDOV IRQ proto=%x\n"

	.comm	_W_B_EXI_XFR,4,2                ## @W_B_EXI_XFR
L_.str.5:                               ## @.str.5
	.asciz	"%s: B%d star %02x\n"

	.comm	_W_B_STAR_XDOW,4,2              ## @W_B_STAR_XDOW
L_.str.6:                               ## @.str.6
	.asciz	"%s: B%d XDOW proto=%x\n"

	.comm	_W_B_CMDR_XRST,4,2              ## @W_B_CMDR_XRST
	.comm	_W_B_EXI_XDUN,4,2               ## @W_B_EXI_XDUN
L_.str.7:                               ## @.str.7
	.asciz	"%s: B%d XDUN proto=%x\n"

	.comm	_FLG_FILLEMPTY,4,2              ## @FLG_FILLEMPTY
	.comm	_FLG_TX_EMPTY,4,2               ## @FLG_TX_EMPTY
	.no_dead_strip	_W6692B_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function W6692B_interrupt
_W6692B_interrupt:                      ; @W6692B_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x20, x0
	ldr	x23, [x0, #8]
	sxtw	x24, w1
	mov	w8, #56
	smaddl	x19, w1, w8, x23
Lloh0:
	adrp	x8, _W_B_EXIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _W_B_EXIR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692B
	mov	x21, x0
	ldr	w1, [x20]
	mov	x25, x19
	ldr	w2, [x25, #28]!
	str	x21, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh5:
	adrp	x26, _W_B_EXI_RME@GOTPAGE
Lloh6:
	ldr	x26, [x26, _W_B_EXI_RME@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh7:
	adrp	x27, _W_B_STAR_RDOV@GOTPAGE
Lloh8:
	ldr	x27, [x27, _W_B_STAR_RDOV@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.1:
Lloh9:
	adrp	x8, _W_B_STAR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _W_B_STAR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692B
	mov	x22, x0
	ldr	w8, [x27]
Lloh12:
	adrp	x26, _W_B_STAR_CRCE@GOTPAGE
Lloh13:
	ldr	x26, [x26, _W_B_STAR_CRCE@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w9, w9, w8
Lloh14:
	adrp	x28, _W_B_STAR_RMB@GOTPAGE
Lloh15:
	ldr	x28, [x28, _W_B_STAR_RMB@GOTPAGEOFF]
	ldr	w10, [x28]
	orr	w9, w9, w10
	tst	w9, w0
	b.eq	LBB0_13
; %bb.2:
	tst	w8, w22
	b.eq	LBB0_5
; %bb.3:
Lloh16:
	adrp	x8, _FLG_ACTIVE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FLG_ACTIVE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	w8, #56
	madd	x8, x24, x8, x23
	add	x1, x8, #4
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x20]
	ldr	w2, [x25]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
LBB0_5:
Lloh21:
	adrp	x8, _FLG_HDLC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FLG_HDLC@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	w8, #56
	madd	x8, x24, x8, x23
	add	x1, x8, #4
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x20]
	ldr	w2, [x25]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
LBB0_8:
	ldr	w8, [x28]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.9:
	ldr	w1, [x20]
	ldr	w2, [x25]
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
LBB0_10:
Lloh28:
	adrp	x8, _W_B_CMDR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _W_B_CMDR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _W_B_CMDR_RACK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _W_B_CMDR_RACK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _W_B_CMDR_RRST@GOTPAGE
Lloh35:
	ldr	x9, [x9, _W_B_CMDR_RRST@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh37:
	adrp	x9, _W_B_CMDR_RACT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _W_B_CMDR_RACT@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_WriteW6692B
	mov	w8, #56
	madd	x8, x24, x8, x23
	ldr	x0, [x8, #40]
	cbz	x0, LBB0_14
; %bb.11:
	mov	w1, #0
	bl	_skb_trim
	b	LBB0_14
LBB0_12:
	mov	w22, #0
	b	LBB0_15
LBB0_13:
Lloh40:
	adrp	x8, _W_B_RBCL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _W_B_RBCL@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692B
Lloh43:
	adrp	x8, _W_B_FIFO_THRESH@GOTPAGE
Lloh44:
	ldr	x8, [x8, _W_B_FIFO_THRESH@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	sub	w9, w8, #1
	ands	w9, w9, w0
	csel	w1, w8, w9, eq
	mov	x0, x19
	bl	_W6692_empty_Bfifo
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_recv_Bchannel
LBB0_14:
Lloh46:
	adrp	x26, _W_B_EXI_RME@GOTPAGE
Lloh47:
	ldr	x26, [x26, _W_B_EXI_RME@GOTPAGEOFF]
LBB0_15:
Lloh48:
	adrp	x28, _W_B_EXI_RMR@GOTPAGE
Lloh49:
	ldr	x28, [x28, _W_B_EXI_RMR@GOTPAGEOFF]
	ldr	w8, [x28]
	tst	w8, w21
	b.eq	LBB0_22
; %bb.16:
	ldr	w8, [x26]
	tst	w8, w21
	b.ne	LBB0_18
; %bb.17:
Lloh50:
	adrp	x8, _W_B_STAR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _W_B_STAR@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692B
	mov	x22, x0
LBB0_18:
	ldr	w8, [x27]
	tst	w8, w22
	b.eq	LBB0_20
; %bb.19:
	ldr	w1, [x20]
	ldr	w2, [x25]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh53:
	adrp	x0, l_.str.1@PAGE
Lloh54:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
Lloh55:
	adrp	x8, _W_B_CMDR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _W_B_CMDR@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x8, _W_B_CMDR_RACK@GOTPAGE
Lloh59:
	ldr	x8, [x8, _W_B_CMDR_RACK@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x9, _W_B_CMDR_RRST@GOTPAGE
Lloh62:
	ldr	x9, [x9, _W_B_CMDR_RRST@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh64:
	adrp	x9, _W_B_CMDR_RACT@GOTPAGE
Lloh65:
	ldr	x9, [x9, _W_B_CMDR_RACT@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_WriteW6692B
	b	LBB0_22
LBB0_20:
Lloh67:
	adrp	x8, _W_B_FIFO_THRESH@GOTPAGE
Lloh68:
	ldr	x8, [x8, _W_B_FIFO_THRESH@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_W6692_empty_Bfifo
Lloh70:
	adrp	x8, _FLG_TRANSPARENT@GOTPAGE
Lloh71:
	ldr	x8, [x8, _FLG_TRANSPARENT@GOTPAGEOFF]
Lloh72:
	ldr	w0, [x8]
	mov	w8, #56
	madd	x8, x24, x8, x23
	add	x1, x8, #4
	bl	_test_bit
	cbz	x0, LBB0_22
; %bb.21:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_recv_Bchannel
LBB0_22:
Lloh73:
	adrp	x8, _W_B_EXI_RDOV@GOTPAGE
Lloh74:
	ldr	x8, [x8, _W_B_EXI_RDOV@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_25
; %bb.23:
	ldr	w8, [x27]
	tst	w8, w22
	b.ne	LBB0_25
; %bb.24:
	ldr	w1, [x20]
	ldr	w2, [x25]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh76:
	adrp	x0, l_.str.4@PAGE
Lloh77:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_debug
Lloh78:
	adrp	x8, _W_B_CMDR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _W_B_CMDR@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
Lloh81:
	adrp	x8, _W_B_CMDR_RACK@GOTPAGE
Lloh82:
	ldr	x8, [x8, _W_B_CMDR_RACK@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x9, _W_B_CMDR_RRST@GOTPAGE
Lloh85:
	ldr	x9, [x9, _W_B_CMDR_RRST@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh87:
	adrp	x9, _W_B_CMDR_RACT@GOTPAGE
Lloh88:
	ldr	x9, [x9, _W_B_CMDR_RACT@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_WriteW6692B
LBB0_25:
Lloh90:
	adrp	x8, _W_B_EXI_XFR@GOTPAGE
Lloh91:
	ldr	x8, [x8, _W_B_EXI_XFR@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_33
; %bb.26:
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w8, w9, w8
	tst	w8, w21
	b.ne	LBB0_28
; %bb.27:
Lloh93:
	adrp	x8, _W_B_STAR@GOTPAGE
Lloh94:
	ldr	x8, [x8, _W_B_STAR@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692B
	mov	x22, x0
	ldr	w1, [x20]
	ldr	w2, [x25]
	str	x22, [sp]
Lloh96:
	adrp	x0, l_.str.5@PAGE
Lloh97:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
LBB0_28:
Lloh98:
	adrp	x26, _W_B_STAR_XDOW@GOTPAGE
Lloh99:
	ldr	x26, [x26, _W_B_STAR_XDOW@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_32
; %bb.29:
	ldr	w1, [x20]
	ldr	w2, [x25]
	ldr	w3, [x19]
Lloh100:
	adrp	x0, l_.str.6@PAGE
Lloh101:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_warning
Lloh102:
	adrp	x8, _W_B_CMDR@GOTPAGE
Lloh103:
	ldr	x8, [x8, _W_B_CMDR@GOTPAGEOFF]
Lloh104:
	adrp	x9, _W_B_CMDR_XRST@GOTPAGE
Lloh105:
	ldr	x9, [x9, _W_B_CMDR_XRST@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
Lloh107:
	ldr	w8, [x9]
Lloh108:
	adrp	x9, _W_B_CMDR_RACT@GOTPAGE
Lloh109:
	ldr	x9, [x9, _W_B_CMDR_RACT@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_WriteW6692B
	mov	w8, #56
	madd	x8, x24, x8, x23
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_32
; %bb.30:
Lloh111:
	adrp	x8, _FLG_TRANSPARENT@GOTPAGE
Lloh112:
	ldr	x8, [x8, _FLG_TRANSPARENT@GOTPAGEOFF]
Lloh113:
	ldr	w0, [x8]
	mov	w8, #56
	madd	x8, x24, x8, x23
	add	x1, x8, #4
	bl	_test_bit
	cbnz	x0, LBB0_32
; %bb.31:
	mov	w8, #56
	madd	x8, x24, x8, x23
	str	xzr, [x8, #8]
LBB0_32:
	mov	x0, x19
	bl	_send_next
	ldr	w8, [x26]
	tst	w8, w22
	b.ne	LBB0_37
LBB0_33:
Lloh114:
	adrp	x8, _W_B_EXI_XDUN@GOTPAGE
Lloh115:
	ldr	x8, [x8, _W_B_EXI_XDUN@GOTPAGEOFF]
Lloh116:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_37
; %bb.34:
	ldr	w1, [x20]
	ldr	w2, [x25]
	ldr	w3, [x19]
Lloh117:
	adrp	x0, l_.str.7@PAGE
Lloh118:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_warning
	mov	w8, #56
	madd	x8, x24, x8, x23
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_38
; %bb.35:
Lloh119:
	adrp	x8, _FLG_TRANSPARENT@GOTPAGE
Lloh120:
	ldr	x8, [x8, _FLG_TRANSPARENT@GOTPAGEOFF]
Lloh121:
	ldr	w0, [x8]
	mov	w8, #56
	madd	x8, x24, x8, x23
	add	x1, x8, #4
	bl	_test_bit
	cbnz	x0, LBB0_40
; %bb.36:
	mov	w8, #56
	madd	x8, x24, x8, x23
	str	xzr, [x8, #8]
	b	LBB0_40
LBB0_37:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_38:
Lloh122:
	adrp	x8, _FLG_FILLEMPTY@GOTPAGE
Lloh123:
	ldr	x8, [x8, _FLG_FILLEMPTY@GOTPAGEOFF]
Lloh124:
	ldr	w0, [x8]
	mov	w8, #56
	madd	x8, x24, x8, x23
	add	x20, x8, #4
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_40
; %bb.39:
Lloh125:
	adrp	x8, _FLG_TX_EMPTY@GOTPAGE
Lloh126:
	ldr	x8, [x8, _FLG_TX_EMPTY@GOTPAGEOFF]
Lloh127:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_set_bit
LBB0_40:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_send_next
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh106
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.cfi_endproc
                                        ; -- End function
	.comm	_W_B_EXIR,4,2                   ; @W_B_EXIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: B%d EXIR %02x\n"

	.comm	_W_B_EXI_RME,4,2                ; @W_B_EXI_RME
	.comm	_W_B_STAR,4,2                   ; @W_B_STAR
	.comm	_W_B_STAR_RDOV,4,2              ; @W_B_STAR_RDOV
	.comm	_W_B_STAR_CRCE,4,2              ; @W_B_STAR_CRCE
	.comm	_W_B_STAR_RMB,4,2               ; @W_B_STAR_RMB
	.comm	_FLG_ACTIVE,4,2                 ; @FLG_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"%s: B%d RDOV proto=%x\n"

	.comm	_FLG_HDLC,4,2                   ; @FLG_HDLC
l_.str.2:                               ; @.str.2
	.asciz	"%s: B%d CRC error\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: B%d message abort\n"

	.comm	_W_B_CMDR,4,2                   ; @W_B_CMDR
	.comm	_W_B_CMDR_RACK,4,2              ; @W_B_CMDR_RACK
	.comm	_W_B_CMDR_RRST,4,2              ; @W_B_CMDR_RRST
	.comm	_W_B_CMDR_RACT,4,2              ; @W_B_CMDR_RACT
	.comm	_W_B_RBCL,4,2                   ; @W_B_RBCL
	.comm	_W_B_FIFO_THRESH,4,2            ; @W_B_FIFO_THRESH
	.comm	_W_B_EXI_RMR,4,2                ; @W_B_EXI_RMR
	.comm	_FLG_TRANSPARENT,4,2            ; @FLG_TRANSPARENT
	.comm	_W_B_EXI_RDOV,4,2               ; @W_B_EXI_RDOV
l_.str.4:                               ; @.str.4
	.asciz	"%s: B%d RDOV IRQ proto=%x\n"

	.comm	_W_B_EXI_XFR,4,2                ; @W_B_EXI_XFR
l_.str.5:                               ; @.str.5
	.asciz	"%s: B%d star %02x\n"

	.comm	_W_B_STAR_XDOW,4,2              ; @W_B_STAR_XDOW
l_.str.6:                               ; @.str.6
	.asciz	"%s: B%d XDOW proto=%x\n"

	.comm	_W_B_CMDR_XRST,4,2              ; @W_B_CMDR_XRST
	.comm	_W_B_EXI_XDUN,4,2               ; @W_B_EXI_XDUN
l_.str.7:                               ; @.str.7
	.asciz	"%s: B%d XDUN proto=%x\n"

	.comm	_FLG_FILLEMPTY,4,2              ; @FLG_FILLEMPTY
	.comm	_FLG_TX_EMPTY,4,2               ; @FLG_TX_EMPTY
	.no_dead_strip	_W6692B_interrupt
.subsections_via_symbols
