	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Amd7930_fill_Dfifo
_Amd7930_fill_Dfifo:                    ## @Amd7930_fill_Dfifo
	.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, %r15
	movl	(%rdi), %eax
	movq	_L1_DEB_ISAC@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_3
## %bb.1:
	movq	_L1_DEB_ISAC_FIFO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_debugl1
LBB0_3:
	movq	48(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_17
## %bb.5:
	movq	40(%r15), %r14
	xorl	%r12d, %r12d
	testq	%r14, %r14
	cmoveq	%rax, %r14
	cmoveq	%rax, %r12
	movq	%r15, %rdi
	callq	_AmdIrqOff
	movq	48(%r15), %rax
	movq	8(%rax), %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, 8(%r15)
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_wByteAMD
	addq	$4, %rbx
	incq	8(%r15)
	movq	%r15, %rdi
	movl	$7, %esi
	callq	_rByteAMD
	testb	$16, %al
	jne	LBB0_6
LBB0_8:
	movq	48(%r15), %rdi
	subq	8(%rdi), %rbx
	sarq	$2, %rbx
	movq	%rbx, %rsi
	callq	_skb_pull
	movq	%r15, %rdi
	movl	$133, %esi
	callq	_rWordAMD
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$142, %esi
	callq	_rByteAMD
	movl	%eax, %r14d
	movl	(%r13), %eax
	testl	%eax, (%r15)
	je	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	callq	_LOBYTE
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_HIBYTE
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_debugl1
LBB0_10:
	cmpq	$0, 40(%r15)
	jne	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movl	$133, %esi
	movq	%r12, %rdx
	callq	_wWordAMD
	movq	%r12, 40(%r15)
LBB0_12:
	movq	_FLG_DBUSY_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r15), %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_debugl1
	leaq	24(%r15), %rdi
	callq	_del_timer
LBB0_14:
	leaq	24(%r15), %r14
	movq	%r14, %rdi
	callq	_init_timer
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_DBUSY_TIMER_VALUE@GOTPCREL(%rip), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	(%rcx), %edx
	movslq	%edx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 24(%r15)
	movq	%r14, %rdi
	callq	_add_timer
	movq	_L1_DEB_ISAC_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_16
## %bb.15:
	movq	16(%r15), %r14
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_sprintf
	movslq	%eax, %rdi
	addq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_QuickHex
	movq	16(%r15), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_debugl1
LBB0_16:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AmdIrqOn                       ## TAILCALL
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L1_DEB_ISAC,4,2                ## @L1_DEB_ISAC
	.comm	_L1_DEB_ISAC_FIFO,4,2           ## @L1_DEB_ISAC_FIFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Amd7930: fill_Dfifo"

L_.str.1:                               ## @.str.1
	.asciz	"Amd7930: fill_Dfifo, DMR3: 0x%02X, DTCR read: 0x%04X write: 0x%02X 0x%02X"

	.comm	_FLG_DBUSY_TIMER,4,2            ## @FLG_DBUSY_TIMER
L_.str.2:                               ## @.str.2
	.asciz	"Amd7930: fill_Dfifo dbusytimer running"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_DBUSY_TIMER_VALUE,4,2          ## @DBUSY_TIMER_VALUE
	.comm	_HZ,4,2                         ## @HZ
L_.str.3:                               ## @.str.3
	.asciz	"Amd7930: fill_Dfifo cnt: %d |"

	.no_dead_strip	_Amd7930_fill_Dfifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Amd7930_fill_Dfifo
_Amd7930_fill_Dfifo:                    ; @Amd7930_fill_Dfifo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x25, _L1_DEB_ISAC@GOTPAGE
Lloh1:
	ldr	x25, [x25, _L1_DEB_ISAC@GOTPAGEOFF]
	ldr	w9, [x25]
Lloh2:
	adrp	x26, _L1_DEB_ISAC_FIFO@GOTPAGE
Lloh3:
	ldr	x26, [x26, _L1_DEB_ISAC_FIFO@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_2:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_17
LBB0_3:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_17
; %bb.4:
	ldr	x9, [x19, #40]
	cmp	x9, #0
	csel	x21, x8, x9, eq
	csel	x22, x8, xzr, eq
	mov	x0, x19
	bl	_AmdIrqOff
	ldr	x8, [x19, #48]
	ldr	x20, [x8, #8]
	mov	x23, x20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	cmp	x8, x21
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x23], #4
	mov	x0, x19
	mov	w1, #4
	bl	_wByteAMD
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #7
	bl	_rByteAMD
	tbnz	w0, #4, LBB0_5
LBB0_7:
	ldr	x0, [x19, #48]
	ldr	x8, [x0, #8]
	sub	x8, x23, x8
	asr	x21, x8, #2
	mov	x1, x21
	bl	_skb_pull
	mov	x0, x19
	mov	w1, #133
	bl	_rWordAMD
	mov	x23, x0
	mov	x0, x19
	mov	w1, #142
	bl	_rByteAMD
	ldr	w8, [x19]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x24, x0
	mov	x0, x22
	bl	_LOBYTE
	mov	x25, x0
	mov	x0, x22
	bl	_HIBYTE
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #16]
	stp	x24, x23, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_debugl1
LBB0_9:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #133
	mov	x2, x22
	bl	_wWordAMD
	str	x22, [x19, #40]
LBB0_11:
Lloh6:
	adrp	x8, _FLG_DBUSY_TIMER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLG_DBUSY_TIMER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	_test_and_set_bit
	cbz	x0, LBB0_13
; %bb.12:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_debugl1
	add	x0, x19, #24
	bl	_del_timer
LBB0_13:
	add	x22, x19, #24
	mov	x0, x22
	bl	_init_timer
Lloh11:
	adrp	x8, _jiffies@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _DBUSY_TIMER_VALUE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DBUSY_TIMER_VALUE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _HZ@GOTPAGE
Lloh18:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	mul	w9, w10, w9
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	add	x8, x8, w9, sxtw
	str	x8, [x19, #24]
	mov	x0, x22
	bl	_add_timer
	ldr	w8, [x19]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	ldr	x22, [x19, #16]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	bl	_sprintf
	add	x0, x22, w0, sxtw
	mov	x1, x20
	mov	x2, x21
	bl	_QuickHex
	ldr	x1, [x19, #16]
	mov	x0, x19
	bl	_debugl1
LBB0_15:
	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
	add	sp, sp, #112
	b	_AmdIrqOn
LBB0_16:
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_debugl1
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_3
LBB0_17:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_L1_DEB_ISAC,4,2                ; @L1_DEB_ISAC
	.comm	_L1_DEB_ISAC_FIFO,4,2           ; @L1_DEB_ISAC_FIFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Amd7930: fill_Dfifo"

l_.str.1:                               ; @.str.1
	.asciz	"Amd7930: fill_Dfifo, DMR3: 0x%02X, DTCR read: 0x%04X write: 0x%02X 0x%02X"

	.comm	_FLG_DBUSY_TIMER,4,2            ; @FLG_DBUSY_TIMER
l_.str.2:                               ; @.str.2
	.asciz	"Amd7930: fill_Dfifo dbusytimer running"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_DBUSY_TIMER_VALUE,4,2          ; @DBUSY_TIMER_VALUE
	.comm	_HZ,4,2                         ; @HZ
l_.str.3:                               ; @.str.3
	.asciz	"Amd7930: fill_Dfifo cnt: %d |"

	.no_dead_strip	_Amd7930_fill_Dfifo
.subsections_via_symbols
