	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_std_fill
_pvr2_std_fill:                         ## @pvr2_std_fill
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_match_std
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %r15d
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$24, %edx
	callq	_memcpy
	movl	%r15d, (%rbx)
	movl	%r14d, 16(%rbx)
	movq	8(%rbx), %rdi
	movl	$7, %esi
	movl	%r14d, %edx
	callq	_pvr2_std_id_to_str
	movq	8(%rbx), %rcx
	movl	%eax, %eax
	movq	$0, (%rcx,%rax,8)
	movq	_PVR2_TRACE_STD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_pvr2_trace
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PVR2_TRACE_STD,4,2             ## @PVR2_TRACE_STD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set up standard idx=%u name=%s"

	.no_dead_strip	_pvr2_std_fill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_std_fill
_pvr2_std_fill:                         ; @pvr2_std_fill
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_match_std
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
	ldr	w21, [x19]
	mov	x0, x19
	mov	w2, #24
	bl	_memcpy
	str	w21, [x19]
	str	w20, [x19, #16]
	ldr	x0, [x19, #8]
	mov	w1, #7
	mov	x2, x20
	bl	_pvr2_std_id_to_str
	ldr	x3, [x19, #8]
	str	xzr, [x3, w0, uxtw #3]
Lloh0:
	adrp	x8, _PVR2_TRACE_STD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PVR2_TRACE_STD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pvr2_trace
	mov	w0, #1
LBB0_2:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PVR2_TRACE_STD,4,2             ; @PVR2_TRACE_STD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set up standard idx=%u name=%s"

	.no_dead_strip	_pvr2_std_fill
.subsections_via_symbols
