	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_block_output
_dma_block_output:                      ## @dma_block_output
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	(%rdi), %r15d
	callq	_PRIV
	movq	_ei_status@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.8:
	movl	4(%rcx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_err                     ## TAILCALL
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %ebx
	movl	%r13d, %r12d
	andl	$1, %r12d
	movq	_E8390_PAGE0@GOTPCREL(%rip), %rax
	movq	_E8390_START@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	addl	(%rax), %edi
	addl	%r13d, %r12d
	movq	_E8390_NODMA@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	movl	$1, (%rcx)
	movq	_PCNET_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_outb_p
	movq	_ENISR_RDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EN0_ISR@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	%r15, %rsi
	callq	_outb_p
	movzbl	%r12b, %edi
	movq	_EN0_RCNTLO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_outb_p
	movl	%r12d, %edi
	sarl	$8, %edi
	movq	_EN0_RCNTHI@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_outb_p
	movq	_EN0_RSARLO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	xorl	%edi, %edi
	callq	_outb_p
	movq	_EN0_RSARHI@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	movl	%ebx, %edi
	callq	_outb_p
	movq	_E8390_RWRITE@GOTPCREL(%rip), %rax
	movq	_E8390_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	addl	(%rax), %edi
	movq	_PCNET_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_outb_p
	movq	_PCNET_DATAPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	sarl	%r12d
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_outsw
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	_PCNET_RDC_TIMEOUT@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	addq	%r15, %rdi
	callq	_inb_p
	movq	_ENISR_RDC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%eax, %edi
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_netdev_warn
	movq	%rbx, %rdi
	callq	_pcnet_reset_8390
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_NS8390_init
	movq	_ENISR_RDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_5:
	addq	(%r13), %r15
	movq	%r15, %rsi
	callq	_outb_p
	movq	_DELAY_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_delay_time@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_udelay
LBB0_7:
	movq	_ei_status@GOTPCREL(%rip), %rax
	andb	$-2, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ei_status,8,2                  ## @ei_status
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMAing conflict in dma_block_output.[DMAstat:%1x][irqlock:%1x]\n"

	.comm	_E8390_PAGE0,4,2                ## @E8390_PAGE0
	.comm	_E8390_START,4,2                ## @E8390_START
	.comm	_E8390_NODMA,4,2                ## @E8390_NODMA
	.comm	_PCNET_CMD,8,3                  ## @PCNET_CMD
	.comm	_ENISR_RDC,4,2                  ## @ENISR_RDC
	.comm	_EN0_ISR,8,3                    ## @EN0_ISR
	.comm	_EN0_RCNTLO,8,3                 ## @EN0_RCNTLO
	.comm	_EN0_RCNTHI,8,3                 ## @EN0_RCNTHI
	.comm	_EN0_RSARLO,8,3                 ## @EN0_RSARLO
	.comm	_EN0_RSARHI,8,3                 ## @EN0_RSARHI
	.comm	_E8390_RWRITE,4,2               ## @E8390_RWRITE
	.comm	_PCNET_DATAPORT,8,3             ## @PCNET_DATAPORT
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_PCNET_RDC_TIMEOUT,8,3          ## @PCNET_RDC_TIMEOUT
L_.str.1:                               ## @.str.1
	.asciz	"timeout waiting for Tx RDC.\n"

	.comm	_DELAY_OUTPUT,4,2               ## @DELAY_OUTPUT
	.comm	_delay_time,8,3                 ## @delay_time
	.comm	_tx_queued,4,2                  ## @tx_queued
	.no_dead_strip	_dma_block_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_block_output
_dma_block_output:                      ; @dma_block_output
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w25, [x0]
	bl	_PRIV
Lloh0:
	adrp	x24, _ei_status@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ei_status@GOTPAGEOFF]
	ldr	w2, [x24]
	cbz	w2, LBB0_2
; %bb.1:
	ldr	w3, [x24, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_netdev_err
LBB0_2:
	mov	x19, x0
	and	w8, w23, #0x1
	add	w27, w8, w23
	mov	w8, #1
	str	w8, [x24]
Lloh4:
	adrp	x8, _E8390_PAGE0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E8390_PAGE0@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _E8390_START@GOTPAGE
Lloh8:
	ldr	x9, [x9, _E8390_START@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _E8390_NODMA@GOTPAGE
Lloh11:
	ldr	x10, [x10, _E8390_NODMA@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w0, w8, w10
Lloh13:
	adrp	x28, _PCNET_CMD@GOTPAGE
Lloh14:
	ldr	x28, [x28, _PCNET_CMD@GOTPAGEOFF]
	ldr	x8, [x28]
	add	x1, x8, x25
	bl	_outb_p
Lloh15:
	adrp	x26, _ENISR_RDC@GOTPAGE
Lloh16:
	ldr	x26, [x26, _ENISR_RDC@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh17:
	adrp	x23, _EN0_ISR@GOTPAGE
Lloh18:
	ldr	x23, [x23, _EN0_ISR@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x1, x8, x25
	bl	_outb_p
	and	w0, w27, #0xff
Lloh19:
	adrp	x8, _EN0_RCNTLO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EN0_RCNTLO@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	add	x1, x8, x25
	bl	_outb_p
	asr	w0, w27, #8
Lloh22:
	adrp	x8, _EN0_RCNTHI@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EN0_RCNTHI@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	add	x1, x8, x25
	bl	_outb_p
Lloh25:
	adrp	x8, _EN0_RSARLO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EN0_RSARLO@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	add	x1, x8, x25
	mov	w0, #0
	bl	_outb_p
Lloh28:
	adrp	x8, _EN0_RSARHI@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EN0_RSARHI@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	add	x1, x8, x25
	mov	x0, x22
	bl	_outb_p
Lloh31:
	adrp	x8, _E8390_RWRITE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _E8390_RWRITE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _E8390_START@GOTPAGE
Lloh35:
	ldr	x9, [x9, _E8390_START@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	add	w0, w9, w8
	ldr	x8, [x28]
	add	x1, x8, x25
	bl	_outb_p
Lloh37:
	adrp	x8, _PCNET_DATAPORT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PCNET_DATAPORT@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	add	x0, x8, x25
	asr	w2, w27, #1
	mov	x1, x21
	bl	_outsw
Lloh40:
	adrp	x21, _jiffies@GOTPAGE
Lloh41:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	ldr	x22, [x21]
Lloh42:
	adrp	x27, _PCNET_RDC_TIMEOUT@GOTPAGE
Lloh43:
	ldr	x27, [x27, _PCNET_RDC_TIMEOUT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x8, x25
	bl	_inb_p
	mov	x8, x0
	ldr	w0, [x26]
	tst	w0, w8
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21]
	ldr	x8, [x27]
	add	x1, x8, x22
	bl	_time_after
	cbz	x0, LBB0_3
; %bb.5:
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_warn
	mov	x0, x20
	bl	_pcnet_reset_8390
	mov	x0, x20
	mov	w1, #1
	bl	_NS8390_init
	ldr	w0, [x26]
LBB0_6:
	ldr	x8, [x23]
	add	x1, x8, x25
	bl	_outb_p
	ldr	w8, [x19]
Lloh46:
	adrp	x9, _DELAY_OUTPUT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _DELAY_OUTPUT@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh49:
	adrp	x8, _delay_time@GOTPAGE
Lloh50:
	ldr	x8, [x8, _delay_time@GOTPAGEOFF]
Lloh51:
	ldr	x0, [x8]
	bl	_udelay
LBB0_8:
	ldr	w8, [x24]
	and	w8, w8, #0xfffffffe
	str	w8, [x24]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_ei_status,8,2                  ; @ei_status
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMAing conflict in dma_block_output.[DMAstat:%1x][irqlock:%1x]\n"

	.comm	_E8390_PAGE0,4,2                ; @E8390_PAGE0
	.comm	_E8390_START,4,2                ; @E8390_START
	.comm	_E8390_NODMA,4,2                ; @E8390_NODMA
	.comm	_PCNET_CMD,8,3                  ; @PCNET_CMD
	.comm	_ENISR_RDC,4,2                  ; @ENISR_RDC
	.comm	_EN0_ISR,8,3                    ; @EN0_ISR
	.comm	_EN0_RCNTLO,8,3                 ; @EN0_RCNTLO
	.comm	_EN0_RCNTHI,8,3                 ; @EN0_RCNTHI
	.comm	_EN0_RSARLO,8,3                 ; @EN0_RSARLO
	.comm	_EN0_RSARHI,8,3                 ; @EN0_RSARHI
	.comm	_E8390_RWRITE,4,2               ; @E8390_RWRITE
	.comm	_PCNET_DATAPORT,8,3             ; @PCNET_DATAPORT
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_PCNET_RDC_TIMEOUT,8,3          ; @PCNET_RDC_TIMEOUT
l_.str.1:                               ; @.str.1
	.asciz	"timeout waiting for Tx RDC.\n"

	.comm	_DELAY_OUTPUT,4,2               ; @DELAY_OUTPUT
	.comm	_delay_time,8,3                 ; @delay_time
	.comm	_tx_queued,4,2                  ; @tx_queued
	.no_dead_strip	_dma_block_output
.subsections_via_symbols
