	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mfc3_restore_state
_mfc3_restore_state:                    ## @mfc3_restore_state
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	12(%rsi), %r15d
	callq	_pia
	movl	%r15d, 16(%rax)
	movq	_PIA_DDR@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	notl	%ebx
	movq	%r12, %rdi
	callq	_pia
	andl	%ebx, 12(%rax)
	movl	8(%r14), %ebx
	movq	%r12, %rdi
	callq	_pia
	movl	%ebx, 4(%rax)
	movl	(%r15), %ebx
	movq	%r12, %rdi
	callq	_pia
	orl	%ebx, 12(%rax)
	movl	4(%r14), %ebx
	movq	%r12, %rdi
	callq	_pia
	movl	%ebx, 8(%rax)
	movl	(%r15), %ebx
	notl	%ebx
	movq	%r12, %rdi
	callq	_pia
	andl	%ebx, (%rax)
	movl	(%r14), %ebx
	movq	%r12, %rdi
	callq	_pia
	movl	%ebx, 4(%rax)
	movl	(%r15), %ebx
	movq	%r12, %rdi
	callq	_pia
	orl	%ebx, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIA_DDR,4,2                    ## @PIA_DDR
	.no_dead_strip	_mfc3_restore_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mfc3_restore_state
_mfc3_restore_state:                    ; @mfc3_restore_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w21, [x1, #12]
	bl	_pia
	str	w21, [x0, #16]
Lloh0:
	adrp	x21, _PIA_DDR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PIA_DDR@GOTPAGEOFF]
	ldr	w22, [x21]
	mov	x0, x19
	bl	_pia
	ldr	w8, [x0, #12]
	bic	w8, w8, w22
	str	w8, [x0, #12]
	ldr	w22, [x20, #8]
	mov	x0, x19
	bl	_pia
	str	w22, [x0, #4]
	ldr	w22, [x21]
	mov	x0, x19
	bl	_pia
	ldr	w8, [x0, #12]
	orr	w8, w8, w22
	str	w8, [x0, #12]
	ldr	w22, [x20, #4]
	mov	x0, x19
	bl	_pia
	str	w22, [x0, #8]
	ldr	w22, [x21]
	mov	x0, x19
	bl	_pia
	ldr	w8, [x0]
	bic	w8, w8, w22
	str	w8, [x0]
	ldr	w20, [x20]
	mov	x0, x19
	bl	_pia
	str	w20, [x0, #4]
	ldr	w20, [x21]
	mov	x0, x19
	bl	_pia
	ldr	w8, [x0]
	orr	w8, w8, w20
	str	w8, [x0]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PIA_DDR,4,2                    ; @PIA_DDR
	.no_dead_strip	_mfc3_restore_state
.subsections_via_symbols
