	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ne2k_pci_reset_8390
_ne2k_pci_reset_8390:                   ## @ne2k_pci_reset_8390
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	callq	_netdev_priv
	movq	_hw@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%r15), %r8
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	callq	_netif_dbg
	movq	_NE_BASE@GOTPCREL(%rip), %r12
	movq	_NE_RESET@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%r12), %rdi
	callq	_inb
	movq	(%r14), %rsi
	addq	(%r12), %rsi
	movl	%eax, %edi
	callq	_outb
	xorps	%xmm0, %xmm0
	movq	_ei_status@GOTPCREL(%rip), %rax
	movups	%xmm0, (%rax)
	movq	_EN0_ISR@GOTPCREL(%rip), %r13
	movq	_ENISR_RESET@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	addq	(%r12), %rdi
	callq	_inb
	movl	(%r14), %edi
	testl	%eax, %edi
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	subq	%rbx, %rax
	cmpq	$3, %rax
	jb	LBB0_1
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_err
	movl	(%r14), %edi
LBB0_4:
	movq	(%r13), %rsi
	addq	(%r12), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resetting the 8390 t=%ld...\n"

	.comm	_NE_BASE,8,3                    ## @NE_BASE
	.comm	_NE_RESET,8,3                   ## @NE_RESET
	.comm	_ei_status,16,3                 ## @ei_status
	.comm	_EN0_ISR,8,3                    ## @EN0_ISR
	.comm	_ENISR_RESET,4,2                ## @ENISR_RESET
L_.str.1:                               ## @.str.1
	.asciz	"ne2k_pci_reset_8390() did not complete.\n"

	.no_dead_strip	_ne2k_pci_reset_8390
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ne2k_pci_reset_8390
_ne2k_pci_reset_8390:                   ; @ne2k_pci_reset_8390
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x20, _jiffies@GOTPAGE
Lloh1:
	ldr	x20, [x20, _jiffies@GOTPAGEOFF]
	ldr	x21, [x20]
	bl	_netdev_priv
Lloh2:
	adrp	x8, _hw@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	x4, [x20]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x2, x19
	bl	_netif_dbg
Lloh7:
	adrp	x22, _NE_BASE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _NE_BASE@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh9:
	adrp	x23, _NE_RESET@GOTPAGE
Lloh10:
	ldr	x23, [x23, _NE_RESET@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_inb
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_outb
Lloh11:
	adrp	x8, _ei_status@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ei_status@GOTPAGEOFF]
	stp	xzr, xzr, [x8]
Lloh13:
	adrp	x23, _EN0_ISR@GOTPAGE
Lloh14:
	ldr	x23, [x23, _EN0_ISR@GOTPAGEOFF]
Lloh15:
	adrp	x24, _ENISR_RESET@GOTPAGE
Lloh16:
	ldr	x24, [x24, _ENISR_RESET@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_inb
	mov	x8, x0
	ldr	w0, [x24]
	tst	w0, w8
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	sub	x8, x8, x21
	cmp	x8, #3
	b.lo	LBB0_1
; %bb.3:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	ldr	w0, [x24]
LBB0_4:
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x1, x9, x8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_outb
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resetting the 8390 t=%ld...\n"

	.comm	_NE_BASE,8,3                    ; @NE_BASE
	.comm	_NE_RESET,8,3                   ; @NE_RESET
	.comm	_ei_status,16,3                 ; @ei_status
	.comm	_EN0_ISR,8,3                    ; @EN0_ISR
	.comm	_ENISR_RESET,4,2                ; @ENISR_RESET
l_.str.1:                               ; @.str.1
	.asciz	"ne2k_pci_reset_8390() did not complete.\n"

	.no_dead_strip	_ne2k_pci_reset_8390
.subsections_via_symbols
