	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTVIEW_UpdateHeaderSize
_LISTVIEW_UpdateHeaderSize:             ## @LISTVIEW_UpdateHeaderSize
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movl	4(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.1:
	leaq	-48(%rbp), %rsi
	callq	_GetWindowRect
	pshufd	$78, -48(%rbp), %xmm0           ## xmm0 = mem[2,3,0,1]
	movdqa	%xmm0, -32(%rbp)
	movq	_HWND_DESKTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	leaq	-32(%rbp), %rdx
	movl	$2, %ecx
	callq	_MapWindowPoints
	movl	%r14d, %edx
	negl	%edx
	movl	%edx, -28(%rbp)
	addl	-20(%rbp), %r14d
	movl	%r14d, -20(%rbp)
	movl	4(%rbx), %edi
	movl	-32(%rbp), %ecx
	movl	-24(%rbp), %r9d
	movq	_LVS_NOCOLUMNHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_SWP_HIDEWINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_3:
	movq	_SWP_SHOWWINDOW@GOTPCREL(%rip), %rsi
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rsi), %eax
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
LBB0_4:
	movl	%eax, (%rsp)
	xorl	%esi, %esi
	movl	%r14d, %r8d
	callq	_SetWindowPos
LBB0_5:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nNewScrollPos=%d\n"

	.comm	_HWND_DESKTOP,4,2               ## @HWND_DESKTOP
	.comm	_LVS_NOCOLUMNHEADER,4,2         ## @LVS_NOCOLUMNHEADER
	.comm	_SWP_HIDEWINDOW,4,2             ## @SWP_HIDEWINDOW
	.comm	_SWP_SHOWWINDOW,4,2             ## @SWP_SHOWWINDOW
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
	.no_dead_strip	_LISTVIEW_UpdateHeaderSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTVIEW_UpdateHeaderSize
_LISTVIEW_UpdateHeaderSize:             ; @LISTVIEW_UpdateHeaderSize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #4]
	cbz	w0, LBB0_5
; %bb.1:
	add	x1, sp, #16
	bl	_GetWindowRect
	ldr	q0, [sp, #16]
	ext.16b	v0, v0, v0, #8
	str	q0, [sp]
Lloh2:
	adrp	x8, _HWND_DESKTOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HWND_DESKTOP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	mov	x2, sp
	mov	w3, #2
	bl	_MapWindowPoints
	neg	w2, w20
	ldp	w5, w8, [sp, #8]
	add	w4, w8, w20
	str	w2, [sp, #4]
	str	w4, [sp, #12]
	ldr	w3, [sp]
	ldp	w8, w0, [x19]
Lloh5:
	adrp	x9, _LVS_NOCOLUMNHEADER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LVS_NOCOLUMNHEADER@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _SWP_HIDEWINDOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SWP_HIDEWINDOW@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _SWP_SHOWWINDOW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SWP_SHOWWINDOW@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _SWP_NOZORDER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SWP_NOZORDER@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _SWP_NOACTIVATE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w6, w8, w9
LBB0_4:
	mov	w1, #0
	bl	_SetWindowPos
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nNewScrollPos=%d\n"

	.comm	_HWND_DESKTOP,4,2               ; @HWND_DESKTOP
	.comm	_LVS_NOCOLUMNHEADER,4,2         ; @LVS_NOCOLUMNHEADER
	.comm	_SWP_HIDEWINDOW,4,2             ; @SWP_HIDEWINDOW
	.comm	_SWP_SHOWWINDOW,4,2             ; @SWP_SHOWWINDOW
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
	.no_dead_strip	_LISTVIEW_UpdateHeaderSize
.subsections_via_symbols
