	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de620_read_block
_de620_read_block:                      ## @de620_read_block
	.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
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	_NIC_Cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DS0@GOTPCREL(%rip), %rax
	movq	_DS1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	xorl	%edx, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	incl	%r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_STATUS_PORT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_inb
	movl	%eax, %ebx
	andl	$240, %ebx
	movq	_COMMAND_PORT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_outb
	movl	(%r15), %edi
	callq	_inb
	sarl	$4, %eax
	orl	%ebx, %eax
	movl	%eax, (%r14)
	addq	$4, %r14
	movl	(%r12), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_outb
	decl	%r13d
	cmpl	$1, %r13d
	ja	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_Cmd,4,2                    ## @NIC_Cmd
	.comm	_DS0,4,2                        ## @DS0
	.comm	_DS1,4,2                        ## @DS1
	.comm	_STATUS_PORT,4,2                ## @STATUS_PORT
	.comm	_COMMAND_PORT,4,2               ## @COMMAND_PORT
	.comm	_tot_cnt,4,2                    ## @tot_cnt
	.no_dead_strip	_de620_read_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de620_read_block
_de620_read_block:                      ; @de620_read_block
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _NIC_Cmd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_Cmd@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DS0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DS0@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _DS1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DS1@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	eor	w21, w8, w20
	add	w22, w2, #1
Lloh9:
	adrp	x23, _STATUS_PORT@GOTPAGE
Lloh10:
	ldr	x23, [x23, _STATUS_PORT@GOTPAGEOFF]
Lloh11:
	adrp	x24, _COMMAND_PORT@GOTPAGE
Lloh12:
	ldr	x24, [x24, _COMMAND_PORT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_inb
	and	w25, w0, #0xf0
	ldr	w1, [x24]
	mov	x0, x21
	bl	_outb
	ldr	w0, [x23]
	bl	_inb
	orr	w8, w25, w0, asr #4
	str	w8, [x19], #4
	ldr	w1, [x24]
	mov	x0, x20
	bl	_outb
	sub	w22, w22, #1
	cmp	w22, #1
	b.hi	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_Cmd,4,2                    ; @NIC_Cmd
	.comm	_DS0,4,2                        ; @DS0
	.comm	_DS1,4,2                        ; @DS1
	.comm	_STATUS_PORT,4,2                ; @STATUS_PORT
	.comm	_COMMAND_PORT,4,2               ; @COMMAND_PORT
	.comm	_tot_cnt,4,2                    ; @tot_cnt
	.no_dead_strip	_de620_read_block
.subsections_via_symbols
