	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetClipboardDataDimensions     ## -- Begin function GetClipboardDataDimensions
	.p2align	4, 0x90
_GetClipboardDataDimensions:            ## @GetClipboardDataDimensions
	.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
	movl	%esi, %r13d
	movl	%edi, %r12d
	movl	%esi, %edi
	callq	_SetRectEmpty
	movq	_Globals@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_OpenClipboard
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leal	-128(%r12), %eax
	cmpl	$7, %eax
	ja	LBB0_22
## %bb.3:
	movl	$15, %ecx
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.11:
	movl	%r12d, %edi
	callq	_GetClipboardData
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GlobalLock
	testq	%rax, %rax
	je	LBB0_22
## %bb.13:
	movq	%rax, %r14
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	movl	(%r15), %edi
	callq	_GetDC
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_LOWORD
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_max
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_HIWORD
	addl	%eax, %r13d
	movq	-56(%rbp), %r14
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	cmpl	$128, %r12d
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_UNICODE_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_GetLineExtentW
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_GetTabbedTextExtentW
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_ANSI_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_GetLineExtentA
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_GetTabbedTextExtentA
	jmp	LBB0_19
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_4:
	movl	$96, %ecx
	btl	%eax, %ecx
	jae	LBB0_5
## %bb.6:
	movl	%r12d, %edi
	callq	_GetClipboardData
	testl	%eax, %eax
	je	LBB0_22
## %bb.7:
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_GlobalLock
	testq	%rax, %rax
	je	LBB0_22
## %bb.8:
	cmpl	$4, (%rax)
	jne	LBB0_10
## %bb.9:
	movl	4(%rax), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$4, %r8d
	callq	_SetRect
LBB0_10:
	movl	%r14d, %edi
	callq	_GlobalUnlock
	jmp	LBB0_22
LBB0_5:
	movl	$135, %edi
	callq	_GetClipboardData
	leaq	-56(%rbp), %rdx
	movl	%eax, %edi
	movl	$8, %esi
	callq	_GetObjectW
	movl	-56(%rbp), %r8d
	movl	-52(%rbp), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_21
LBB0_20:
	movq	_Globals@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ReleaseDC
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_GlobalUnlock
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movl	%r13d, %r8d
LBB0_21:
	callq	_SetRect
LBB0_22:
	xorl	%eax, %eax
	callq	_CloseClipboard
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Globals,4,2                    ## @Globals
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_UNICODE_NULL,4,2               ## @UNICODE_NULL
	.comm	_ANSI_NULL,4,2                  ## @ANSI_NULL
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetClipboardDataDimensions     ; -- Begin function GetClipboardDataDimensions
	.p2align	2
_GetClipboardDataDimensions:            ; @GetClipboardDataDimensions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_SetRectEmpty
Lloh0:
	adrp	x26, _Globals@GOTPAGE
Lloh1:
	ldr	x26, [x26, _Globals@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_OpenClipboard
	cbz	w0, LBB0_12
; %bb.1:
	sub	w8, w20, #128
	cmp	w8, #7
	b.hi	LBB0_22
; %bb.2:
	mov	w9, #1
	lsl	w8, w9, w8
	tst	w8, #0xf
	b.eq	LBB0_13
; %bb.3:
	mov	x0, x20
	bl	_GetClipboardData
	cbz	w0, LBB0_22
; %bb.4:
	mov	x21, x0
	bl	_GlobalLock
	cbz	x0, LBB0_22
; %bb.5:
	mov	x25, x0
	ldr	w0, [x26]
	bl	_GetDC
	mov	x24, x0
	mov	w22, #0
	mov	w23, #0
Lloh2:
	adrp	x27, _UNICODE_NULL@GOTPAGE
Lloh3:
	ldr	x27, [x27, _UNICODE_NULL@GOTPAGEOFF]
Lloh4:
	adrp	x28, _ANSI_NULL@GOTPAGE
Lloh5:
	ldr	x28, [x28, _ANSI_NULL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, x0
	bl	_LOWORD
	mov	x1, x0
	mov	x0, x23
	bl	_max
	mov	x23, x0
	mov	x0, x25
	bl	_HIWORD
	add	w22, w0, w22
	ldr	x25, [sp, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	cmp	w20, #128
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x27]
	cmp	w8, w9
	b.eq	LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #8
	mov	x0, x25
	bl	_GetLineExtentW
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
	mov	w3, #0
	mov	x4, #0
	bl	_GetTabbedTextExtentW
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #8
	mov	x0, x25
	bl	_GetLineExtentA
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
	mov	w3, #0
	mov	x4, #0
	bl	_GetTabbedTextExtentA
	b	LBB0_6
LBB0_12:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_23
LBB0_13:
	tst	w8, #0x60
	b.eq	LBB0_19
; %bb.14:
	mov	x0, x20
	bl	_GetClipboardData
	cbz	w0, LBB0_22
; %bb.15:
	mov	x20, x0
	bl	_GlobalLock
	cbz	x0, LBB0_22
; %bb.16:
	ldr	w8, [x0]
	cmp	w8, #4
	b.ne	LBB0_18
; %bb.17:
	ldr	w3, [x0, #4]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w4, #4
	bl	_SetRect
LBB0_18:
	mov	x0, x20
	bl	_GlobalUnlock
	b	LBB0_22
LBB0_19:
	mov	w0, #135
	bl	_GetClipboardData
	add	x2, sp, #8
	mov	w1, #8
	bl	_GetObjectW
	ldp	w4, w3, [sp, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	b	LBB0_21
LBB0_20:
	ldr	w0, [x26]
	mov	x1, x24
	bl	_ReleaseDC
	mov	x0, x21
	bl	_GlobalUnlock
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	x3, x23
	mov	x4, x22
LBB0_21:
	bl	_SetRect
LBB0_22:
	bl	_CloseClipboard
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_Globals,4,2                    ; @Globals
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_UNICODE_NULL,4,2               ; @UNICODE_NULL
	.comm	_ANSI_NULL,4,2                  ; @ANSI_NULL
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
