	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CBGetTextAreaHeight
_CBGetTextAreaHeight:                   ## @CBGetTextAreaHeight
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	8(%rsi), %r13
	testq	%r13, %r13
	jne	LBB0_6
## %bb.1:
	movl	%r14d, %edi
	callq	_GetDC
	movl	%eax, %r15d
	movq	32(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movl	%r15d, %edi
	callq	_SelectObject
	movq	%rax, %rbx
	leaq	-96(%rbp), %rsi
	movl	%r15d, %edi
	callq	_GetTextMetricsW
	movq	-96(%rbp), %r13
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_SelectObject
	jmp	LBB0_5
LBB0_4:
	leaq	-96(%rbp), %rsi
	movl	%r15d, %edi
	callq	_GetTextMetricsW
	movq	-96(%rbp), %r13
LBB0_5:
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_ReleaseDC
	addq	$4, %r13
LBB0_6:
	movq	%r12, %rdi
	callq	_CB_OWNERDRAWN
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	_CBF_MEASUREITEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	je	LBB0_12
## %bb.8:
	movl	28(%r12), %edi
	movq	_GWLP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongPtrW
	movslq	%eax, %r15
	leaq	-48(%rbp), %rsi
	movl	%r14d, %edi
	callq	_GetClientRect
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, (%r12)
	movq	_ODT_COMBOBOX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	%r15, -64(%rbp)
	movl	$-1, -96(%rbp)
	movl	-48(%rbp), %eax
	movl	%eax, -72(%rbp)
	leaq	-6(%r13), %rax
	movq	%rax, -88(%rbp)
	movq	$0, -80(%rbp)
	movl	24(%r12), %edi
	movq	_WM_MEASUREITEM@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-96(%rbp), %rcx
	movq	%r15, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	movq	-88(%rbp), %rbx
	addq	$6, %rbx
	movq	_CBS_OWNERDRAWFIXED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_10
## %bb.9:
	movq	_ODT_COMBOBOX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	%r15, -64(%rbp)
	movl	$0, -96(%rbp)
	movl	-48(%rbp), %eax
	movl	%eax, -72(%rbp)
	movq	%r13, -88(%rbp)
	movq	$0, -80(%rbp)
	movl	24(%r12), %edi
	movl	(%r14), %esi
	movq	%r15, %rdx
	leaq	-96(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	movq	-88(%rbp), %rax
	movq	%rax, 16(%r12)
LBB0_10:
	movq	%rbx, 8(%r12)
	jmp	LBB0_13
LBB0_12:
	movq	%r13, %rbx
LBB0_13:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CBF_MEASUREITEM,4,2            ## @CBF_MEASUREITEM
	.comm	_GWLP_ID,4,2                    ## @GWLP_ID
	.comm	_ODT_COMBOBOX,8,3               ## @ODT_COMBOBOX
	.comm	_WM_MEASUREITEM,4,2             ## @WM_MEASUREITEM
	.comm	_CBS_OWNERDRAWFIXED,4,2         ## @CBS_OWNERDRAWFIXED
	.no_dead_strip	_CBGetTextAreaHeight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CBGetTextAreaHeight
_CBGetTextAreaHeight:                   ; @CBGetTextAreaHeight
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x1, #8]
	cbnz	x22, LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_GetDC
	mov	x21, x0
	ldr	x1, [x19, #32]
	cbz	x1, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_SelectObject
	mov	x22, x0
	add	x1, sp, #16
	mov	x0, x21
	bl	_GetTextMetricsW
	ldr	x23, [sp, #16]
	cbz	x22, LBB0_5
; %bb.3:
	mov	x0, x21
	mov	x1, x22
	bl	_SelectObject
	b	LBB0_5
LBB0_4:
	add	x1, sp, #16
	mov	x0, x21
	bl	_GetTextMetricsW
	ldr	x23, [sp, #16]
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	bl	_ReleaseDC
	add	x22, x23, #4
LBB0_6:
	mov	x0, x19
	bl	_CB_OWNERDRAWN
	cbz	x0, LBB0_11
; %bb.7:
	ldr	w8, [x19]
Lloh0:
	adrp	x23, _CBF_MEASUREITEM@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CBF_MEASUREITEM@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
	ldr	w0, [x19, #28]
Lloh2:
	adrp	x8, _GWLP_ID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GWLP_ID@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_GetWindowLongPtrW
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	add	x1, sp, #8
	mov	x0, x20
	bl	_GetClientRect
	ldr	w8, [x23]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh5:
	adrp	x23, _ODT_COMBOBOX@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ODT_COMBOBOX@GOTPAGEOFF]
	ldr	x8, [x23]
	stp	x21, x8, [sp, #48]
	mov	w8, #-1
	str	w8, [sp, #16]
	ldr	w8, [sp, #8]
	str	w8, [sp, #40]
	sub	x8, x22, #6
	stp	x8, xzr, [sp, #24]
	ldr	w0, [x19, #24]
Lloh7:
	adrp	x24, _WM_MEASUREITEM@GOTPAGE
Lloh8:
	ldr	x24, [x24, _WM_MEASUREITEM@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x3, sp, #16
	mov	x2, x21
	bl	_SendMessageW
	ldr	x8, [sp, #24]
	add	x20, x8, #6
	ldr	w8, [x19, #4]
Lloh9:
	adrp	x9, _CBS_OWNERDRAWFIXED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CBS_OWNERDRAWFIXED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	x8, [x23]
	stp	x21, x8, [sp, #48]
	str	wzr, [sp, #16]
	ldr	w8, [sp, #8]
	str	w8, [sp, #40]
	stp	x22, xzr, [sp, #24]
	ldr	w0, [x19, #24]
	ldr	w1, [x24]
	add	x3, sp, #16
	mov	x2, x21
	bl	_SendMessageW
	ldr	x8, [sp, #24]
	str	x8, [x19, #16]
LBB0_10:
	str	x20, [x19, #8]
	b	LBB0_12
LBB0_11:
	mov	x20, x22
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CBF_MEASUREITEM,4,2            ; @CBF_MEASUREITEM
	.comm	_GWLP_ID,4,2                    ; @GWLP_ID
	.comm	_ODT_COMBOBOX,8,3               ; @ODT_COMBOBOX
	.comm	_WM_MEASUREITEM,4,2             ; @WM_MEASUREITEM
	.comm	_CBS_OWNERDRAWFIXED,4,2         ; @CBS_OWNERDRAWFIXED
	.no_dead_strip	_CBGetTextAreaHeight
.subsections_via_symbols
