	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SN76489_Reset                  ## -- Begin function SN76489_Reset
	.p2align	4, 0x90
_SN76489_Reset:                         ## @SN76489_Reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SN76489@GOTPCREL(%rip), %r8
	movq	64(%r8), %r11
	movq	(%r8), %rsi
	movq	8(%r8), %rdi
	movq	56(%r8), %rax
	movq	48(%r8), %rdx
	movabsq	$64424509441, %r9               ## imm = 0xF00000001
	movq	%r9, (%rsi)
	movq	$0, (%r11)
	movl	$1, (%rdi)
	movq	(%rax), %r10
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r10)
	movq	(%rdx), %rcx
	movups	%xmm0, (%rcx)
	movq	%r9, 8(%rsi)
	movq	$0, 8(%r11)
	movl	$1, 4(%rdi)
	movq	8(%rax), %rcx
	movups	%xmm0, (%rcx)
	movq	8(%rdx), %rcx
	movups	%xmm0, (%rcx)
	movq	%r9, 16(%rsi)
	movq	$0, 16(%r11)
	movl	$1, 8(%rdi)
	movq	16(%rax), %rcx
	movups	%xmm0, (%rcx)
	movq	16(%rdx), %rcx
	movups	%xmm0, (%rcx)
	movq	%r9, 24(%rsi)
	movq	$0, 24(%r11)
	movl	$1, 12(%rdi)
	movq	24(%rax), %rax
	movups	%xmm0, (%rax)
	movq	24(%rdx), %rax
	movups	%xmm0, (%rax)
	movq	$0, 40(%r8)
	movq	_NoiseInitialState@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r8)
	movl	$16, 16(%r8)
	movq	$0, 24(%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SN76489,72,3                   ## @SN76489
	.comm	_NoiseInitialState,4,2          ## @NoiseInitialState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function SN76489_Reset
lCPI0_0:
	.long	1                               ; 0x1
	.long	15                              ; 0xf
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SN76489_Reset
	.p2align	2
_SN76489_Reset:                         ; @SN76489_Reset
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SN76489@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SN76489@GOTPAGEOFF]
	ldp	x12, x9, [x8, #56]
	ldp	x10, x11, [x8]
	ldr	x13, [x8, #48]
Lloh2:
	adrp	x14, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x14, lCPI0_0@PAGEOFF]
	str	d0, [x10]
	str	xzr, [x9]
	mov	w14, #1
	str	w14, [x11]
	ldr	x15, [x12]
	stp	xzr, xzr, [x15]
	ldr	x15, [x13]
	stp	xzr, xzr, [x15]
	str	d0, [x10, #8]
	str	xzr, [x9, #8]
	str	w14, [x11, #4]
	ldr	x15, [x12, #8]
	stp	xzr, xzr, [x15]
	ldr	x15, [x13, #8]
	stp	xzr, xzr, [x15]
	str	d0, [x10, #16]
	str	xzr, [x9, #16]
	str	w14, [x11, #8]
	ldr	x15, [x12, #16]
	stp	xzr, xzr, [x15]
	ldr	x15, [x13, #16]
	stp	xzr, xzr, [x15]
	str	d0, [x10, #24]
	str	xzr, [x9, #24]
	str	w14, [x11, #12]
	ldr	x9, [x12, #24]
	stp	xzr, xzr, [x9]
	ldr	x9, [x13, #24]
	stp	xzr, xzr, [x9]
Lloh4:
	adrp	x9, _NoiseInitialState@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NoiseInitialState@GOTPAGEOFF]
	str	xzr, [x8, #40]
Lloh6:
	ldr	w9, [x9]
	str	w9, [x8, #32]
	mov	w9, #16
	str	w9, [x8, #16]
	str	xzr, [x8, #24]
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SN76489,72,3                   ; @SN76489
	.comm	_NoiseInitialState,4,2          ; @NoiseInitialState
.subsections_via_symbols
