	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssp_pm_read                    ## -- Begin function ssp_pm_read
	.p2align	4, 0x90
_ssp_pm_read:                           ## @ssp_pm_read
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ssp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	movq	_SSP_PMC_SET@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_rPMC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rax), %rsi
	movslq	%edi, %rdi
	movl	%ecx, (%rsi,%rdi,4)
	movl	(%rdx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_2:
	movq	_SSP_PMC_HAVE_ADDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, (%rax)
	movq	8(%rax), %rcx
	movslq	%edi, %r14
	movl	(%rcx,%r14,4), %eax
	movl	%eax, %edi
	sarl	$16, %edi
	movl	%edi, %edx
	andl	$65520, %edx                    ## imm = 0xFFF0
	cmpl	$2048, %edx                     ## imm = 0x800
	jne	LBB0_4
## %bb.3:
	movq	_Pico@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, %esi
	andl	$1048575, %esi                  ## imm = 0xFFFFF
	movzwl	(%rdx,%rsi,2), %edx
	incl	%eax
	jmp	LBB0_7
LBB0_4:
	movl	%eax, %ecx
	andl	$1207894016, %ecx               ## imm = 0x47FF0000
	cmpl	$1572864, %ecx                  ## imm = 0x180000
	jne	LBB0_5
## %bb.6:
	movq	_svp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	callq	_get_inc
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rcx
	movq	8(%rcx), %rcx
	movl	(%rcx,%r14,4), %esi
	movzwl	%si, %edx
	movzwl	(%r15,%rdx,2), %edx
	addl	%esi, %eax
LBB0_7:
	movl	%eax, (%rcx,%r14,4)
	jmp	LBB0_8
LBB0_5:
	xorl	%edx, %edx
LBB0_8:
	movzwl	%dx, %ecx
	movq	_rPMC@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
LBB0_9:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	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	_rPMC,4,2                       ## @rPMC
	.comm	_SSP_PMC_HAVE_ADDR,4,2          ## @SSP_PMC_HAVE_ADDR
	.comm	_Pico,8,3                       ## @Pico
	.comm	_svp,8,3                        ## @svp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssp_pm_read                    ; -- Begin function ssp_pm_read
	.p2align	2
_ssp_pm_read:                           ; @ssp_pm_read
	.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	x8, x0
Lloh0:
	adrp	x19, _ssp@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ssp@GOTPAGEOFF]
	ldr	x9, [x19]
	ldr	w11, [x9]
Lloh2:
	adrp	x10, _SSP_PMC_SET@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SSP_PMC_SET@GOTPAGEOFF]
	ldr	w12, [x10]
	tst	w12, w11
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
Lloh4:
	adrp	x11, _rPMC@GOTPAGE
Lloh5:
	ldr	x11, [x11, _rPMC@GOTPAGEOFF]
Lloh6:
	ldr	w11, [x11]
	ldr	x12, [x9, #8]
	str	w11, [x12, w8, sxtw #2]
	ldr	w8, [x10]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	b	LBB0_8
LBB0_2:
Lloh7:
	adrp	x10, _SSP_PMC_HAVE_ADDR@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SSP_PMC_HAVE_ADDR@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	bic	w10, w11, w10
	str	w10, [x9]
	ldr	x9, [x9, #8]
	sxtw	x20, w8
	ldr	w8, [x9, w8, sxtw #2]
	asr	w0, w8, #16
	and	w10, w0, #0xfff0
	cmp	w10, #2048
	b.ne	LBB0_4
; %bb.3:
Lloh10:
	adrp	x10, _Pico@GOTPAGE
Lloh11:
	ldr	x10, [x10, _Pico@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	and	x11, x8, #0xfffff
	ldrh	w0, [x10, x11, lsl #1]
	add	w8, w8, #1
	str	w8, [x9, x20, lsl #2]
	b	LBB0_7
LBB0_4:
	mov	w9, #1207894016
	and	w9, w8, w9
	cmp	w9, #384, lsl #12               ; =1572864
	b.ne	LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _svp@GOTPAGE
Lloh14:
	ldr	x8, [x8, _svp@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x21, [x8]
	bl	_get_inc
	mov	x8, x0
	ldr	x9, [x19]
	ldr	x9, [x9, #8]
	lsl	x10, x20, #2
	ldr	w11, [x9, x10]
	and	x12, x11, #0xffff
	ldrh	w0, [x21, x12, lsl #1]
	add	w8, w11, w8
	str	w8, [x9, x10]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
Lloh16:
	adrp	x9, _rPMC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _rPMC@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
LBB0_8:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ssp,8,3                        ; @ssp
	.comm	_SSP_PMC_SET,4,2                ; @SSP_PMC_SET
	.comm	_rPMC,4,2                       ; @rPMC
	.comm	_SSP_PMC_HAVE_ADDR,4,2          ; @SSP_PMC_HAVE_ADDR
	.comm	_Pico,8,3                       ; @Pico
	.comm	_svp,8,3                        ; @svp
.subsections_via_symbols
