	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_statusD
_handle_statusD:                        ## @handle_statusD
	.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, %rbx
	movq	_W_D_EXIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ReadW6692
	movl	%eax, %r14d
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_W_D_EXI_XDUN@GOTPCREL(%rip), %rax
	movq	_W_D_EXI_XCOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_d_retransmit
LBB0_2:
	movq	_W_D_EXI_RDOV@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_W_D_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_W_D_CMDR_RRST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_WriteW6692
LBB0_4:
	movq	_W_D_EXI_TIN2@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.5:
	movl	8(%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_6:
	movq	_W_D_EXI_MOC@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_W_MOSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ReadW6692
	movl	8(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_8:
	movq	_W_D_EXI_ISC@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_15
## %bb.9:
	movq	_W_CIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ReadW6692
	movl	%eax, %r15d
	movl	8(%rbx), %esi
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_W_CIR_ICC@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_13
## %bb.10:
	movq	_W_CIR_COD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%r15d, %r12d
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	leaq	L_.str.6(%rip), %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	%r12d, (%rbx)
	movq	_led@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_12
## %bb.11:
	andl	$-2, %r12d
	xorl	%esi, %esi
	cmpl	$128, %r12d
	sete	%sil
	movq	%rbx, %rdi
	callq	_w6692_led_handler
LBB0_12:
	movq	%rbx, %rdi
	callq	_W6692_new_ph
LBB0_13:
	movq	_W_CIR_SCC@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_W_SQR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ReadW6692
	movl	8(%rbx), %esi
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_15:
	movq	_W_D_EXI_WEXP@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_17
## %bb.16:
	movl	8(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_17:
	movq	_W_D_EXI_TEXP@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_18
## %bb.19:
	movl	8(%rbx), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_W_D_EXIR,4,2                   ## @W_D_EXIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: D_EXIR %02x\n"

	.comm	_W_D_EXI_XDUN,4,2               ## @W_D_EXI_XDUN
	.comm	_W_D_EXI_XCOL,4,2               ## @W_D_EXI_XCOL
L_.str.1:                               ## @.str.1
	.asciz	"%s: D-channel underrun/collision\n"

	.comm	_W_D_EXI_RDOV,4,2               ## @W_D_EXI_RDOV
L_.str.2:                               ## @.str.2
	.asciz	"%s: D-channel RDOV\n"

	.comm	_W_D_CMDR,4,2                   ## @W_D_CMDR
	.comm	_W_D_CMDR_RRST,4,2              ## @W_D_CMDR_RRST
	.comm	_W_D_EXI_TIN2,4,2               ## @W_D_EXI_TIN2
L_.str.3:                               ## @.str.3
	.asciz	"%s: spurious TIN2 interrupt\n"

	.comm	_W_D_EXI_MOC,4,2                ## @W_D_EXI_MOC
	.comm	_W_MOSR,4,2                     ## @W_MOSR
L_.str.4:                               ## @.str.4
	.asciz	"%s: spurious MOC interrupt MOSR %02x\n"

	.comm	_W_D_EXI_ISC,4,2                ## @W_D_EXI_ISC
	.comm	_W_CIR,4,2                      ## @W_CIR
L_.str.5:                               ## @.str.5
	.asciz	"%s: ISC CIR %02X\n"

	.comm	_W_CIR_ICC,4,2                  ## @W_CIR_ICC
	.comm	_W_CIR_COD_MASK,4,2             ## @W_CIR_COD_MASK
L_.str.6:                               ## @.str.6
	.asciz	"%s: ph_state_change %x -> %x\n"

	.comm	_led,4,2                        ## @led
	.comm	_W_CIR_SCC,4,2                  ## @W_CIR_SCC
	.comm	_W_SQR,4,2                      ## @W_SQR
L_.str.7:                               ## @.str.7
	.asciz	"%s: SCC SQR %02X\n"

	.comm	_W_D_EXI_WEXP,4,2               ## @W_D_EXI_WEXP
L_.str.8:                               ## @.str.8
	.asciz	"%s: spurious WEXP interrupt!\n"

	.comm	_W_D_EXI_TEXP,4,2               ## @W_D_EXI_TEXP
L_.str.9:                               ## @.str.9
	.asciz	"%s: spurious TEXP interrupt!\n"

	.no_dead_strip	_handle_statusD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_statusD
_handle_statusD:                        ; @handle_statusD
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _W_D_EXIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _W_D_EXIR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ReadW6692
	mov	x20, x0
	ldr	w1, [x19, #8]
	str	x20, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh5:
	adrp	x8, _W_D_EXI_XDUN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _W_D_EXI_XDUN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _W_D_EXI_XCOL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _W_D_EXI_XCOL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x19, #8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	bl	_d_retransmit
LBB0_2:
Lloh13:
	adrp	x8, _W_D_EXI_RDOV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _W_D_EXI_RDOV@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x19, #8]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
Lloh18:
	adrp	x8, _W_D_CMDR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _W_D_CMDR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _W_D_CMDR_RRST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _W_D_CMDR_RRST@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_WriteW6692
LBB0_4:
Lloh24:
	adrp	x8, _W_D_EXI_TIN2@GOTPAGE
Lloh25:
	ldr	x8, [x8, _W_D_EXI_TIN2@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x19, #8]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
LBB0_6:
Lloh29:
	adrp	x8, _W_D_EXI_MOC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _W_D_EXI_MOC@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh32:
	adrp	x8, _W_MOSR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _W_MOSR@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x19, #8]
	str	x0, [sp]
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_debug
LBB0_8:
Lloh37:
	adrp	x8, _W_D_EXI_ISC@GOTPAGE
Lloh38:
	ldr	x8, [x8, _W_D_EXI_ISC@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_15
; %bb.9:
Lloh40:
	adrp	x8, _W_CIR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _W_CIR@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692
	mov	x21, x0
	ldr	w1, [x19, #8]
	str	x21, [sp]
Lloh43:
	adrp	x0, l_.str.5@PAGE
Lloh44:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
Lloh45:
	adrp	x8, _W_CIR_ICC@GOTPAGE
Lloh46:
	ldr	x8, [x8, _W_CIR_ICC@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.10:
Lloh48:
	adrp	x8, _W_CIR_COD_MASK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _W_CIR_COD_MASK@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	and	w22, w8, w21
	ldp	w1, w8, [x19, #8]
	stp	x8, x22, [sp]
Lloh51:
	adrp	x0, l_.str.6@PAGE
Lloh52:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_debug
	str	w22, [x19]
	ldr	w8, [x19, #4]
Lloh53:
	adrp	x9, _led@GOTPAGE
Lloh54:
	ldr	x9, [x9, _led@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	and	w8, w22, #0xfffffffe
	cmp	w8, #128
	cset	w1, eq
	mov	x0, x19
	bl	_w6692_led_handler
LBB0_12:
	mov	x0, x19
	bl	_W6692_new_ph
LBB0_13:
Lloh56:
	adrp	x8, _W_CIR_SCC@GOTPAGE
Lloh57:
	ldr	x8, [x8, _W_CIR_SCC@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_15
; %bb.14:
Lloh59:
	adrp	x8, _W_SQR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _W_SQR@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x19, #8]
	str	x0, [sp]
Lloh62:
	adrp	x0, l_.str.7@PAGE
Lloh63:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_debug
LBB0_15:
Lloh64:
	adrp	x8, _W_D_EXI_WEXP@GOTPAGE
Lloh65:
	ldr	x8, [x8, _W_D_EXI_WEXP@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_17
; %bb.16:
	ldr	w1, [x19, #8]
Lloh67:
	adrp	x0, l_.str.8@PAGE
Lloh68:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pr_debug
LBB0_17:
Lloh69:
	adrp	x8, _W_D_EXI_TEXP@GOTPAGE
Lloh70:
	ldr	x8, [x8, _W_D_EXI_TEXP@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_19
; %bb.18:
	ldr	w1, [x19, #8]
Lloh72:
	adrp	x0, l_.str.9@PAGE
Lloh73:
	add	x0, x0, l_.str.9@PAGEOFF
	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
	add	sp, sp, #64
	b	_pr_debug
LBB0_19:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_W_D_EXIR,4,2                   ; @W_D_EXIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: D_EXIR %02x\n"

	.comm	_W_D_EXI_XDUN,4,2               ; @W_D_EXI_XDUN
	.comm	_W_D_EXI_XCOL,4,2               ; @W_D_EXI_XCOL
l_.str.1:                               ; @.str.1
	.asciz	"%s: D-channel underrun/collision\n"

	.comm	_W_D_EXI_RDOV,4,2               ; @W_D_EXI_RDOV
l_.str.2:                               ; @.str.2
	.asciz	"%s: D-channel RDOV\n"

	.comm	_W_D_CMDR,4,2                   ; @W_D_CMDR
	.comm	_W_D_CMDR_RRST,4,2              ; @W_D_CMDR_RRST
	.comm	_W_D_EXI_TIN2,4,2               ; @W_D_EXI_TIN2
l_.str.3:                               ; @.str.3
	.asciz	"%s: spurious TIN2 interrupt\n"

	.comm	_W_D_EXI_MOC,4,2                ; @W_D_EXI_MOC
	.comm	_W_MOSR,4,2                     ; @W_MOSR
l_.str.4:                               ; @.str.4
	.asciz	"%s: spurious MOC interrupt MOSR %02x\n"

	.comm	_W_D_EXI_ISC,4,2                ; @W_D_EXI_ISC
	.comm	_W_CIR,4,2                      ; @W_CIR
l_.str.5:                               ; @.str.5
	.asciz	"%s: ISC CIR %02X\n"

	.comm	_W_CIR_ICC,4,2                  ; @W_CIR_ICC
	.comm	_W_CIR_COD_MASK,4,2             ; @W_CIR_COD_MASK
l_.str.6:                               ; @.str.6
	.asciz	"%s: ph_state_change %x -> %x\n"

	.comm	_led,4,2                        ; @led
	.comm	_W_CIR_SCC,4,2                  ; @W_CIR_SCC
	.comm	_W_SQR,4,2                      ; @W_SQR
l_.str.7:                               ; @.str.7
	.asciz	"%s: SCC SQR %02X\n"

	.comm	_W_D_EXI_WEXP,4,2               ; @W_D_EXI_WEXP
l_.str.8:                               ; @.str.8
	.asciz	"%s: spurious WEXP interrupt!\n"

	.comm	_W_D_EXI_TEXP,4,2               ; @W_D_EXI_TEXP
l_.str.9:                               ; @.str.9
	.asciz	"%s: spurious TEXP interrupt!\n"

	.no_dead_strip	_handle_statusD
.subsections_via_symbols
