	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function pmcmsptwi_cfg_to_reg
LCPI0_0:
	.long	4096                            ## 0x1000
	.long	256                             ## 0x100
	.long	128                             ## 0x80
	.long	16                              ## 0x10
LCPI0_1:
	.long	61440                           ## 0xf000
	.long	3840                            ## 0xf00
	.long	128                             ## 0x80
	.long	112                             ## 0x70
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pmcmsptwi_cfg_to_reg:                  ## @pmcmsptwi_cfg_to_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movdqu	(%rdi), %xmm0
	pmulld	LCPI0_0(%rip), %xmm0
	pand	LCPI0_1(%rip), %xmm0
	movl	16(%rdi), %eax
	addl	%eax, %eax
	andl	$2, %eax
	movl	20(%rdi), %ecx
	andl	$1, %ecx
	orl	%eax, %ecx
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %eax
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pmcmsptwi_cfg_to_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function pmcmsptwi_cfg_to_reg
lCPI0_0:
	.long	12                              ; 0xc
	.long	8                               ; 0x8
	.long	7                               ; 0x7
	.long	4                               ; 0x4
lCPI0_1:
	.long	61440                           ; 0xf000
	.long	3840                            ; 0xf00
	.long	128                             ; 0x80
	.long	112                             ; 0x70
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pmcmsptwi_cfg_to_reg:                  ; @pmcmsptwi_cfg_to_reg
	.cfi_startproc
; %bb.0:
	ldr	q0, [x0]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	ushl.4s	v0, v0, v1
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	and.16b	v0, v0, v1
	ldp	w8, w9, [x0, #16]
	ubfiz	w8, w8, #1, #1
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w10, v0[1]
	and	w9, w9, #0x1
	fmov	w11, s0
	orr	w10, w11, w10
	orr	w8, w10, w8
	orr	w0, w8, w9
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pmcmsptwi_cfg_to_reg
.subsections_via_symbols
