	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_SetItemHeight
_LISTBOX_SetItemHeight:                 ## @LISTBOX_SetItemHeight
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	_MAXBYTE@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpq	%rdx, (%rcx)
	jb	LBB0_11
## %bb.1:
	movq	%rdi, %r12
	testq	%rdx, %rdx
	movl	$1, %ebx
	cmovneq	%rdx, %rbx
	movq	_LBS_OWNERDRAWVARIABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_6
## %bb.2:
	movq	%rsi, %r15
	cmpq	%rsi, 8(%r12)
	jbe	LBB0_3
## %bb.4:
	movl	24(%r12), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_TRACE
	movq	32(%r12), %rax
	movq	%rbx, (%rax,%r15,8)
	movq	%r12, %rdi
	callq	_LISTBOX_UpdateScroll
	testq	%r14, %r14
	je	LBB0_9
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_LISTBOX_InvalidateItems
	jmp	LBB0_9
LBB0_6:
	cmpq	16(%r12), %rbx
	je	LBB0_9
## %bb.7:
	movl	24(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_TRACE
	movq	%rbx, 16(%r12)
	movq	%r12, %rdi
	callq	_LISTBOX_UpdatePage
	movq	%r12, %rdi
	callq	_LISTBOX_UpdateScroll
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movl	24(%r12), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
LBB0_9:
	movq	_LB_OKAY@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_ERROR_INVALID_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_LB_ERR@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXBYTE,8,3                    ## @MAXBYTE
	.comm	_LBS_OWNERDRAWVARIABLE,4,2      ## @LBS_OWNERDRAWVARIABLE
	.comm	_ERROR_INVALID_INDEX,4,2        ## @ERROR_INVALID_INDEX
	.comm	_LB_ERR,4,2                     ## @LB_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%p]: item %d height = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"[%p]: new height = %d\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_LB_OKAY,4,2                    ## @LB_OKAY
	.no_dead_strip	_LISTBOX_SetItemHeight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_SetItemHeight
_LISTBOX_SetItemHeight:                 ; @LISTBOX_SetItemHeight
	.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, _MAXBYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXBYTE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_12
LBB0_2:
	mov	x20, x3
	mov	x19, x0
	cmp	x2, #0
	csinc	x22, x2, xzr, ne
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _LBS_OWNERDRAWVARIABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LBS_OWNERDRAWVARIABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	mov	x21, x1
	ldr	x8, [x19, #8]
	cmp	x8, x1
	b.ls	LBB0_10
; %bb.4:
	ldr	w1, [x19, #24]
	str	x22, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	bl	_TRACE
	ldr	x8, [x19, #32]
	str	x22, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_LISTBOX_UpdateScroll
	cbz	x20, LBB0_9
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	bl	_LISTBOX_InvalidateItems
	b	LBB0_9
LBB0_6:
	ldr	x8, [x19, #16]
	cmp	x22, x8
	b.eq	LBB0_9
; %bb.7:
	ldr	w1, [x19, #24]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x22
	bl	_TRACE
	str	x22, [x19, #16]
	mov	x0, x19
	bl	_LISTBOX_UpdatePage
	mov	x0, x19
	bl	_LISTBOX_UpdateScroll
	cbz	x20, LBB0_9
; %bb.8:
	ldr	w0, [x19, #24]
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_InvalidateRect
LBB0_9:
Lloh13:
	adrp	x8, _LB_OKAY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LB_OKAY@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x8, _ERROR_INVALID_INDEX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR_INVALID_INDEX@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh18:
	adrp	x8, _LB_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LB_ERR@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXBYTE,8,3                    ; @MAXBYTE
	.comm	_LBS_OWNERDRAWVARIABLE,4,2      ; @LBS_OWNERDRAWVARIABLE
	.comm	_ERROR_INVALID_INDEX,4,2        ; @ERROR_INVALID_INDEX
	.comm	_LB_ERR,4,2                     ; @LB_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%p]: item %d height = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"[%p]: new height = %d\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_LB_OKAY,4,2                    ; @LB_OKAY
	.no_dead_strip	_LISTBOX_SetItemHeight
.subsections_via_symbols
