	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tr_PMC_to_r0
_tr_PMC_to_r0:                          ## @tr_PMC_to_r0
	.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	_known_regb@GOTPCREL(%rip), %rax
	movq	_KRREG_PMC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_known_regs@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_SSP_PMC_HAVE_ADDR@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.2:
	movq	_SSP_PMC_SET@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_7
LBB0_4:
	movl	%edi, %ebx
	movl	$1, %edi
	movl	$7, %esi
	movl	$1156, %edx                     ## imm = 0x484
	callq	_EOP_LDR_IMM
	xorl	%eax, %eax
	callq	_tr_flush_dirty_ST
	cmpl	$14, %ebx
	je	LBB0_6
## %bb.5:
	movq	_SSP_PMC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	1024(,%rax,4), %edx
	xorl	%edi, %edi
	movl	$7, %esi
	callq	_EOP_LDR_IMM
LBB0_6:
	movq	_SSP_PMC_HAVE_ADDR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_EOP_TST_IMM
	movq	_A_COND_EQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_A_OP_ORR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%r15), %eax
	movl	%eax, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_EOP_C_DOP_IMM
	movq	_A_COND_NE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_A_OP_BIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %eax
	movl	%eax, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_EOP_C_DOP_IMM
	movl	(%rbx), %edi
	movl	(%r14), %esi
	movq	_SSP_PMC_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_EOP_C_DOP_IMM
	movl	$1, %edi
	movl	$7, %esi
	movl	$1156, %edx                     ## imm = 0x484
	callq	_EOP_STR_IMM
	movq	_hostreg_r@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$-1, (%rax)
	jmp	LBB0_7
LBB0_3:
	movl	4(%rbx), %esi
	xorl	%edi, %edi
	callq	_tr_mov16
	movl	(%r14), %eax
	orl	%eax, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_known_regb,4,2                 ## @known_regb
	.comm	_KRREG_PMC,4,2                  ## @KRREG_PMC
	.comm	_known_regs,8,2                 ## @known_regs
	.comm	_SSP_PMC_HAVE_ADDR,4,2          ## @SSP_PMC_HAVE_ADDR
	.comm	_SSP_PMC_SET,4,2                ## @SSP_PMC_SET
	.comm	_SSP_PMC,4,2                    ## @SSP_PMC
	.comm	_A_COND_EQ,4,2                  ## @A_COND_EQ
	.comm	_A_OP_ORR,4,2                   ## @A_OP_ORR
	.comm	_A_COND_NE,4,2                  ## @A_COND_NE
	.comm	_A_OP_BIC,4,2                   ## @A_OP_BIC
	.comm	_hostreg_r,8,3                  ## @hostreg_r
	.no_dead_strip	_tr_PMC_to_r0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tr_PMC_to_r0
_tr_PMC_to_r0:                          ; @tr_PMC_to_r0
	.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
Lloh0:
	adrp	x8, _known_regb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _known_regb@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _KRREG_PMC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KRREG_PMC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x19, _known_regs@GOTPAGE
Lloh7:
	ldr	x19, [x19, _known_regs@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh8:
	adrp	x20, _SSP_PMC_HAVE_ADDR@GOTPAGE
Lloh9:
	ldr	x20, [x20, _SSP_PMC_HAVE_ADDR@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
Lloh10:
	adrp	x10, _SSP_PMC_SET@GOTPAGE
Lloh11:
	ldr	x10, [x10, _SSP_PMC_SET@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w8, w10, w8
	bic	w8, w8, w9
	b	LBB0_7
LBB0_3:
	mov	x19, x0
	mov	w0, #1
	mov	w1, #7
	mov	w2, #1156
	bl	_EOP_LDR_IMM
	bl	_tr_flush_dirty_ST
	cmp	w19, #14
	b.eq	LBB0_5
; %bb.4:
Lloh13:
	adrp	x8, _SSP_PMC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSP_PMC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	add	w2, w8, #1024
	mov	w0, #0
	mov	w1, #7
	bl	_EOP_LDR_IMM
LBB0_5:
Lloh16:
	adrp	x19, _SSP_PMC_HAVE_ADDR@GOTPAGE
Lloh17:
	ldr	x19, [x19, _SSP_PMC_HAVE_ADDR@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w0, #1
	mov	w1, #0
	bl	_EOP_TST_IMM
Lloh18:
	adrp	x8, _A_COND_EQ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _A_COND_EQ@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x20, _A_OP_ORR@GOTPAGE
Lloh22:
	ldr	x20, [x20, _A_OP_ORR@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w6, [x19]
	mov	w2, #0
	mov	w3, #1
	mov	w4, #1
	mov	w5, #0
	bl	_EOP_C_DOP_IMM
Lloh23:
	adrp	x21, _A_COND_NE@GOTPAGE
Lloh24:
	ldr	x21, [x21, _A_COND_NE@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh25:
	adrp	x8, _A_OP_BIC@GOTPAGE
Lloh26:
	ldr	x8, [x8, _A_OP_BIC@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w6, [x19]
	mov	w2, #0
	mov	w3, #1
	mov	w4, #1
	mov	w5, #0
	bl	_EOP_C_DOP_IMM
	ldr	w0, [x21]
	ldr	w1, [x20]
Lloh28:
	adrp	x8, _SSP_PMC_SET@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SSP_PMC_SET@GOTPAGEOFF]
Lloh30:
	ldr	w6, [x8]
	mov	w2, #0
	mov	w3, #1
	mov	w4, #1
	mov	w5, #0
	bl	_EOP_C_DOP_IMM
	mov	w0, #1
	mov	w1, #7
	mov	w2, #1156
	bl	_EOP_STR_IMM
Lloh31:
	adrp	x8, _hostreg_r@GOTPAGE
Lloh32:
	ldr	x8, [x8, _hostreg_r@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x8]
	b	LBB0_8
LBB0_6:
	ldr	w1, [x19, #4]
	mov	w0, #0
	bl	_tr_mov16
	ldr	w8, [x20]
	ldr	w9, [x19]
	orr	w8, w9, w8
LBB0_7:
	str	w8, [x19]
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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_known_regb,4,2                 ; @known_regb
	.comm	_KRREG_PMC,4,2                  ; @KRREG_PMC
	.comm	_known_regs,8,2                 ; @known_regs
	.comm	_SSP_PMC_HAVE_ADDR,4,2          ; @SSP_PMC_HAVE_ADDR
	.comm	_SSP_PMC_SET,4,2                ; @SSP_PMC_SET
	.comm	_SSP_PMC,4,2                    ; @SSP_PMC
	.comm	_A_COND_EQ,4,2                  ; @A_COND_EQ
	.comm	_A_OP_ORR,4,2                   ; @A_OP_ORR
	.comm	_A_COND_NE,4,2                  ; @A_COND_NE
	.comm	_A_OP_BIC,4,2                   ; @A_OP_BIC
	.comm	_hostreg_r,8,3                  ; @hostreg_r
	.no_dead_strip	_tr_PMC_to_r0
.subsections_via_symbols
