	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eepro_close
_eepro_close:                           ## @eepro_close
	.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
	callq	_netdev_priv
	movq	%rax, %r15
	movl	(%r14), %ebx
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movl	%ebx, %edi
	callq	_eepro_sw2bank1
	movq	_REG1@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	addl	%ebx, %edi
	callq	_inb
                                        ## kill: def $ax killed $ax def $eax
	andl	$127, %eax
	movl	(%r12), %esi
	addl	%ebx, %esi
	movl	%eax, %edi
	callq	_outb
	movl	%ebx, %edi
	callq	_eepro_sw2bank0
	movq	_STOP_RCV_CMD@GOTPCREL(%rip), %rax
	movswl	(%rax), %edi
	movl	%ebx, %esi
	callq	_outb
	movl	8(%r15), %eax
	movl	%eax, 12(%r15)
	movl	%eax, 16(%r15)
	movq	$0, (%r15)
	movl	%ebx, %edi
	callq	_eepro_dis_int
	movl	%ebx, %edi
	callq	_eepro_clear_int
	movl	%ebx, %edi
	callq	_eepro_reset
	movl	4(%r14), %edi
	movq	%r14, %rsi
	callq	_free_irq
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG1,4,2                       ## @REG1
	.comm	_STOP_RCV_CMD,2,1               ## @STOP_RCV_CMD
	.no_dead_strip	_eepro_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eepro_close
_eepro_close:                           ; @eepro_close
	.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
	bl	_netdev_priv
	mov	x20, x0
	ldr	w21, [x19]
	mov	x0, x19
	bl	_netif_stop_queue
	mov	x0, x21
	bl	_eepro_sw2bank1
Lloh0:
	adrp	x22, _REG1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REG1@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w0, w8, w21
	bl	_inb
	ldr	w8, [x22]
	add	w1, w8, w21
	and	w0, w0, #0x7f
	bl	_outb
	mov	x0, x21
	bl	_eepro_sw2bank0
Lloh2:
	adrp	x8, _STOP_RCV_CMD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STOP_RCV_CMD@GOTPAGEOFF]
Lloh4:
	ldrsh	w0, [x8]
	mov	x1, x21
	bl	_outb
	ldr	w8, [x20, #8]
	stp	w8, w8, [x20, #12]
	str	xzr, [x20]
	mov	x0, x21
	bl	_eepro_dis_int
	mov	x0, x21
	bl	_eepro_clear_int
	mov	x0, x21
	bl	_eepro_reset
	ldr	w0, [x19, #4]
	mov	x1, x19
	bl	_free_irq
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG1,4,2                       ; @REG1
	.comm	_STOP_RCV_CMD,2,1               ; @STOP_RCV_CMD
	.no_dead_strip	_eepro_close
.subsections_via_symbols
