	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh_veu_enum_fmt
_sh_veu_enum_fmt:                       ## @sh_veu_enum_fmt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rax
	cmpl	%edx, %eax
	jge	LBB0_1
## %bb.2:
	movq	_sh_veu_fmt@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rsi,%rax,4), %rax
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 4(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_sh_veu_fmt,8,3                 ## @sh_veu_fmt
	.no_dead_strip	_sh_veu_enum_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh_veu_enum_fmt
_sh_veu_enum_fmt:                       ; @sh_veu_enum_fmt
	.cfi_startproc
; %bb.0:
	ldrsw	x9, [x0]
	cmp	w9, w2
	b.ge	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x10, _sh_veu_fmt@GOTPAGE
Lloh1:
	ldr	x10, [x10, _sh_veu_fmt@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldrsw	x9, [x1, x9, lsl #2]
	ldr	w9, [x10, x9, lsl #2]
	str	w9, [x8, #4]
	ret
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_sh_veu_fmt,8,3                 ; @sh_veu_fmt
	.no_dead_strip	_sh_veu_enum_fmt
.subsections_via_symbols
