	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc6_rd_data_blk
_ppc6_rd_data_blk:                      ## @ppc6_rd_data_blk
	.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
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_5
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	testq	%r15, %r15
	je	LBB0_5
## %bb.3:
	xorl	%r13d, %r13d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r14
	movq	_port_stb@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	notl	%edi
	andl	4(%r12), %edi
	movq	_data_stb@GOTPCREL(%rip), %rax
	xorl	(%rax), %edi
	movl	%edi, 4(%r12)
	movl	8(%r12), %esi
	addl	$2, %esi
	callq	_outb
	movl	8(%r12), %edi
	incl	%edi
	callq	_inb
	movl	%eax, %ebx
	shrl	%eax
	andl	$64, %eax
	shrl	$3, %ebx
	andl	$7, %ebx
	orl	%eax, %ebx
	movl	4(%r12), %edi
	movl	8(%r12), %esi
	orl	(%r15), %edi
	movq	%r14, %r15
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%edi, 4(%r12)
	addl	$2, %esi
	callq	_outb
	movl	8(%r12), %edi
	incl	%edi
	callq	_inb
	andl	$184, %eax
	orl	%ebx, %eax
	movl	%eax, (%r14,%r13,4)
	incq	%r13
	cmpq	%r13, %r15
	jne	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_port_dir@GOTPCREL(%rip), %rbx
	movl	4(%r12), %edi
	movl	8(%r12), %esi
	orl	(%rbx), %edi
	movl	%edi, 4(%r12)
	addl	$2, %esi
	callq	_outb
	movq	_port_stb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%r12), %edi
	orl	%eax, %edi
	testq	%r15, %r15
	je	LBB0_11
## %bb.7:
	movq	_data_stb@GOTPCREL(%rip), %r13
	xorl	(%r13), %edi
	movl	%edi, 4(%r12)
	movl	8(%r12), %esi
	addl	$2, %esi
	callq	_outb
	movl	8(%r12), %edi
	callq	_inb
	movl	%eax, (%r14)
	cmpq	$1, %r15
	je	LBB0_10
## %bb.8:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %edi
	movl	8(%r12), %esi
	xorl	(%r13), %edi
	movl	%edi, 4(%r12)
	addl	$2, %esi
	callq	_outb
	movl	8(%r12), %edi
	callq	_inb
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_9
LBB0_10:
	movq	_port_stb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%r12), %edi
	movq	_port_dir@GOTPCREL(%rip), %rbx
LBB0_11:
	leaq	8(%r12), %r13
	notl	%eax
	andl	%edi, %eax
	movl	%eax, 4(%r12)
	movl	8(%r12), %esi
	addl	$2, %esi
	movl	%eax, %edi
	callq	_outb
	movl	(%rbx), %edi
	notl	%edi
	andl	4(%r12), %edi
	movl	%edi, 4(%r12)
	jmp	LBB0_28
LBB0_15:
	movq	_port_dir@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	4(%r12), %edi
	leaq	8(%r12), %r13
	movl	8(%r12), %esi
	addl	$2, %esi
	callq	_outb
	cmpq	$2, %r15
	jl	LBB0_18
## %bb.16:
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	addl	$4, %edi
	callq	_inw
	movl	%eax, (%r14)
	addq	$8, %r14
	leaq	-2(%rbx), %r15
	cmpq	$3, %rbx
	movq	%r15, %rbx
	ja	LBB0_17
LBB0_18:
	testq	%r15, %r15
	je	LBB0_27
## %bb.19:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	addl	$4, %edi
	callq	_inb
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_20
	jmp	LBB0_27
LBB0_21:
	movq	_port_dir@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	4(%r12), %edi
	leaq	8(%r12), %r13
	movl	8(%r12), %esi
	addl	$2, %esi
	callq	_outb
	cmpq	$4, %r15
	jl	LBB0_24
## %bb.22:
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	addl	$4, %edi
	callq	_inl
	movl	%eax, (%r14)
	addq	$16, %r14
	leaq	-4(%rbx), %r15
	cmpq	$7, %rbx
	movq	%r15, %rbx
	ja	LBB0_23
LBB0_24:
	testq	%r15, %r15
	je	LBB0_27
## %bb.25:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	addl	$4, %edi
	callq	_inb
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_26
	jmp	LBB0_27
LBB0_12:
	movq	_port_dir@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	4(%r12), %edi
	leaq	8(%r12), %r13
	movl	8(%r12), %esi
	addl	$2, %esi
	callq	_outb
	testq	%r15, %r15
	je	LBB0_27
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	addl	$4, %edi
	callq	_inb
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_14
LBB0_27:
	movl	4(%r12), %edi
LBB0_28:
	movl	(%r13), %esi
	addl	$2, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_15
	.long	L0_0_set_21
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_port_stb,4,2                   ## @port_stb
	.comm	_data_stb,4,2                   ## @data_stb
	.comm	_port_dir,4,2                   ## @port_dir
	.no_dead_strip	_ppc6_rd_data_blk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc6_rd_data_blk
_ppc6_rd_data_blk:                      ; @ppc6_rd_data_blk
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cbz	x21, LBB0_5
; %bb.3:
Lloh2:
	adrp	x22, _port_stb@GOTPAGE
Lloh3:
	ldr	x22, [x22, _port_stb@GOTPAGEOFF]
Lloh4:
	adrp	x23, _data_stb@GOTPAGE
Lloh5:
	ldr	x23, [x23, _data_stb@GOTPAGEOFF]
	mov	w24, #184
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldp	w9, w10, [x19, #4]
	bic	w8, w9, w8
	ldr	w9, [x23]
	eor	w0, w8, w9
	str	w0, [x19, #4]
	add	w1, w10, #2
	bl	_outb
	ldr	w8, [x19, #8]
	add	w0, w8, #1
	bl	_inb
	lsr	w8, w0, #1
	and	w25, w8, #0x40
	bfxil	w25, w0, #3, #3
	ldr	w8, [x22]
	ldp	w9, w10, [x19, #4]
	orr	w0, w9, w8
	str	w0, [x19, #4]
	add	w1, w10, #2
	bl	_outb
	ldr	w8, [x19, #8]
	add	w0, w8, #1
	bl	_inb
	and	w8, w0, w24
	orr	w8, w25, w8
	str	w8, [x20], #4
	subs	x21, x21, #1
	b.ne	LBB0_4
LBB0_5:
	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
LBB0_6:
Lloh6:
	adrp	x23, _port_dir@GOTPAGE
Lloh7:
	ldr	x23, [x23, _port_dir@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x22, x19
	ldr	w9, [x22, #8]!
	ldur	w10, [x22, #-4]
	orr	w0, w10, w8
	stur	w0, [x22, #-4]
	add	w1, w9, #2
	bl	_outb
Lloh8:
	adrp	x24, _port_stb@GOTPAGE
Lloh9:
	ldr	x24, [x24, _port_stb@GOTPAGEOFF]
	ldr	w8, [x24]
	ldur	w9, [x22, #-4]
	orr	w9, w9, w8
	cbz	x21, LBB0_11
; %bb.7:
Lloh10:
	adrp	x25, _data_stb@GOTPAGE
Lloh11:
	ldr	x25, [x25, _data_stb@GOTPAGEOFF]
	ldr	w8, [x25]
	eor	w0, w9, w8
	str	w0, [x19, #4]
	ldr	w8, [x19, #8]
	add	w1, w8, #2
	bl	_outb
	ldr	w0, [x19, #8]
	bl	_inb
	str	w0, [x20]
	subs	x21, x21, #1
	b.eq	LBB0_10
; %bb.8:
	add	x20, x20, #4
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	ldp	w9, w10, [x19, #4]
	eor	w0, w9, w8
	str	w0, [x19, #4]
	add	w1, w10, #2
	bl	_outb
	ldr	w0, [x19, #8]
	bl	_inb
	str	w0, [x20], #4
	subs	x21, x21, #1
	b.ne	LBB0_9
LBB0_10:
	ldr	w8, [x24]
	ldr	w9, [x19, #4]
LBB0_11:
	bic	w0, w9, w8
	str	w0, [x19, #4]
	ldr	w8, [x19, #8]
	add	w1, w8, #2
	bl	_outb
	ldr	w8, [x23]
	ldr	w9, [x19, #4]
	bic	w0, w9, w8
	str	w0, [x19, #4]
	b	LBB0_25
LBB0_12:
	mov	x22, x19
	ldr	w8, [x22, #8]!
	ldur	w9, [x22, #-4]
Lloh12:
	adrp	x10, _port_dir@GOTPAGE
Lloh13:
	ldr	x10, [x10, _port_dir@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w0, w10, w9
	add	w1, w8, #2
	bl	_outb
	cmp	x21, #2
	b.lt	LBB0_19
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	add	w0, w8, #4
	bl	_inw
	str	w0, [x20], #8
	sub	x23, x21, #2
	cmp	x21, #3
	mov	x21, x23
	b.hi	LBB0_13
	b	LBB0_20
LBB0_14:
	mov	x22, x19
	ldr	w8, [x22, #8]!
	ldur	w9, [x22, #-4]
Lloh15:
	adrp	x10, _port_dir@GOTPAGE
Lloh16:
	ldr	x10, [x10, _port_dir@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w0, w10, w9
	add	w1, w8, #2
	bl	_outb
	cmp	x21, #4
	b.lt	LBB0_22
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	add	w0, w8, #4
	bl	_inl
	str	w0, [x20], #16
	sub	x23, x21, #4
	cmp	x21, #7
	mov	x21, x23
	b.hi	LBB0_15
; %bb.16:
	cbnz	x23, LBB0_23
	b	LBB0_24
LBB0_17:
	mov	x22, x19
	ldr	w8, [x22, #8]!
	ldur	w9, [x22, #-4]
Lloh18:
	adrp	x10, _port_dir@GOTPAGE
Lloh19:
	ldr	x10, [x10, _port_dir@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w0, w10, w9
	add	w1, w8, #2
	bl	_outb
	cbz	x21, LBB0_24
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	add	w0, w8, #4
	bl	_inb
	str	w0, [x20], #4
	subs	x21, x21, #1
	b.ne	LBB0_18
	b	LBB0_24
LBB0_19:
	mov	x23, x21
LBB0_20:
	cbz	x23, LBB0_24
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	add	w0, w8, #4
	bl	_inb
	str	w0, [x20], #4
	subs	x23, x23, #1
	b.ne	LBB0_21
	b	LBB0_24
LBB0_22:
	mov	x23, x21
	cbz	x23, LBB0_24
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	add	w0, w8, #4
	bl	_inb
	str	w0, [x20], #4
	subs	x23, x23, #1
	b.ne	LBB0_23
LBB0_24:
	ldr	w0, [x19, #4]
LBB0_25:
	ldr	w8, [x22]
	add	w1, w8, #2
	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
	b	_outb
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_port_stb,4,2                   ; @port_stb
	.comm	_data_stb,4,2                   ; @data_stb
	.comm	_port_dir,4,2                   ; @port_dir
	.no_dead_strip	_ppc6_rd_data_blk
.subsections_via_symbols
