	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm_io
_pm_io:                                 ## @pm_io
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movl	%edi, %ebx
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movq	_SSP_PMC_SET@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_7
## %bb.1:
	movl	%r13d, %r15d
	movq	_PC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-4(%rax), %eax
	movq	_EL_SVP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	testl	$65295, %eax                    ## imm = 0xFF0F
	je	LBB0_4
## %bb.2:
	andl	$65520, %eax                    ## imm = 0xFFF0
	je	LBB0_4
## %bb.3:
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	xorl	%eax, %eax
	testl	%r15d, %r15d
	setne	%al
	leal	(%rax,%rax,4), %r14d
	addl	$114, %r14d
	movq	_rPMC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_GET_PPC_OFFS
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_elprintf
	movq	_SSP_PMC_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_ssp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	%eax, (%rcx)
	jmp	LBB0_38
LBB0_7:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %r15
	movq	_SSP_PMC_HAVE_ADDR@GOTPCREL(%rip), %r14
	testl	%ecx, (%r14)
	je	LBB0_9
## %bb.8:
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	xorl	%eax, %eax
	testl	%r13d, %r13d
	setne	%al
	leal	(%rax,%rax,4), %r12d
	addl	$114, %r12d
	xorl	%eax, %eax
	callq	_GET_PPC_OFFS
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_elprintf
	movl	(%r14), %ecx
	notl	%ecx
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andl	%ecx, (%rax)
LBB0_9:
	cmpl	$4, %r15d
	movq	%r15, %r14
	je	LBB0_12
## %bb.10:
	movq	_rST@GOTPCREL(%rip), %rcx
	testb	$96, (%rcx)
	je	LBB0_11
LBB0_12:
	movq	_svp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx), %rcx
	testl	%r13d, %r13d
	je	LBB0_31
## %bb.13:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rax), %rax
	movslq	%r14d, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax,%rcx,4), %r12d
	movl	%r12d, %ebx
	sarl	$16, %ebx
	movzwl	%r12w, %edx
	movl	%ebx, %eax
	notl	%eax
	testl	$47104, %eax                    ## imm = 0xB800
	jne	LBB0_15
## %bb.14:
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rdx, %r15
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_elprintf
	movq	%r15, %rdx
LBB0_15:
	movl	%r12d, %eax
	andl	$1140785152, %eax               ## imm = 0x43FF0000
	cmpl	$1572864, %eax                  ## imm = 0x180000
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_20
## %bb.16:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_get_inc
	movl	%eax, %r9d
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	(%r12,%r12), %ecx
	andl	$16777214, %ecx                 ## imm = 0xFFFFFE
	movzwl	%r15w, %ebx
	movl	%r12d, %eax
	shrl	$26, %eax
	andl	$1, %eax
	movl	%eax, (%rsp)
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edx
	movl	%ebx, %r8d
	movl	%r9d, %r14d
	xorl	%eax, %eax
	callq	_elprintf
	testl	$67108864, %r12d                ## imm = 0x4000000
	jne	LBB0_17
## %bb.18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movw	%r15w, (%rax,%rcx,2)
	jmp	LBB0_19
LBB0_4:
	movq	_rPMC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_GET_PPC_OFFS
	leal	6(%rbx), %r14d
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	movl	$0, %r15d
	setne	%cl
	leal	114(%rcx,%rcx,4), %ecx
	leaq	L_.str.1(%rip), %rsi
	cmovel	%ebx, %r14d
	movl	%r13d, %edi
	movl	%ebx, %edx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_elprintf
	movq	_rPMC@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ecx
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	movslq	%r14d, %rsi
	movl	%ecx, (%rdx,%rsi,4)
	movq	_SSP_PMC_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	movl	(%rdi), %ecx
	movl	%ecx, %edx
	andl	$8388607, %edx                  ## imm = 0x7FFFFF
	cmpl	$1868352, %edx                  ## imm = 0x1C8240
	je	LBB0_6
## %bb.5:
	cmpl	$1867776, %edx                  ## imm = 0x1C8000
	jne	LBB0_38
LBB0_6:
	movq	_EL_SVP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movq	16(%rax), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax), %edx
	addl	$-2, %edx
	addl	%ecx, %ecx
	movzwl	%cx, %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_elprintf
	jmp	LBB0_38
LBB0_31:
	movq	8(%rax), %rax
	movslq	%r14d, %r15
	movl	(%rax,%r15,4), %r12d
	movl	%r12d, %ebx
	sarl	$16, %ebx
	movl	%ebx, %eax
	andl	$65520, %eax                    ## imm = 0xFFF0
	cmpl	$2048, %eax                     ## imm = 0x800
	jne	LBB0_33
## %bb.32:
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	(%r12,%r12), %edx
	andl	$16777214, %edx                 ## imm = 0xFFFFFE
	movq	_Pico@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	andl	$1048575, %r12d                 ## imm = 0xFFFFF
	movzwl	(%rax,%r12,2), %ecx
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_elprintf
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	incl	(%rax,%r15,4)
	movq	(%rbx), %rax
	movzwl	(%rax,%r12,2), %r15d
	jmp	LBB0_37
LBB0_20:
	movl	%ebx, %eax
	andl	$64511, %eax                    ## imm = 0xFBFF
	cmpl	$16408, %eax                    ## imm = 0x4018
	jne	LBB0_25
## %bb.21:
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	leal	(%r12,%r12), %eax
	andl	$16777214, %eax                 ## imm = 0xFFFFFE
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movzwl	%r15w, %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%r12d, %ebx
	shrl	$26, %ebx
	andl	$1, %ebx
	xorl	%eax, %eax
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	callq	_GET_PPC_OFFS
	movl	%eax, (%rsp)
	leaq	L_.str.6(%rip), %rsi
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movl	-80(%rbp), %r8d                 ## 4-byte Reload
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_elprintf
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	testl	$67108864, %r12d                ## imm = 0x4000000
	jne	LBB0_22
## %bb.23:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movw	%r15w, (%rcx,%rax,2)
	jmp	LBB0_24
LBB0_11:
	movw	$-1, %r15w
	jmp	LBB0_38
LBB0_33:
	movl	%r12d, %eax
	andl	$1207894016, %eax               ## imm = 0x47FF0000
	cmpl	$1572864, %eax                  ## imm = 0x180000
	jne	LBB0_35
## %bb.34:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, %r13
	movzwl	%r12w, %r14d
	movl	%ebx, %edi
	movq	%rcx, %rbx
	callq	_get_inc
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%r12d, %r12d
	andl	$16777214, %r12d                ## imm = 0xFFFFFE
	movzwl	(%rbx,%r14,2), %r8d
	leaq	L_.str.11(%rip), %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_elprintf
	movzwl	(%rbx,%r14,2), %ecx
	movq	%r13, %r14
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	addl	%edx, (%rax,%r15,4)
	movl	%ecx, %r15d
	jmp	LBB0_37
LBB0_17:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movzwl	(%rax,%rcx,2), %edi
	movl	%ebx, %esi
	callq	_overwrite_write
LBB0_19:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rax), %rax
	addl	%r14d, (%rax,%rcx,4)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_37
LBB0_25:
	movl	%r12d, %eax
	andl	$1207894016, %eax               ## imm = 0x47FF0000
	cmpl	$1835008, %eax                  ## imm = 0x1C0000
	jne	LBB0_30
## %bb.26:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_get_inc
	movl	%eax, %r8d
	movl	%r12d, %eax
	andl	$64512, %eax                    ## imm = 0xFC00
	cmpl	$32768, %eax                    ## imm = 0x8000
	jne	LBB0_28
## %bb.27:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	addl	%ebx, %ebx
	jmp	LBB0_29
LBB0_35:
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	addl	%r12d, %r12d
	andl	$16777214, %r12d                ## imm = 0xFFFFFE
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_GET_PPC_OFFS
	leaq	L_.str.12(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	jmp	LBB0_36
LBB0_22:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movzwl	(%rcx,%rax,2), %edi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	callq	_overwrite_write
LBB0_24:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testb	$1, %r12b
	movl	$1, %eax
	movl	$31, %ecx
	cmovel	%eax, %ecx
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rax), %rax
	addl	%ecx, (%rax,%rdx,4)
	jmp	LBB0_37
LBB0_30:
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	addl	%r12d, %r12d
	andl	$16777214, %r12d                ## imm = 0xFFFFFE
	movzwl	%r15w, %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_GET_PPC_OFFS
	movl	%eax, (%rsp)
	leaq	L_.str.9(%rip), %rsi
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
LBB0_36:
	xorl	%eax, %eax
	callq	_elprintf
	jmp	LBB0_37
LBB0_28:
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	addl	%ebx, %ebx
	leaq	L_.str.7(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	callq	_elprintf
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
LBB0_29:
	movq	_EL_SVP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	$2046, %ebx                     ## imm = 0x7FE
	movzwl	%r15w, %ecx
	leaq	L_.str.8(%rip), %rsi
	movl	%ebx, %edx
	movl	%r8d, %ebx
	xorl	%eax, %eax
	callq	_elprintf
	movq	_svp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	andl	$1023, %r12d                    ## imm = 0x3FF
	movw	%r15w, (%rax,%r12,2)
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, (%rax,%rcx,4)
LBB0_37:
	leal	6(%r14), %eax
	testl	%r13d, %r13d
	movq	_ssp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx), %rcx
	cmovel	%r14d, %eax
	cltq
	movl	(%rcx,%rax,4), %eax
	movq	_rPMC@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_38:
	movzwl	%r15w, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ssp,8,3                        ## @ssp
	.comm	_SSP_PMC_SET,4,2                ## @SSP_PMC_SET
	.comm	_PC,8,3                         ## @PC
	.comm	_EL_SVP,4,2                     ## @EL_SVP
	.comm	_EL_ANOMALY,4,2                 ## @EL_ANOMALY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ssp FIXME: tried to set PM%i (%c) with non-blind i/o %08x @ %04x"

	.comm	_rPMC,4,2                       ## @rPMC
L_.str.1:                               ## @.str.1
	.asciz	"PM%i (%c) set to %08x @ %04x"

L_.str.2:                               ## @.str.2
	.asciz	"ssp IRAM copy from %06x to %04x"

	.comm	_SSP_PMC_HAVE_ADDR,4,2          ## @SSP_PMC_HAVE_ADDR
L_.str.3:                               ## @.str.3
	.asciz	"ssp FIXME: PM%i (%c) with only addr set @ %04x"

	.comm	_rST,4,2                        ## @rST
	.comm	_svp,8,3                        ## @svp
L_.str.4:                               ## @.str.4
	.asciz	"ssp FIXME: mode %04x"

L_.str.5:                               ## @.str.5
	.asciz	"ssp PM%i DRAM w [%06x] %04x (inc %i, ovrw %i)"

L_.str.6:                               ## @.str.6
	.asciz	"ssp PM%i DRAM w [%06x] %04x (cell inc, ovrw %i) @ %04x"

L_.str.7:                               ## @.str.7
	.asciz	"ssp FIXME: invalid IRAM addr: %04x"

L_.str.8:                               ## @.str.8
	.asciz	"ssp IRAM w [%06x] %04x (inc %i)"

L_.str.9:                               ## @.str.9
	.asciz	"ssp FIXME: PM%i unhandled write mode %04x, [%06x] %04x @ %04x"

L_.str.10:                              ## @.str.10
	.asciz	"ssp ROM  r [%06x] %04x"

	.comm	_Pico,8,3                       ## @Pico
L_.str.11:                              ## @.str.11
	.asciz	"ssp PM%i DRAM r [%06x] %04x (inc %i)"

L_.str.12:                              ## @.str.12
	.asciz	"ssp FIXME: PM%i unhandled read  mode %04x, [%06x] @ %04x"

	.comm	_CADDR,4,2                      ## @CADDR
	.comm	_last_iram,4,2                  ## @last_iram
	.no_dead_strip	_pm_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm_io
_pm_io:                                 ; @pm_io
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _ssp@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ssp@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w9, [x8]
Lloh2:
	adrp	x22, _SSP_PMC_SET@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SSP_PMC_SET@GOTPAGEOFF]
	ldr	w10, [x22]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.1:
Lloh4:
	adrp	x8, _PC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PC@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldur	w8, [x8, #-4]
	mov	w9, #65295
	and	w9, w8, w9
	and	w8, w8, #0xfff0
Lloh7:
	adrp	x23, _EL_SVP@GOTPAGE
Lloh8:
	ldr	x23, [x23, _EL_SVP@GOTPAGEOFF]
	ldr	w21, [x23]
	cmp	w9, #0
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_15
; %bb.2:
Lloh9:
	adrp	x25, _rPMC@GOTPAGE
Lloh10:
	ldr	x25, [x25, _rPMC@GOTPAGEOFF]
	ldr	w26, [x25]
	bl	_GET_PPC_OFFS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #8]
	mov	w8, #119
	mov	w9, #114
	add	w10, w19, #6
	cmp	w20, #0
	csel	w20, w19, w10, eq
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_elprintf
	ldr	w9, [x25]
	ldr	x8, [x24]
	ldr	x10, [x8, #8]
	str	w9, [x10, w20, sxtw #2]
	ldr	w9, [x22]
	ldr	w10, [x8]
	bic	w9, w10, w9
	str	w9, [x8]
	ldr	w9, [x25]
	and	w10, w9, #0x7fffff
	sub	w11, w10, #456, lsl #12         ; =1867776
	cmp	w11, #576
	b.eq	LBB0_4
; %bb.3:
	cmp	w10, #456, lsl #12              ; =1867776
	b.ne	LBB0_18
LBB0_4:
	ldr	w0, [x23]
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
	lsl	w8, w8, #1
	sub	w2, w8, #2
	ubfiz	w8, w9, #1, #15
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elprintf
	mov	w21, #0
	b	LBB0_39
LBB0_5:
	mov	x21, x2
Lloh15:
	adrp	x23, _SSP_PMC_HAVE_ADDR@GOTPAGE
Lloh16:
	ldr	x23, [x23, _SSP_PMC_HAVE_ADDR@GOTPAGEOFF]
	ldr	w10, [x23]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.6:
Lloh17:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _EL_ANOMALY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EL_ANOMALY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w22, w9, w8
	bl	_GET_PPC_OFFS
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w20, #0
	mov	w8, #119
	mov	w9, #114
	csel	x8, x9, x8, eq
	stp	x8, x0, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_elprintf
	ldr	w9, [x23]
	ldr	x8, [x24]
	ldr	w10, [x8]
	bic	w9, w10, w9
	str	w9, [x8]
LBB0_7:
	cmp	w19, #4
	b.eq	LBB0_9
; %bb.8:
Lloh25:
	adrp	x9, _rST@GOTPAGE
Lloh26:
	ldr	x9, [x9, _rST@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, #0x60
	b.eq	LBB0_22
LBB0_9:
Lloh27:
	adrp	x27, _svp@GOTPAGE
Lloh28:
	ldr	x27, [x27, _svp@GOTPAGEOFF]
	ldr	x9, [x27]
	ldr	x23, [x9, #8]
	cbz	w20, LBB0_16
; %bb.10:
	ldr	x8, [x8, #24]
	ldr	w25, [x8, w19, sxtw #2]
	asr	w22, w25, #16
	mov	w8, #47104
	bics	wzr, w8, w22
	b.ne	LBB0_12
; %bb.11:
Lloh29:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _EL_ANOMALY@GOTPAGE
Lloh33:
	ldr	x9, [x9, _EL_ANOMALY@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x22
	bl	_elprintf
LBB0_12:
	and	x28, x25, #0xffff
	sxtw	x26, w19
	mov	w8, #1140785152
	and	w8, w25, w8
	cmp	w8, #384, lsl #12               ; =1572864
	b.ne	LBB0_19
; %bb.13:
	mov	x0, x22
	bl	_get_inc
	mov	x22, x0
Lloh37:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ubfiz	w8, w25, #1, #23
	ubfx	w9, w25, #26, #1
	stp	x22, x9, [sp, #16]
	mov	w9, w21
	stp	x8, x9, [sp]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	bl	_elprintf
	tbnz	w25, #26, LBB0_25
; %bb.14:
	strh	w21, [x23, x28, lsl #1]
	b	LBB0_35
LBB0_15:
Lloh42:
	adrp	x8, _EL_ANOMALY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EL_ANOMALY@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	orr	w21, w8, w21
Lloh45:
	adrp	x8, _rPMC@GOTPAGE
Lloh46:
	ldr	x8, [x8, _rPMC@GOTPAGEOFF]
Lloh47:
	ldr	w23, [x8]
	bl	_GET_PPC_OFFS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp, #8]
	cmp	w20, #0
	mov	w8, #119
	mov	w9, #114
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh48:
	adrp	x1, l_.str@PAGE
Lloh49:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_elprintf
	mov	w21, #0
	ldr	w8, [x22]
	ldr	x9, [x24]
	ldr	w10, [x9]
	bic	w8, w10, w8
	b	LBB0_38
LBB0_16:
	ldr	x8, [x8, #8]
	mov	x9, x19
	sxtw	x25, w9
	ldr	w26, [x8, w19, sxtw #2]
	asr	w21, w26, #16
	and	w8, w21, #0xfff0
	cmp	w8, #2048
	b.ne	LBB0_23
; %bb.17:
Lloh50:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x21, _Pico@GOTPAGE
Lloh54:
	ldr	x21, [x21, _Pico@GOTPAGEOFF]
	ubfiz	w2, w26, #1, #23
	ldr	x8, [x21]
	and	x9, x26, #0xfffff
	lsl	x22, x9, #1
	ldrh	w8, [x8, x22]
	str	x8, [sp]
Lloh55:
	adrp	x1, l_.str.10@PAGE
Lloh56:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_elprintf
	ldr	x8, [x24]
	ldr	x8, [x8, #8]
	lsl	x9, x25, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ldr	x8, [x21]
	ldrh	w21, [x8, x22]
	b	LBB0_37
LBB0_18:
	mov	w21, #0
	b	LBB0_39
LBB0_19:
	mov	w8, #64511
	and	w8, w22, w8
	mov	w9, #16408
	cmp	w8, w9
	b.ne	LBB0_26
; %bb.20:
	str	x26, [sp, #40]                  ; 8-byte Folded Spill
Lloh57:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh58:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh59:
	ldr	w22, [x8]
	ubfiz	w27, w25, #1, #23
	ubfx	w26, w25, #26, #1
	bl	_GET_PPC_OFFS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #16]
	mov	w8, w21
	stp	x27, x8, [sp]
Lloh60:
	adrp	x1, l_.str.6@PAGE
Lloh61:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_elprintf
	mov	w8, w28
	tbnz	w25, #26, LBB0_30
; %bb.21:
	strh	w21, [x23, x8, lsl #1]
	b	LBB0_31
LBB0_22:
	mov	w21, #65535
	b	LBB0_39
LBB0_23:
	mov	w8, #1207894016
	and	w8, w26, w8
	cmp	w8, #384, lsl #12               ; =1572864
	b.ne	LBB0_29
; %bb.24:
	and	x27, x26, #0xffff
	mov	x0, x21
	bl	_get_inc
	mov	x22, x0
Lloh62:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh63:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	ubfiz	w8, w26, #1, #23
	lsl	x21, x27, #1
	ldrh	w9, [x23, x21]
	stp	x8, x9, [sp]
Lloh65:
	adrp	x1, l_.str.11@PAGE
Lloh66:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x19
	bl	_elprintf
	ldrh	w21, [x23, x21]
	ldr	x8, [x24]
	ldr	x8, [x8, #8]
	lsl	x9, x25, #2
	ldr	w10, [x8, x9]
	add	w10, w10, w22
	b	LBB0_36
LBB0_25:
	ldrh	w0, [x23, x28, lsl #1]
	mov	x1, x21
	bl	_overwrite_write
	b	LBB0_35
LBB0_26:
	mov	w8, #1207894016
	and	w8, w25, w8
	cmp	w8, #448, lsl #12               ; =1835008
	b.ne	LBB0_32
; %bb.27:
	mov	x0, x22
	bl	_get_inc
	mov	x22, x0
	and	w8, w25, #0xfc00
	cmp	w8, #8, lsl #12                 ; =32768
	b.ne	LBB0_33
; %bb.28:
	lsl	w23, w28, #1
	b	LBB0_34
LBB0_29:
Lloh67:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh68:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _EL_ANOMALY@GOTPAGE
Lloh71:
	ldr	x9, [x9, _EL_ANOMALY@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	orr	w22, w9, w8
	ubfiz	w23, w26, #1, #23
	bl	_GET_PPC_OFFS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp, #8]
	str	x21, [sp]
Lloh73:
	adrp	x1, l_.str.12@PAGE
Lloh74:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_elprintf
	mov	w21, #0
	b	LBB0_37
LBB0_30:
	ldrh	w0, [x23, x8, lsl #1]
	mov	x1, x21
	bl	_overwrite_write
LBB0_31:
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	tst	w25, #0x1
	ldr	x8, [x24]
	ldr	x8, [x8, #24]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w11, w10, #31
	csinc	w10, w11, w10, ne
	b	LBB0_36
LBB0_32:
Lloh75:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh76:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _EL_ANOMALY@GOTPAGE
Lloh79:
	ldr	x9, [x9, _EL_ANOMALY@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w23, w9, w8
	ubfiz	w25, w25, #1, #23
	bl	_GET_PPC_OFFS
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, w21
	stp	x8, x0, [sp, #16]
	stp	x22, x25, [sp]
Lloh81:
	adrp	x1, l_.str.9@PAGE
Lloh82:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x23
	mov	x2, x19
	bl	_elprintf
	b	LBB0_37
LBB0_33:
Lloh83:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh84:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
Lloh86:
	adrp	x9, _EL_ANOMALY@GOTPAGE
Lloh87:
	ldr	x9, [x9, _EL_ANOMALY@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	orr	w0, w9, w8
	lsl	w23, w28, #1
Lloh89:
	adrp	x1, l_.str.7@PAGE
Lloh90:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x23
	bl	_elprintf
LBB0_34:
Lloh91:
	adrp	x8, _EL_SVP@GOTPAGE
Lloh92:
	ldr	x8, [x8, _EL_SVP@GOTPAGEOFF]
Lloh93:
	ldr	w0, [x8]
	and	w2, w23, #0x7fe
	mov	w8, w21
	stp	x8, x22, [sp]
Lloh94:
	adrp	x1, l_.str.8@PAGE
Lloh95:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_elprintf
	ldr	x8, [x27]
	ldr	x8, [x8]
	and	x9, x25, #0x3ff
	strh	w21, [x8, x9, lsl #1]
LBB0_35:
	ldr	x8, [x24]
	ldr	x8, [x8, #24]
	lsl	x9, x26, #2
	ldr	w10, [x8, x9]
	add	w10, w10, w22
LBB0_36:
	str	w10, [x8, x9]
LBB0_37:
	ldr	x8, [x24]
	ldr	x8, [x8, #8]
	add	w9, w19, #6
	cmp	w20, #0
	csel	w9, w19, w9, eq
	ldr	w8, [x8, w9, sxtw #2]
Lloh96:
	adrp	x9, _rPMC@GOTPAGE
Lloh97:
	ldr	x9, [x9, _rPMC@GOTPAGEOFF]
LBB0_38:
	str	w8, [x9]
LBB0_39:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_ssp,8,3                        ; @ssp
	.comm	_SSP_PMC_SET,4,2                ; @SSP_PMC_SET
	.comm	_PC,8,3                         ; @PC
	.comm	_EL_SVP,4,2                     ; @EL_SVP
	.comm	_EL_ANOMALY,4,2                 ; @EL_ANOMALY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ssp FIXME: tried to set PM%i (%c) with non-blind i/o %08x @ %04x"

	.comm	_rPMC,4,2                       ; @rPMC
l_.str.1:                               ; @.str.1
	.asciz	"PM%i (%c) set to %08x @ %04x"

l_.str.2:                               ; @.str.2
	.asciz	"ssp IRAM copy from %06x to %04x"

	.comm	_SSP_PMC_HAVE_ADDR,4,2          ; @SSP_PMC_HAVE_ADDR
l_.str.3:                               ; @.str.3
	.asciz	"ssp FIXME: PM%i (%c) with only addr set @ %04x"

	.comm	_rST,4,2                        ; @rST
	.comm	_svp,8,3                        ; @svp
l_.str.4:                               ; @.str.4
	.asciz	"ssp FIXME: mode %04x"

l_.str.5:                               ; @.str.5
	.asciz	"ssp PM%i DRAM w [%06x] %04x (inc %i, ovrw %i)"

l_.str.6:                               ; @.str.6
	.asciz	"ssp PM%i DRAM w [%06x] %04x (cell inc, ovrw %i) @ %04x"

l_.str.7:                               ; @.str.7
	.asciz	"ssp FIXME: invalid IRAM addr: %04x"

l_.str.8:                               ; @.str.8
	.asciz	"ssp IRAM w [%06x] %04x (inc %i)"

l_.str.9:                               ; @.str.9
	.asciz	"ssp FIXME: PM%i unhandled write mode %04x, [%06x] %04x @ %04x"

l_.str.10:                              ; @.str.10
	.asciz	"ssp ROM  r [%06x] %04x"

	.comm	_Pico,8,3                       ; @Pico
l_.str.11:                              ; @.str.11
	.asciz	"ssp PM%i DRAM r [%06x] %04x (inc %i)"

l_.str.12:                              ; @.str.12
	.asciz	"ssp FIXME: PM%i unhandled read  mode %04x, [%06x] @ %04x"

	.comm	_CADDR,4,2                      ; @CADDR
	.comm	_last_iram,4,2                  ; @last_iram
	.no_dead_strip	_pm_io
.subsections_via_symbols
