	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usm_user_index_decode
_usm_user_index_decode:                 ## @usm_user_index_decode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r9
	movq	(%r9,%rsi,8), %rbx
	movq	_SNMP_ENGINE_ID_SIZ@GOTPCREL(%rip), %r10
	movl	$-1, %eax
	cmpq	(%r10), %rbx
	ja	LBB0_16
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	leaq	(%r9,%rsi,8), %r10
	addq	$8, %r10
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r14), %r11
	movq	(%r10,%r14,8), %rbx
	movq	%rbx, (%rdx,%r14,8)
	movq	%r11, %r14
	cmpq	(%r9,%rsi,8), %r11
	jb	LBB0_4
	jmp	LBB0_5
LBB0_2:
	xorl	%r11d, %r11d
LBB0_5:
	movq	%r11, (%rcx)
	movl	(%r9,%rsi,8), %ecx
	addl	%esi, %ecx
	shlq	$32, %rcx
	movabsq	$4294967296, %rdx               ## imm = 0x100000000
	addq	%rcx, %rdx
	movq	%rdx, %rcx
	sarq	$29, %rcx
	movq	(%r9,%rcx), %r10
	movq	_SNMP_ADM_STR32_SIZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r10
	jae	LBB0_16
## %bb.6:
	testq	%r10, %r10
	je	LBB0_15
## %bb.7:
	sarq	$32, %rdx
	movb	8(%r9,%rdx,8), %al
	movb	%al, (%r8)
	cmpq	$1, %r10
	je	LBB0_15
## %bb.8:
	leaq	-1(%r10), %rax
	leaq	-2(%r10), %rcx
	movl	%eax, %r9d
	andl	$3, %r9d
	movl	$1, %esi
	cmpq	$3, %rcx
	jb	LBB0_12
## %bb.9:
	andq	$-4, %rax
	leaq	(,%rdx,8), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	addq	%rcx, %rbx
	movzbl	16(%rbx,%rsi,8), %ebx
	movb	%bl, 1(%r8,%rsi)
	movq	(%rdi), %rbx
	addq	%rcx, %rbx
	movzbl	24(%rbx,%rsi,8), %ebx
	movb	%bl, 2(%r8,%rsi)
	movq	(%rdi), %rbx
	addq	%rcx, %rbx
	movzbl	32(%rbx,%rsi,8), %ebx
	movb	%bl, 3(%r8,%rsi)
	movq	(%rdi), %rbx
	addq	%rcx, %rbx
	movzbl	40(%rbx,%rsi,8), %ebx
	movb	%bl, 4(%r8,%rsi)
	addq	$4, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_10
## %bb.11:
	incq	%rsi
LBB0_12:
	testq	%r9, %r9
	je	LBB0_15
## %bb.13:
	leaq	(%r8,%rsi), %rax
	shlq	$3, %rdx
	leaq	(%rdx,%rsi,8), %rcx
	addq	$8, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rsi
	addq	%rcx, %rsi
	movzbl	(%rsi,%rdx,8), %ebx
	movb	%bl, (%rax,%rdx)
	incq	%rdx
	cmpq	%rdx, %r9
	jne	LBB0_14
LBB0_15:
	movb	$0, (%r8,%r10)
	xorl	%eax, %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_ENGINE_ID_SIZ,8,3         ## @SNMP_ENGINE_ID_SIZ
	.comm	_SNMP_ADM_STR32_SIZ,8,3         ## @SNMP_ADM_STR32_SIZ
	.no_dead_strip	_usm_user_index_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usm_user_index_decode
_usm_user_index_decode:                 ; @usm_user_index_decode
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8, x1, lsl #3]
Lloh0:
	adrp	x10, _SNMP_ENGINE_ID_SIZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SNMP_ENGINE_ID_SIZ@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.hi	LBB0_11
; %bb.1:
	cbz	x9, LBB0_4
; %bb.2:
	mov	x11, #0
	add	x9, x8, x1, lsl #3
	add	x9, x9, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x11, #1
	lsl	x11, x11, #3
	ldr	x12, [x9, x11]
	str	x12, [x2, x11]
	ldr	x12, [x8, x1, lsl #3]
	mov	x11, x10
	cmp	x10, x12
	b.lo	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x10, #0
LBB0_5:
	str	x10, [x3]
	lsl	x9, x1, #3
	ldr	w9, [x8, x9]
	add	w9, w9, w1
	mov	x10, #4294967296
	add	x10, x10, x9, lsl #32
	asr	x9, x10, #29
	ldr	x9, [x8, x9]
Lloh3:
	adrp	x11, _SNMP_ADM_STR32_SIZ@GOTPAGE
Lloh4:
	ldr	x11, [x11, _SNMP_ADM_STR32_SIZ@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x11
	b.hs	LBB0_11
; %bb.6:
	cbz	x9, LBB0_10
; %bb.7:
	asr	x10, x10, #32
	add	x8, x8, x10, lsl #3
	ldr	x8, [x8, #8]
	strb	w8, [x4]
	subs	x8, x9, #1
	b.eq	LBB0_10
; %bb.8:
	lsl	x10, x10, #3
	add	x10, x10, #16
	add	x11, x4, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x0]
	ldr	x12, [x12, x10]
	strb	w12, [x11], #1
	add	x10, x10, #8
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	mov	w0, #0
	strb	wzr, [x4, x9]
	ret
LBB0_11:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_ENGINE_ID_SIZ,8,3         ; @SNMP_ENGINE_ID_SIZ
	.comm	_SNMP_ADM_STR32_SIZ,8,3         ; @SNMP_ADM_STR32_SIZ
	.no_dead_strip	_usm_user_index_decode
.subsections_via_symbols
