	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetValueName                   ## -- Begin function SetValueName
	.p2align	4, 0x90
_SetValueName:                          ## @SetValueName
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	callq	_ListView_GetItemCount
	testq	%rax, %rax
	jle	LBB0_3
## %bb.1:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	movq	_LVIS_FOCUSED@GOTPCREL(%rip), %r13
	movq	_LVIS_SELECTED@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	orl	(%r13), %ecx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_ListView_SetItemState
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_2
LBB0_3:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movq	_LVFI_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	%rcx, -64(%rbp)
	leaq	-64(%rbp), %rdx
	movl	%r15d, %edi
	movl	$-1, %esi
	callq	_ListView_FindItem
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	movq	_LVIS_FOCUSED@GOTPCREL(%rip), %rax
	movq	_LVIS_SELECTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_ListView_SetItemState
	movq	_iListViewSelect@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LVIS_FOCUSED,4,2               ## @LVIS_FOCUSED
	.comm	_LVIS_SELECTED,4,2              ## @LVIS_SELECTED
	.comm	_LVFI_STRING,4,2                ## @LVFI_STRING
	.comm	_iListViewSelect,8,3            ## @iListViewSelect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetValueName                   ; -- Begin function SetValueName
	.p2align	2
_SetValueName:                          ; @SetValueName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_ListView_GetItemCount
Lloh0:
	adrp	x23, _LVIS_FOCUSED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LVIS_FOCUSED@GOTPAGEOFF]
Lloh2:
	adrp	x24, _LVIS_SELECTED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _LVIS_SELECTED@GOTPAGEOFF]
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, x0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w3, w9, w8
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_ListView_SetItemState
	add	x22, x22, #1
	cmp	x21, x22
	b.ne	LBB0_2
LBB0_3:
	cbz	x20, LBB0_5
; %bb.4:
Lloh4:
	adrp	x8, _LVFI_STRING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LVFI_STRING@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	x20, [sp]
	mov	x2, sp
	mov	x0, x19
	mov	w1, #-1
	bl	_ListView_FindItem
	mov	x20, x0
LBB0_5:
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x1, x20
	mov	x3, x2
	bl	_ListView_SetItemState
Lloh7:
	adrp	x8, _iListViewSelect@GOTPAGE
Lloh8:
	ldr	x8, [x8, _iListViewSelect@GOTPAGEOFF]
Lloh9:
	str	x20, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LVIS_FOCUSED,4,2               ; @LVIS_FOCUSED
	.comm	_LVIS_SELECTED,4,2              ; @LVIS_SELECTED
	.comm	_LVFI_STRING,4,2                ; @LVFI_STRING
	.comm	_iListViewSelect,8,3            ; @iListViewSelect
.subsections_via_symbols
