	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de600_close
_de600_close:                           ## @de600_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_select_nic
	movq	_rx_page@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_de600_put_command
	movq	_STOP_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_de600_put_command
	xorl	%edi, %edi
	callq	_de600_put_command
	xorl	%eax, %eax
	callq	_select_prn
	movq	_DE600_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rx_page,8,3                    ## @rx_page
	.comm	_RESET,4,2                      ## @RESET
	.comm	_STOP_RESET,4,2                 ## @STOP_RESET
	.comm	_DE600_IRQ,4,2                  ## @DE600_IRQ
	.no_dead_strip	_de600_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de600_close
_de600_close:                           ; @de600_close
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_select_nic
Lloh0:
	adrp	x8, _rx_page@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rx_page@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESET@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_de600_put_command
Lloh6:
	adrp	x8, _STOP_RESET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STOP_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_de600_put_command
	mov	w0, #0
	bl	_de600_put_command
	bl	_select_prn
Lloh9:
	adrp	x8, _DE600_IRQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DE600_IRQ@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_free_irq
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_rx_page,8,3                    ; @rx_page
	.comm	_RESET,4,2                      ; @RESET
	.comm	_STOP_RESET,4,2                 ; @STOP_RESET
	.comm	_DE600_IRQ,4,2                  ; @DE600_IRQ
	.no_dead_strip	_de600_close
.subsections_via_symbols
