	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TreeView_PropagateStateOfItemToParent ## -- Begin function TreeView_PropagateStateOfItemToParent
	.p2align	4, 0x90
_TreeView_PropagateStateOfItemToParent: ## @TreeView_PropagateStateOfItemToParent
	.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
	testl	%edi, %edi
	je	LBB0_5
## %bb.1:
	testl	%esi, %esi
	je	LBB0_5
## %bb.2:
	movl	%edi, %r14d
	callq	_TreeView_GetParent
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	movq	_TVIS_STATEIMAGEMASK@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_TreeView_GetRealSubtreeState
	leaq	1(%rax), %rdi
	callq	_INDEXTOSTATEIMAGEMASK
	movl	(%r15), %ecx
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_TreeView_SetItemState
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_TreeView_GetParent
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TVIS_STATEIMAGEMASK,4,2        ## @TVIS_STATEIMAGEMASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TreeView_PropagateStateOfItemToParent ; -- Begin function TreeView_PropagateStateOfItemToParent
	.p2align	2
_TreeView_PropagateStateOfItemToParent: ; @TreeView_PropagateStateOfItemToParent
	.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
	cbz	w0, LBB0_5
; %bb.1:
	cbz	w1, LBB0_5
; %bb.2:
	mov	x19, x0
	bl	_TreeView_GetParent
	cbz	w0, LBB0_5
; %bb.3:
	mov	x20, x0
Lloh0:
	adrp	x21, _TVIS_STATEIMAGEMASK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TVIS_STATEIMAGEMASK@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_TreeView_GetRealSubtreeState
	add	x0, x0, #1
	bl	_INDEXTOSTATEIMAGEMASK
	mov	x2, x0
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_TreeView_SetItemState
	mov	x0, x19
	mov	x1, x20
	bl	_TreeView_GetParent
	mov	x20, x0
	cbnz	w0, LBB0_4
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TVIS_STATEIMAGEMASK,4,2        ; @TVIS_STATEIMAGEMASK
.subsections_via_symbols
