	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_rxD
_handle_rxD:                            ## @handle_rxD
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_W_D_RSTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ReadW6692
	movl	%eax, %ebx
	movq	_W_D_RSTA_RDOV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_W_D_RSTA_CRCE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, %edx
	orl	%ecx, %edx
	movq	_W_D_RSTA_RMB@GOTPCREL(%rip), %r15
	orl	(%r15), %edx
	testl	%ebx, %edx
	je	LBB0_8
## %bb.1:
	testl	%ebx, %ecx
	je	LBB0_3
## %bb.2:
	movl	16(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movl	(%r12), %eax
LBB0_3:
	testl	%ebx, %eax
	je	LBB0_5
## %bb.4:
	movl	16(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
LBB0_5:
	testl	%ebx, (%r15)
	je	LBB0_7
## %bb.6:
	movl	16(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_debug
LBB0_7:
	movq	(%r14), %rdi
	callq	_dev_kfree_skb
	movq	$0, (%r14)
	movq	_W_D_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_W_D_CMDR_RACK@GOTPCREL(%rip), %rax
	movq	_W_D_CMDR_RRST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WriteW6692                     ## TAILCALL
LBB0_8:
	movq	_W_D_RBCL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ReadW6692
	movq	_W_D_FIFO_THRESH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %esi
	andl	%eax, %esi
	cmovel	%ecx, %esi
	movq	%r14, %rdi
	callq	_W6692_empty_Dfifo
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_recv_Dchannel                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_W_D_RSTA,4,2                   ## @W_D_RSTA
	.comm	_W_D_RSTA_RDOV,4,2              ## @W_D_RSTA_RDOV
	.comm	_W_D_RSTA_CRCE,4,2              ## @W_D_RSTA_CRCE
	.comm	_W_D_RSTA_RMB,4,2               ## @W_D_RSTA_RMB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: D-channel RDOV\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: D-channel CRC error\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: D-channel ABORT\n"

	.comm	_W_D_CMDR,4,2                   ## @W_D_CMDR
	.comm	_W_D_CMDR_RACK,4,2              ## @W_D_CMDR_RACK
	.comm	_W_D_CMDR_RRST,4,2              ## @W_D_CMDR_RRST
	.comm	_W_D_RBCL,4,2                   ## @W_D_RBCL
	.comm	_W_D_FIFO_THRESH,4,2            ## @W_D_FIFO_THRESH
	.no_dead_strip	_handle_rxD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_rxD
_handle_rxD:                            ; @handle_rxD
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _W_D_RSTA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _W_D_RSTA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ReadW6692
Lloh3:
	adrp	x8, _W_D_RSTA_RDOV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _W_D_RSTA_RDOV@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
Lloh6:
	adrp	x22, _W_D_RSTA_CRCE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _W_D_RSTA_CRCE@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w10, w8, w9
Lloh8:
	adrp	x21, _W_D_RSTA_RMB@GOTPAGE
Lloh9:
	ldr	x21, [x21, _W_D_RSTA_RMB@GOTPAGEOFF]
	ldr	w11, [x21]
	orr	w10, w10, w11
	tst	w10, w0
	b.eq	LBB0_8
; %bb.1:
	mov	x20, x0
	tst	w9, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w1, [x19, #16]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	w8, [x22]
LBB0_3:
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x19, #16]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
LBB0_5:
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	ldr	w1, [x19, #16]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
LBB0_7:
	ldr	x0, [x19]
	bl	_dev_kfree_skb
Lloh16:
	adrp	x8, _W_D_CMDR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _W_D_CMDR@GOTPAGEOFF]
	str	xzr, [x19]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _W_D_CMDR_RACK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _W_D_CMDR_RACK@GOTPAGEOFF]
Lloh21:
	adrp	x9, _W_D_CMDR_RRST@GOTPAGE
Lloh22:
	ldr	x9, [x9, _W_D_CMDR_RRST@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	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
	b	_WriteW6692
LBB0_8:
Lloh25:
	adrp	x8, _W_D_RBCL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _W_D_RBCL@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692
Lloh28:
	adrp	x8, _W_D_FIFO_THRESH@GOTPAGE
Lloh29:
	ldr	x8, [x8, _W_D_FIFO_THRESH@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	sub	w9, w8, #1
	ands	w9, w9, w0
	csel	w1, w8, w9, eq
	mov	x0, x19
	bl	_W6692_empty_Dfifo
	mov	x0, x19
	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
	b	_recv_Dchannel
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_W_D_RSTA,4,2                   ; @W_D_RSTA
	.comm	_W_D_RSTA_RDOV,4,2              ; @W_D_RSTA_RDOV
	.comm	_W_D_RSTA_CRCE,4,2              ; @W_D_RSTA_CRCE
	.comm	_W_D_RSTA_RMB,4,2               ; @W_D_RSTA_RMB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: D-channel RDOV\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: D-channel CRC error\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: D-channel ABORT\n"

	.comm	_W_D_CMDR,4,2                   ; @W_D_CMDR
	.comm	_W_D_CMDR_RACK,4,2              ; @W_D_CMDR_RACK
	.comm	_W_D_CMDR_RRST,4,2              ; @W_D_CMDR_RRST
	.comm	_W_D_RBCL,4,2                   ; @W_D_RBCL
	.comm	_W_D_FIFO_THRESH,4,2            ; @W_D_FIFO_THRESH
	.no_dead_strip	_handle_rxD
.subsections_via_symbols
