	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc6_rd_port16_blk
_ppc6_rd_port16_blk:                    ## @ppc6_rd_port16_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
	movq	%rcx, %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_REG_BLKSIZE@GOTPCREL(%rip), %rax
	movq	_ACCESS_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %r12
	addq	%r13, %r12
	movq	_ACCESS_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_ppc6_send_cmd
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ppc6_wr_data_byte
	shrq	$7, %r13
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ppc6_wr_data_byte
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ppc6_wr_data_byte
	movq	_CMD_PREFIX_SET@GOTPCREL(%rip), %rax
	movq	_PREFIX_IO16@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	orl	(%rax), %esi
	movq	_PREFIX_BLK@GOTPCREL(%rip), %r14
	orl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_ppc6_send_cmd
	movq	_ACCESS_PORT@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ACCESS_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ppc6_send_cmd
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_ppc6_rd_data_blk
	movq	_CMD_PREFIX_RESET@GOTPCREL(%rip), %rax
	movl	(%r13), %esi
	orl	(%rax), %esi
	orl	(%r14), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ppc6_send_cmd                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_BLKSIZE,4,2                ## @REG_BLKSIZE
	.comm	_ACCESS_REG,4,2                 ## @ACCESS_REG
	.comm	_ACCESS_WRITE,4,2               ## @ACCESS_WRITE
	.comm	_CMD_PREFIX_SET,4,2             ## @CMD_PREFIX_SET
	.comm	_PREFIX_IO16,4,2                ## @PREFIX_IO16
	.comm	_PREFIX_BLK,4,2                 ## @PREFIX_BLK
	.comm	_ACCESS_PORT,4,2                ## @ACCESS_PORT
	.comm	_ACCESS_READ,4,2                ## @ACCESS_READ
	.comm	_CMD_PREFIX_RESET,4,2           ## @CMD_PREFIX_RESET
	.no_dead_strip	_ppc6_rd_port16_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_port16_blk
_ppc6_rd_port16_blk:                    ; @ppc6_rd_port16_blk
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	lsl	x21, x3, #1
Lloh0:
	adrp	x8, _REG_BLKSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_BLKSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ACCESS_REG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ACCESS_REG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _ACCESS_WRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ACCESS_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_ppc6_send_cmd
	mov	x0, x19
	mov	x1, x21
	bl	_ppc6_wr_data_byte
	lsr	x1, x22, #7
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ppc6_wr_data_byte
	mov	x0, x19
	mov	w1, #0
	bl	_ppc6_wr_data_byte
Lloh9:
	adrp	x8, _CMD_PREFIX_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMD_PREFIX_SET@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x22, _PREFIX_IO16@GOTPAGE
Lloh13:
	ldr	x22, [x22, _PREFIX_IO16@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh14:
	adrp	x24, _PREFIX_BLK@GOTPAGE
Lloh15:
	ldr	x24, [x24, _PREFIX_BLK@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_ppc6_send_cmd
Lloh16:
	adrp	x8, _ACCESS_PORT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ACCESS_PORT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w8, w8, w23
Lloh19:
	adrp	x9, _ACCESS_READ@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ACCESS_READ@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_ppc6_send_cmd
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ppc6_rd_data_blk
Lloh22:
	adrp	x8, _CMD_PREFIX_RESET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CMD_PREFIX_RESET@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w1, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ppc6_send_cmd
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_BLKSIZE,4,2                ; @REG_BLKSIZE
	.comm	_ACCESS_REG,4,2                 ; @ACCESS_REG
	.comm	_ACCESS_WRITE,4,2               ; @ACCESS_WRITE
	.comm	_CMD_PREFIX_SET,4,2             ; @CMD_PREFIX_SET
	.comm	_PREFIX_IO16,4,2                ; @PREFIX_IO16
	.comm	_PREFIX_BLK,4,2                 ; @PREFIX_BLK
	.comm	_ACCESS_PORT,4,2                ; @ACCESS_PORT
	.comm	_ACCESS_READ,4,2                ; @ACCESS_READ
	.comm	_CMD_PREFIX_RESET,4,2           ; @CMD_PREFIX_RESET
	.no_dead_strip	_ppc6_rd_port16_blk
.subsections_via_symbols
