	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HEADER_SetItemBounds
_HEADER_SetItemBounds:                  ## @HEADER_SetItemBounds
	.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	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movl	16(%rdi), %edi
	leaq	-56(%rbp), %rsi
	callq	_GetClientRect
	cmpl	$0, (%r14)
	je	LBB0_4
## %bb.2:
	xorl	%r15d, %r15d
	movl	-56(%rbp), %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r13
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_HEADER_OrderToIndex
	movl	-48(%rbp), %ecx
	shlq	$5, %rax
	movl	%ecx, 28(%r13,%rax)
	movl	-52(%rbp), %ecx
	movl	%ecx, 24(%r13,%rax)
	movl	%ebx, 8(%r13,%rax)
	movslq	%ebx, %rcx
	movq	(%r13,%rax), %rbx
	testq	%rbx, %rbx
	cmovleq	%r15, %rbx
	addq	%rcx, %rbx
	movq	%rbx, 16(%r13,%rax)
	incl	%r12d
	cmpl	(%r14), %r12d
	jb	LBB0_3
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_HEADER_SetItemBounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HEADER_SetItemBounds
_HEADER_SetItemBounds:                  ; @HEADER_SetItemBounds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #20]
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #16]
	mov	x1, sp
	bl	_GetClientRect
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w20, #0
	ldr	w21, [sp]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_HEADER_OrderToIndex
	add	x8, x22, x0, lsl #5
	ldur	d0, [sp, #4]
	str	d0, [x8, #24]
	str	w21, [x8, #8]
	ldr	x9, [x8]
	cmp	x9, #0
	csel	x9, x9, xzr, gt
	add	x21, x9, w21, sxtw
	str	x21, [x8, #16]
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lo	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_HEADER_SetItemBounds
.subsections_via_symbols
