	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc6_wr_data_blk
_ppc6_wr_data_blk:                      ## @ppc6_wr_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_19
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	testq	%r15, %r15
	je	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	movq	_data_stb@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	movl	4(%r14), %esi
	callq	_outb
	movl	4(%r14), %esi
	movl	8(%r14), %edi
	xorl	(%r12), %edi
	movl	%edi, 8(%r14)
	addl	$2, %esi
	callq	_outb
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_18
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_CMD_PREFIX_SET@GOTPCREL(%rip), %rax
	movq	_PREFIX_FASTWR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ppc6_send_cmd
	movq	_port_stb@GOTPCREL(%rip), %rax
	movl	4(%r14), %esi
	movl	8(%r14), %edi
	orl	(%rax), %edi
	movl	%edi, 8(%r14)
	addl	$2, %esi
	callq	_outb
	movl	(%r13), %ebx
	movl	4(%r14), %esi
	movl	%ebx, %edi
	callq	_outb
	testq	%r15, %r15
	je	LBB0_26
## %bb.21:
	movl	%ebx, %eax
	xorl	%r12d, %r12d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	4(%r14), %esi
	movl	%ebx, %edi
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	callq	_outb
	movl	%ebx, %eax
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_26
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%r12,4), %ebx
	cmpl	%eax, %ebx
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	4(%r14), %esi
	movl	%eax, %ebx
	movl	8(%r14), %edi
	movq	_data_stb@GOTPCREL(%rip), %rax
	xorl	(%rax), %edi
	movl	%edi, 8(%r14)
	addl	$2, %esi
	jmp	LBB0_25
LBB0_26:
	movq	_port_stb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	8(%r14), %edi
	movl	%edi, 8(%r14)
	movl	4(%r14), %esi
	addl	$2, %esi
	callq	_outb
	movq	_CMD_PREFIX_RESET@GOTPCREL(%rip), %rax
	movq	_PREFIX_FASTWR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ppc6_send_cmd                  ## TAILCALL
LBB0_2:
	cmpq	$4, %r15
	jl	LBB0_3
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	4(%r14), %esi
	addl	$4, %esi
	callq	_outl
	addq	$16, %r13
	leaq	-4(%r15), %r12
	cmpq	$7, %r15
	movq	%r12, %r15
	ja	LBB0_28
## %bb.4:
	testq	%r12, %r12
	jne	LBB0_5
	jmp	LBB0_15
LBB0_12:
	testq	%r15, %r15
	je	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	movl	4(%r14), %esi
	addl	$4, %esi
	callq	_outb
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_14
	jmp	LBB0_15
LBB0_7:
	cmpq	$2, %r15
	jl	LBB0_8
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	4(%r14), %esi
	addl	$4, %esi
	callq	_outw
	addq	$8, %r13
	leaq	-2(%r15), %r12
	cmpq	$3, %r15
	movq	%r12, %r15
	ja	LBB0_27
	jmp	LBB0_9
LBB0_3:
	movq	%r15, %r12
	testq	%r12, %r12
	je	LBB0_15
LBB0_5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	movl	4(%r14), %esi
	addl	$4, %esi
	callq	_outb
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_6
	jmp	LBB0_15
LBB0_8:
	movq	%r15, %r12
LBB0_9:
	testq	%r12, %r12
	je	LBB0_15
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	movl	4(%r14), %esi
	addl	$4, %esi
	callq	_outb
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_11
LBB0_15:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ppc6_wait_for_fifo             ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_20
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_data_stb,4,2                   ## @data_stb
	.comm	_CMD_PREFIX_SET,4,2             ## @CMD_PREFIX_SET
	.comm	_PREFIX_FASTWR,4,2              ## @PREFIX_FASTWR
	.comm	_port_stb,4,2                   ## @port_stb
	.comm	_CMD_PREFIX_RESET,4,2           ## @CMD_PREFIX_RESET
	.no_dead_strip	_ppc6_wr_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_wr_data_blk
_ppc6_wr_data_blk:                      ; @ppc6_wr_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, _data_stb@GOTPAGE
Lloh3:
	ldr	x22, [x22, _data_stb@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x21, x21, #1
	ldr	w0, [x20], #4
	ldr	w1, [x19, #4]
	bl	_outb
	ldr	w8, [x22]
	ldp	w10, w9, [x19, #4]
	eor	w0, w9, w8
	str	w0, [x19, #8]
	add	w1, w10, #2
	bl	_outb
	cbnz	x21, 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:
Lloh4:
	adrp	x8, _CMD_PREFIX_SET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CMD_PREFIX_SET@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x24, _PREFIX_FASTWR@GOTPAGE
Lloh8:
	ldr	x24, [x24, _PREFIX_FASTWR@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_ppc6_send_cmd
Lloh9:
	adrp	x25, _port_stb@GOTPAGE
Lloh10:
	ldr	x25, [x25, _port_stb@GOTPAGEOFF]
	ldr	w8, [x25]
	ldp	w10, w9, [x19, #4]
	orr	w0, w9, w8
	str	w0, [x19, #8]
	add	w1, w10, #2
	bl	_outb
	ldr	w22, [x20]
	ldr	w1, [x19, #4]
	mov	x0, x22
	bl	_outb
	cbz	x21, LBB0_11
; %bb.7:
Lloh11:
	adrp	x26, _data_stb@GOTPAGE
Lloh12:
	ldr	x26, [x26, _data_stb@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [x19, #4]
	mov	x0, x23
	bl	_outb
	mov	x22, x23
	cbz	x21, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w23, [x20], #4
	sub	x21, x21, #1
	cmp	w23, w22
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x26]
	ldp	w10, w9, [x19, #4]
	eor	w0, w9, w8
	str	w0, [x19, #8]
	add	w1, w10, #2
	bl	_outb
	cbnz	x21, LBB0_9
LBB0_11:
	ldr	w8, [x25]
	ldp	w10, w9, [x19, #4]
	bic	w0, w9, w8
	str	w0, [x19, #8]
	add	w1, w10, #2
	bl	_outb
Lloh13:
	adrp	x8, _CMD_PREFIX_RESET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CMD_PREFIX_RESET@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w1, w9, w8
	mov	x0, x19
	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	_ppc6_send_cmd
LBB0_12:
	cmp	x21, #4
	b.lt	LBB0_19
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #16
	ldr	w8, [x19, #4]
	add	w1, w8, #4
	bl	_outl
	sub	x22, x21, #4
	cmp	x21, #7
	mov	x21, x22
	b.hi	LBB0_13
; %bb.14:
	cbnz	x22, LBB0_20
	b	LBB0_24
LBB0_15:
	cbz	x21, LBB0_24
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	ldr	w8, [x19, #4]
	add	w1, w8, #4
	bl	_outb
	subs	x21, x21, #1
	b.ne	LBB0_16
	b	LBB0_24
LBB0_17:
	cmp	x21, #2
	b.lt	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #8
	ldr	w8, [x19, #4]
	add	w1, w8, #4
	bl	_outw
	sub	x22, x21, #2
	cmp	x21, #3
	mov	x21, x22
	b.hi	LBB0_18
	b	LBB0_22
LBB0_19:
	mov	x22, x21
	cbz	x22, LBB0_24
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	ldr	w8, [x19, #4]
	add	w1, w8, #4
	bl	_outb
	subs	x22, x22, #1
	b.ne	LBB0_20
	b	LBB0_24
LBB0_21:
	mov	x22, x21
LBB0_22:
	cbz	x22, LBB0_24
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	ldr	w8, [x19, #4]
	add	w1, w8, #4
	bl	_outb
	subs	x22, x22, #1
	b.ne	LBB0_23
LBB0_24:
	mov	x0, x19
	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	_ppc6_wait_for_fifo
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_data_stb,4,2                   ; @data_stb
	.comm	_CMD_PREFIX_SET,4,2             ; @CMD_PREFIX_SET
	.comm	_PREFIX_FASTWR,4,2              ; @PREFIX_FASTWR
	.comm	_port_stb,4,2                   ; @port_stb
	.comm	_CMD_PREFIX_RESET,4,2           ; @CMD_PREFIX_RESET
	.no_dead_strip	_ppc6_wr_data_blk
.subsections_via_symbols
