	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RetrieveClipboardFormatName    ## -- Begin function RetrieveClipboardFormatName
	.p2align	4, 0x90
_RetrieveClipboardFormatName:           ## @RetrieveClipboardFormatName
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %ebx
	movl	%edi, %r15d
	leal	(,%r14,4), %esi
	movq	%rcx, %rdi
	callq	_ZeroMemory
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	%r14d, %r8d
	callq	_GetPredefinedClipboardFormatName
	testq	%rax, %rax
	je	LBB0_1
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_CF_OWNERDISPLAY@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_5
## %bb.2:
	movq	_WM_ASKCBFORMATNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	callq	_SendClipboardOwnerMessage
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	_STRING_CF_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%r13, %r13
	jne	LBB0_8
	jmp	LBB0_4
LBB0_5:
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	testq	%r13, %r13
	je	LBB0_9
## %bb.6:
	callq	_GetClipboardFormatNameW
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	_STRING_CF_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_8:
	movl	%r15d, %edi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LoadStringW                    ## TAILCALL
LBB0_9:
	callq	_GetClipboardFormatNameA
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_STRING_CF_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_4:
	movl	%r15d, %edi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LoadStringA                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CF_OWNERDISPLAY,4,2            ## @CF_OWNERDISPLAY
	.comm	_WM_ASKCBFORMATNAME,4,2         ## @WM_ASKCBFORMATNAME
	.comm	_STRING_CF_UNKNOWN,4,2          ## @STRING_CF_UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RetrieveClipboardFormatName    ; -- Begin function RetrieveClipboardFormatName
	.p2align	2
_RetrieveClipboardFormatName:           ; @RetrieveClipboardFormatName
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	lsl	w1, w4, #2
	mov	x0, x3
	bl	_ZeroMemory
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
	mov	x4, x19
	bl	_GetPredefinedClipboardFormatName
	cbz	x0, LBB0_2
LBB0_1:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _CF_OWNERDISPLAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CF_OWNERDISPLAY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _WM_ASKCBFORMATNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WM_ASKCBFORMATNAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x19
	mov	x3, x20
	bl	_SendClipboardOwnerMessage
	cbz	x0, LBB0_1
; %bb.4:
Lloh6:
	adrp	x8, _STRING_CF_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STRING_CF_UNKNOWN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	cbnz	x22, LBB0_8
	b	LBB0_11
LBB0_5:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	cbz	x22, LBB0_9
; %bb.6:
	bl	_GetClipboardFormatNameW
	cbnz	w0, LBB0_1
; %bb.7:
Lloh9:
	adrp	x8, _STRING_CF_UNKNOWN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STRING_CF_UNKNOWN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
LBB0_8:
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_LoadStringW
LBB0_9:
	bl	_GetClipboardFormatNameA
	cbnz	w0, LBB0_1
; %bb.10:
Lloh12:
	adrp	x8, _STRING_CF_UNKNOWN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STRING_CF_UNKNOWN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
LBB0_11:
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_LoadStringA
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CF_OWNERDISPLAY,4,2            ; @CF_OWNERDISPLAY
	.comm	_WM_ASKCBFORMATNAME,4,2         ; @WM_ASKCBFORMATNAME
	.comm	_STRING_CF_UNKNOWN,4,2          ; @STRING_CF_UNKNOWN
.subsections_via_symbols
