	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mc417_memory_write             ## -- Begin function mc417_memory_write
	.p2align	4, 0x90
_mc417_memory_write:                    ## @mc417_memory_write
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_MC417_OEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MC417_MIRDY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r14
	callq	_cx_write
	movq	_MC417_MIRD@GOTPCREL(%rip), %rcx
	movq	_MCI_MEMORY_DATA_BYTE0@GOTPCREL(%rip), %rax
	movzbl	%r13b, %ebx
	orl	(%rcx), %ebx
	orl	(%r14), %ebx
	orl	(%rax), %ebx
	movq	_MC417_RWD@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movq	_MC417_MICS@GOTPCREL(%rip), %r14
	orl	(%r14), %ebx
	movq	_MC417_MIWR@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movl	%r13d, %eax
	movzbl	%ah, %ebx
	movq	_MC417_MIRD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MC417_MIRDY@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MCI_MEMORY_DATA_BYTE1@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	orl	(%r14), %ebx
	orl	(%r15), %ebx
	movq	%r15, %r14
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movl	%r13d, %eax
	shrl	$16, %eax
	movzbl	%al, %ebx
	movq	_MC417_MIRD@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	movq	_MC417_MIRDY@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MCI_MEMORY_DATA_BYTE2@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movq	_MC417_MICS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r14), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movl	%r13d, %ebx
	shrl	$24, %ebx
	orl	(%r15), %ebx
	movq	_MC417_MIRDY@GOTPCREL(%rip), %r13
	orl	(%r13), %ebx
	movq	_MCI_MEMORY_DATA_BYTE3@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movq	_MC417_MICS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r14), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movq	_MCI_MEMORY_ADDRESS_BYTE2@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	shrl	$16, %ebx
	andl	$63, %ebx
	orl	(%r15), %ebx
	orl	(%r13), %ebx
	orl	(%rax), %ebx
	movq	_MCI_MODE_MEMORY_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movq	_MC417_MICS@GOTPCREL(%rip), %r14
	orl	(%r14), %ebx
	movq	_MC417_MIWR@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movzbl	%ah, %ebx
	movq	_MC417_MIRD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r13), %ebx
	movq	_MCI_MEMORY_ADDRESS_BYTE1@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	orl	(%r14), %ebx
	orl	(%r15), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movzbl	-44(%rbp), %ebx                 ## 1-byte Folded Reload
	movq	_MC417_MIRD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r13), %ebx
	movq	_MCI_MEMORY_ADDRESS_BYTE0@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	orl	(%r14), %ebx
	orl	(%r15), %ebx
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mc417_wait_ready               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MC417_OEN,4,2                  ## @MC417_OEN
	.comm	_MC417_MIRDY,4,2                ## @MC417_MIRDY
	.comm	_MC417_MIRD,4,2                 ## @MC417_MIRD
	.comm	_MCI_MEMORY_DATA_BYTE0,4,2      ## @MCI_MEMORY_DATA_BYTE0
	.comm	_MC417_RWD,4,2                  ## @MC417_RWD
	.comm	_MC417_MICS,4,2                 ## @MC417_MICS
	.comm	_MC417_MIWR,4,2                 ## @MC417_MIWR
	.comm	_MCI_MEMORY_DATA_BYTE1,4,2      ## @MCI_MEMORY_DATA_BYTE1
	.comm	_MCI_MEMORY_DATA_BYTE2,4,2      ## @MCI_MEMORY_DATA_BYTE2
	.comm	_MCI_MEMORY_DATA_BYTE3,4,2      ## @MCI_MEMORY_DATA_BYTE3
	.comm	_MCI_MEMORY_ADDRESS_BYTE2,4,2   ## @MCI_MEMORY_ADDRESS_BYTE2
	.comm	_MCI_MODE_MEMORY_WRITE,4,2      ## @MCI_MODE_MEMORY_WRITE
	.comm	_MCI_MEMORY_ADDRESS_BYTE1,4,2   ## @MCI_MEMORY_ADDRESS_BYTE1
	.comm	_MCI_MEMORY_ADDRESS_BYTE0,4,2   ## @MCI_MEMORY_ADDRESS_BYTE0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mc417_memory_write             ; -- Begin function mc417_memory_write
	.p2align	2
_mc417_memory_write:                    ; @mc417_memory_write
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MC417_OEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC417_OEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x24, _MC417_MIRDY@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MC417_MIRDY@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_cx_write
Lloh5:
	adrp	x25, _MC417_MIRD@GOTPAGE
Lloh6:
	ldr	x25, [x25, _MC417_MIRD@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x24]
Lloh7:
	adrp	x10, _MCI_MEMORY_DATA_BYTE0@GOTPAGE
Lloh8:
	ldr	x10, [x10, _MCI_MEMORY_DATA_BYTE0@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	and	w11, w21, #0xff
	orr	w8, w8, w11
	orr	w8, w8, w9
	orr	w22, w8, w10
Lloh10:
	adrp	x23, _MC417_RWD@GOTPAGE
Lloh11:
	ldr	x23, [x23, _MC417_RWD@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x22
	bl	_cx_write
Lloh12:
	adrp	x26, _MC417_MICS@GOTPAGE
Lloh13:
	ldr	x26, [x26, _MC417_MICS@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh14:
	adrp	x27, _MC417_MIWR@GOTPAGE
Lloh15:
	ldr	x27, [x27, _MC417_MIWR@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w8, w8, w22
	orr	w1, w8, w9
	ldr	w0, [x23]
	bl	_cx_write
	ldr	w8, [x25]
	ldr	w9, [x24]
Lloh16:
	adrp	x10, _MCI_MEMORY_DATA_BYTE1@GOTPAGE
Lloh17:
	ldr	x10, [x10, _MCI_MEMORY_DATA_BYTE1@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	ubfx	w11, w21, #8, #8
	orr	w8, w8, w11
	orr	w8, w8, w9
	orr	w22, w8, w10
	ldr	w0, [x23]
	mov	x1, x22
	bl	_cx_write
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w8, w22
	orr	w1, w8, w9
	ldr	w0, [x23]
	bl	_cx_write
	ldr	w8, [x25]
	ldr	w9, [x24]
Lloh19:
	adrp	x10, _MCI_MEMORY_DATA_BYTE2@GOTPAGE
Lloh20:
	ldr	x10, [x10, _MCI_MEMORY_DATA_BYTE2@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	ubfx	w11, w21, #16, #8
	orr	w8, w8, w11
	orr	w8, w8, w9
	orr	w22, w8, w10
	ldr	w0, [x23]
	mov	x1, x22
	bl	_cx_write
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w8, w22
	orr	w1, w8, w9
	ldr	w0, [x23]
	bl	_cx_write
	ldr	w8, [x25]
Lloh22:
	adrp	x9, _MCI_MEMORY_DATA_BYTE3@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MCI_MEMORY_DATA_BYTE3@GOTPAGEOFF]
	ldr	w10, [x24]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w8, w21, lsr #24
	orr	w8, w8, w10
	orr	w21, w8, w9
	ldr	w0, [x23]
	mov	x1, x21
	bl	_cx_write
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w8, w21
	orr	w1, w8, w9
	ldr	w0, [x23]
	bl	_cx_write
	ldr	w8, [x25]
	ldr	w9, [x24]
Lloh25:
	adrp	x10, _MCI_MEMORY_ADDRESS_BYTE2@GOTPAGE
Lloh26:
	ldr	x10, [x10, _MCI_MEMORY_ADDRESS_BYTE2@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
Lloh28:
	adrp	x11, _MCI_MODE_MEMORY_WRITE@GOTPAGE
Lloh29:
	ldr	x11, [x11, _MCI_MODE_MEMORY_WRITE@GOTPAGEOFF]
Lloh30:
	ldr	w11, [x11]
	ubfx	w12, w20, #16, #6
	orr	w8, w8, w12
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w21, w8, w11
	ldr	w0, [x23]
	mov	x1, x21
	bl	_cx_write
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w8, w21
	orr	w1, w8, w9
	ldr	w0, [x23]
	bl	_cx_write
	ldr	w8, [x25]
	ldr	w9, [x24]
Lloh31:
	adrp	x10, _MCI_MEMORY_ADDRESS_BYTE1@GOTPAGE
Lloh32:
	ldr	x10, [x10, _MCI_MEMORY_ADDRESS_BYTE1@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	ubfx	w11, w20, #8, #8
	orr	w8, w8, w11
	orr	w8, w8, w9
	orr	w21, w8, w10
	ldr	w0, [x23]
	mov	x1, x21
	bl	_cx_write
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w8, w21
	orr	w1, w8, w9
	ldr	w0, [x23]
	bl	_cx_write
	ldr	w8, [x25]
	ldr	w9, [x24]
Lloh34:
	adrp	x10, _MCI_MEMORY_ADDRESS_BYTE0@GOTPAGE
Lloh35:
	ldr	x10, [x10, _MCI_MEMORY_ADDRESS_BYTE0@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	and	w11, w20, #0xff
	orr	w8, w8, w11
	orr	w8, w8, w9
	orr	w20, w8, w10
	ldr	w0, [x23]
	mov	x1, x20
	bl	_cx_write
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w8, w20
	orr	w1, w8, w9
	ldr	w0, [x23]
	bl	_cx_write
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mc417_wait_ready
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MC417_OEN,4,2                  ; @MC417_OEN
	.comm	_MC417_MIRDY,4,2                ; @MC417_MIRDY
	.comm	_MC417_MIRD,4,2                 ; @MC417_MIRD
	.comm	_MCI_MEMORY_DATA_BYTE0,4,2      ; @MCI_MEMORY_DATA_BYTE0
	.comm	_MC417_RWD,4,2                  ; @MC417_RWD
	.comm	_MC417_MICS,4,2                 ; @MC417_MICS
	.comm	_MC417_MIWR,4,2                 ; @MC417_MIWR
	.comm	_MCI_MEMORY_DATA_BYTE1,4,2      ; @MCI_MEMORY_DATA_BYTE1
	.comm	_MCI_MEMORY_DATA_BYTE2,4,2      ; @MCI_MEMORY_DATA_BYTE2
	.comm	_MCI_MEMORY_DATA_BYTE3,4,2      ; @MCI_MEMORY_DATA_BYTE3
	.comm	_MCI_MEMORY_ADDRESS_BYTE2,4,2   ; @MCI_MEMORY_ADDRESS_BYTE2
	.comm	_MCI_MODE_MEMORY_WRITE,4,2      ; @MCI_MODE_MEMORY_WRITE
	.comm	_MCI_MEMORY_ADDRESS_BYTE1,4,2   ; @MCI_MEMORY_ADDRESS_BYTE1
	.comm	_MCI_MEMORY_ADDRESS_BYTE0,4,2   ; @MCI_MEMORY_ADDRESS_BYTE0
.subsections_via_symbols
