	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetDisplayFormat
_SetDisplayFormat:                      ## @SetDisplayFormat
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_Globals@GOTPCREL(%rip), %r14
	movl	24(%r14), %edi
	movq	16(%r14), %rsi
	movq	_MF_BYCOMMAND@GOTPCREL(%rip), %r15
	movq	_MF_UNCHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	callq	_CheckMenuItem
	movq	_CMD_AUTOMATIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%rsi, 16(%r14)
	movl	24(%r14), %edi
	movq	_MF_CHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	callq	_CheckMenuItem
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_GetAutomaticClipboardFormat
	movq	%rax, %rbx
LBB0_2:
	movq	%rbx, 8(%r14)
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_GetClipboardDataDimensions
	xorps	%xmm0, %xmm0
	movq	_Scrollstate@GOTPCREL(%rip), %rcx
	movups	%xmm0, (%rcx)
	movups	%xmm0, 16(%rcx)
	movl	(%r14), %edi
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %esi
	callq	_UpdateWindowScrollState
	movl	(%r14), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Globals,32,3                   ## @Globals
	.comm	_MF_BYCOMMAND,4,2               ## @MF_BYCOMMAND
	.comm	_MF_UNCHECKED,4,2               ## @MF_UNCHECKED
	.comm	_CMD_AUTOMATIC,8,3              ## @CMD_AUTOMATIC
	.comm	_MF_CHECKED,4,2                 ## @MF_CHECKED
	.comm	_Scrollstate,32,3               ## @Scrollstate
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_SetDisplayFormat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetDisplayFormat
_SetDisplayFormat:                      ; @SetDisplayFormat
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _Globals@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Globals@GOTPAGEOFF]
	ldr	w0, [x20, #24]
Lloh2:
	adrp	x21, _MF_BYCOMMAND@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MF_BYCOMMAND@GOTPAGEOFF]
	ldr	x1, [x20, #16]
	ldr	w8, [x21]
Lloh4:
	adrp	x9, _MF_UNCHECKED@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MF_UNCHECKED@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_CheckMenuItem
Lloh7:
	adrp	x8, _CMD_AUTOMATIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CMD_AUTOMATIC@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	add	x1, x8, x19
	str	x1, [x20, #16]
	ldr	w0, [x20, #24]
	ldr	w8, [x21]
Lloh10:
	adrp	x9, _MF_CHECKED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MF_CHECKED@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_CheckMenuItem
	cbnz	x19, LBB0_2
; %bb.1:
	bl	_GetAutomaticClipboardFormat
	mov	x19, x0
LBB0_2:
	str	x19, [x20, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_GetClipboardDataDimensions
Lloh13:
	adrp	x3, _Scrollstate@GOTPAGE
Lloh14:
	ldr	x3, [x3, _Scrollstate@GOTPAGEOFF]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x3]
	ldr	w0, [x20]
	ldp	w2, w1, [sp, #8]
	bl	_UpdateWindowScrollState
	ldr	w0, [x20]
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_InvalidateRect
	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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_Globals,32,3                   ; @Globals
	.comm	_MF_BYCOMMAND,4,2               ; @MF_BYCOMMAND
	.comm	_MF_UNCHECKED,4,2               ; @MF_UNCHECKED
	.comm	_CMD_AUTOMATIC,8,3              ; @CMD_AUTOMATIC
	.comm	_MF_CHECKED,4,2                 ; @MF_CHECKED
	.comm	_Scrollstate,32,3               ; @Scrollstate
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_SetDisplayFormat
.subsections_via_symbols
