	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function MyDrawCaptionButtons
LCPI0_0:
	.quad	-2                              ## 0xfffffffffffffffe
	.quad	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_MyDrawCaptionButtons
	.p2align	4, 0x90
_MyDrawCaptionButtons:                  ## @MyDrawCaptionButtons
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movl	%edi, %r15d
	movl	(%rsi), %eax
	addl	$-2, %eax
	movl	%eax, %ecx
	subl	%ebx, %ecx
	movl	%ecx, -88(%rbp)
	movl	%eax, -84(%rbp)
	movdqu	8(%rsi), %xmm0
	paddq	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, -80(%rbp)
	movq	_DFC_CAPTION@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_DFCS_CAPTIONCLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-88(%rbp), %rsi
	callq	_MyDrawFrameControl
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movl	$-2, %eax
	subl	%ebx, %eax
	movl	-88(%rbp), %ecx
	addl	%eax, %ecx
	movl	%ecx, -64(%rbp)
	addl	-84(%rbp), %eax
	movl	%eax, -60(%rbp)
	movups	-80(%rbp), %xmm0
	movups	%xmm0, -56(%rbp)
	movl	(%r13), %edx
	movq	_DFCS_CAPTIONMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %rsi
	movl	%r15d, %edi
	movq	%r14, %r8
	callq	_MyDrawFrameControl
	movl	-64(%rbp), %eax
	movl	-60(%rbp), %ecx
	subl	%ebx, %eax
	movl	%eax, -112(%rbp)
	subl	%ebx, %ecx
	movl	%ecx, -108(%rbp)
	movdqu	-56(%rbp), %xmm0
	movdqu	%xmm0, -104(%rbp)
	movl	(%r13), %edx
	movq	_DFCS_CAPTIONMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movl	%r15d, %edi
	movq	%r14, %r8
	callq	_MyDrawFrameControl
LBB0_2:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DFC_CAPTION,4,2                ## @DFC_CAPTION
	.comm	_DFCS_CAPTIONCLOSE,4,2          ## @DFCS_CAPTIONCLOSE
	.comm	_DFCS_CAPTIONMAX,4,2            ## @DFCS_CAPTIONMAX
	.comm	_DFCS_CAPTIONMIN,4,2            ## @DFCS_CAPTIONMIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function MyDrawCaptionButtons
lCPI0_0:
	.quad	-2                              ; 0xfffffffffffffffe
	.quad	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_MyDrawCaptionButtons
	.p2align	2
_MyDrawCaptionButtons:                  ; @MyDrawCaptionButtons
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x3
	mov	x22, x2
	mov	x20, x0
	ldr	w8, [x1]
	sub	w8, w8, #2
	sub	w9, w8, w3
	stp	w9, w8, [sp, #56]
	ldur	q0, [x1, #8]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	add.2d	v0, v0, v1
	stur	q0, [sp, #64]
Lloh2:
	adrp	x23, _DFC_CAPTION@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DFC_CAPTION@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh4:
	adrp	x8, _DFCS_CAPTIONCLOSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DFCS_CAPTIONCLOSE@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	add	x1, sp, #56
	bl	_MyDrawFrameControl
	cbz	x22, LBB0_2
; %bb.1:
	mov	w8, #-2
	sub	w8, w8, w21
	ldr	d0, [sp, #56]
	dup.2s	v1, w8
	add.2s	v0, v1, v0
	str	d0, [sp, #32]
	ldur	q0, [sp, #64]
	stur	q0, [sp, #40]
	ldr	w2, [x23]
Lloh7:
	adrp	x8, _DFCS_CAPTIONMAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DFCS_CAPTIONMAX@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	add	x1, sp, #32
	mov	x0, x20
	mov	x4, x19
	bl	_MyDrawFrameControl
	ldr	d0, [sp, #32]
	dup.2s	v1, w21
	sub.2s	v0, v0, v1
	str	d0, [sp, #8]
	ldur	q0, [sp, #40]
	stur	q0, [sp, #16]
	ldr	w2, [x23]
Lloh10:
	adrp	x8, _DFCS_CAPTIONMIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DFCS_CAPTIONMIN@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x20
	mov	x4, x19
	bl	_MyDrawFrameControl
LBB0_2:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DFC_CAPTION,4,2                ; @DFC_CAPTION
	.comm	_DFCS_CAPTIONCLOSE,4,2          ; @DFCS_CAPTIONCLOSE
	.comm	_DFCS_CAPTIONMAX,4,2            ; @DFCS_CAPTIONMAX
	.comm	_DFCS_CAPTIONMIN,4,2            ; @DFCS_CAPTIONMIN
.subsections_via_symbols
