	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_content_item
_insert_content_item:                   ## @insert_content_item
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movl	%edi, %r14d
	leaq	-96(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_TVIF_TEXT@GOTPCREL(%rip), %rax
	movq	_TVIF_PARAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_TVIF_IMAGE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_TVIF_SELECTEDIMAGE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -80(%rbp)
	movl	16(%rbx), %edi
	callq	_lstrlenW
	incq	%rax
	movq	%rax, -40(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	%rbx, -56(%rbp)
	cmpq	$0, 8(%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_HHTV_DOCUMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_HHTV_FOLDER@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	%rax, -72(%rbp)
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	(%r15), %r12
LBB0_5:
	movq	%r12, -88(%rbp)
	movq	_TVI_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_TVM_INSERTITEMW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rcx
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_SendMessageW
	movq	%rax, (%rbx)
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TVIF_TEXT,4,2                  ## @TVIF_TEXT
	.comm	_TVIF_PARAM,4,2                 ## @TVIF_PARAM
	.comm	_TVIF_IMAGE,4,2                 ## @TVIF_IMAGE
	.comm	_TVIF_SELECTEDIMAGE,4,2         ## @TVIF_SELECTEDIMAGE
	.comm	_HHTV_FOLDER,8,3                ## @HHTV_FOLDER
	.comm	_HHTV_DOCUMENT,8,3              ## @HHTV_DOCUMENT
	.comm	_TVI_LAST,4,2                   ## @TVI_LAST
	.comm	_TVM_INSERTITEMW,4,2            ## @TVM_INSERTITEMW
	.no_dead_strip	_insert_content_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_content_item
_insert_content_item:                   ; @insert_content_item
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh0:
	adrp	x8, _TVIF_TEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TVIF_TEXT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TVIF_PARAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TVIF_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _TVIF_IMAGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TVIF_IMAGE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _TVIF_SELECTEDIMAGE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TVIF_SELECTEDIMAGE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #16]
	ldr	w0, [x19, #16]
	bl	_lstrlenW
	add	x8, x0, #1
	str	x8, [sp, #56]
	ldr	w8, [x19, #16]
	str	w8, [sp, #48]
	str	x19, [sp, #40]
Lloh12:
	adrp	x8, _HHTV_FOLDER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HHTV_FOLDER@GOTPAGEOFF]
Lloh14:
	adrp	x9, _HHTV_DOCUMENT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HHTV_DOCUMENT@GOTPAGEOFF]
	ldr	x10, [x19, #8]
	cmp	x10, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	stp	x8, x8, [sp, #24]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
Lloh16:
	adrp	x9, _TVI_LAST@GOTPAGE
Lloh17:
	ldr	x9, [x9, _TVI_LAST@GOTPAGEOFF]
	str	x8, [sp, #8]
Lloh18:
	ldr	w8, [x9]
	str	w8, [sp]
Lloh19:
	adrp	x8, _TVM_INSERTITEMW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TVM_INSERTITEMW@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x3, sp
	mov	x0, x20
	mov	w2, #0
	bl	_SendMessageW
	str	x0, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_TVIF_TEXT,4,2                  ; @TVIF_TEXT
	.comm	_TVIF_PARAM,4,2                 ; @TVIF_PARAM
	.comm	_TVIF_IMAGE,4,2                 ; @TVIF_IMAGE
	.comm	_TVIF_SELECTEDIMAGE,4,2         ; @TVIF_SELECTEDIMAGE
	.comm	_HHTV_FOLDER,8,3                ; @HHTV_FOLDER
	.comm	_HHTV_DOCUMENT,8,3              ; @HHTV_DOCUMENT
	.comm	_TVI_LAST,4,2                   ; @TVI_LAST
	.comm	_TVM_INSERTITEMW,4,2            ; @TVM_INSERTITEMW
	.no_dead_strip	_insert_content_item
.subsections_via_symbols
