	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvr2_std_id_to_str             ## -- Begin function pvr2_std_id_to_str
	.p2align	4, 0x90
_pvr2_std_id_to_str:                    ## @pvr2_std_id_to_str
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	_std_groups@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movq	_std_groups@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %r15
	jae	LBB0_14
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r14), %r14
	movq	_std_items@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rax
	shlq	$4, %rax
	leaq	(%r14,%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	addq	%r14, %rax
	addq	$8, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$8, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	%rdi, %r14
	movq	%r12, %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_scnprintf
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	%ebx, %r12d
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	addl	%eax, %ebx
	subl	%eax, %r12d
	movl	%eax, %r14d
	addq	%rcx, %r14
	movq	(%rdx,%r13), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_scnprintf
	addl	%eax, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	subl	%eax, %r12d
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	%eax, %r12d
	addq	%r14, %r12
	movq	_std_items@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$1, %r14d
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%r15
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$16, %r13
	cmpq	%rax, %r15
	jae	LBB0_13
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_std_items@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	andl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	testl	%eax, -8(%rdi,%r13)
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%rdi, %r14
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r12, %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_scnprintf
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	subl	%eax, %ebx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %eax
	addq	%rax, %r12
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movq	%r12, %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_scnprintf
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %rcx
	movl	%ebx, %r12d
	movq	%r14, %rdx
	jmp	LBB0_11
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_14:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_std_groups,8,3                 ## @std_groups
	.comm	_std_items,8,3                  ## @std_items
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	";"

L_.str.1:                               ## @.str.1
	.asciz	"%s-"

L_.str.2:                               ## @.str.2
	.asciz	"/"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvr2_std_id_to_str             ; -- Begin function pvr2_std_id_to_str
	.p2align	2
_pvr2_std_id_to_str:                    ; @pvr2_std_id_to_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _std_groups@GOTPAGE
Lloh1:
	ldr	x22, [x22, _std_groups@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_13
; %bb.1:
	mov	x28, #0
	mov	w25, #0
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
Lloh2:
	adrp	x27, _std_items@GOTPAGE
Lloh3:
	ldr	x27, [x27, _std_items@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	add	x28, x28, #1
Lloh4:
	adrp	x22, _std_groups@GOTPAGE
Lloh5:
	ldr	x22, [x22, _std_groups@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x28, w0, uxtw
	b.hs	LBB0_14
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x26, [x22]
	ldr	x0, [x27]
	bl	_ARRAY_SIZE
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	mov	x24, #0
	mov	w23, #0
	add	x28, x26, x28, lsl #4
	add	x8, x28, #8
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	mov	x1, x20
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_scnprintf
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	w23, w0, w25
	sub	w20, w20, w0
	add	x21, x21, w0, uxtw
	add	x8, x26, x22
	ldr	x2, [x8, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_scnprintf
	add	w25, w23, w0
	sub	w20, w20, w0
	add	x21, x21, w0, uxtw
	ldr	x26, [x27]
	mov	w23, #1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x24, x24, #1
	mov	x0, x26
	bl	_ARRAY_SIZE
	add	x22, x22, #16
	cmp	x24, w0, uxtw
	b.hs	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x26, [x27]
	ldr	w8, [x28]
	ldr	w9, [x26, x22]
	and	w8, w8, w19
	tst	w8, w9
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cbnz	w23, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	mov	x1, x20
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_scnprintf
	add	w25, w0, w25
	sub	w20, w20, w0
	add	x21, x21, w0, uxtw
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x20
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_scnprintf
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_13:
	mov	w25, #0
LBB0_14:
	mov	x0, x25
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_std_groups,8,3                 ; @std_groups
	.comm	_std_items,8,3                  ; @std_items
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	";"

l_.str.1:                               ; @.str.1
	.asciz	"%s-"

l_.str.2:                               ; @.str.2
	.asciz	"/"

.subsections_via_symbols
