	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_display_scissor_begin     ## -- Begin function menu_display_scissor_begin
	.p2align	4, 0x90
_menu_display_scissor_begin:            ## @menu_display_scissor_begin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	movq	_menu_disp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %r9
	testq	%r9, %r9
	je	LBB0_2
## %bb.3:
	movl	%edx, %eax
	negl	%eax
	leal	(%r8,%rdx), %r10d
	xorl	%r11d, %r11d
	cmpl	%r8d, %eax
	cmoval	%r11d, %r10d
	testl	%edx, %edx
	cmovlel	%r11d, %edx
	cmovnsl	%r8d, %r10d
	movl	%esi, %r8d
	negl	%r8d
	leal	(%rcx,%rsi), %eax
	cmpl	%ecx, %r8d
	cmoval	%r11d, %eax
	testl	%esi, %esi
	cmovlel	%r11d, %esi
	cmovnsl	%ecx, %eax
	movl	(%rdi), %ecx
	cmpl	%ecx, %edx
	cmovgel	%r11d, %edx
	cmovgel	%r11d, %r10d
	movl	4(%rdi), %ebx
	cmpl	%ebx, %esi
	cmovgel	%r11d, %esi
	cmovgel	%r11d, %eax
	leal	(%rdx,%r10), %r11d
	movl	%ecx, %r8d
	subl	%edx, %r8d
	cmpl	%ecx, %r11d
	cmovbel	%r10d, %r8d
	leal	(%rsi,%rax), %r10d
	movl	%ebx, %ecx
	subl	%esi, %ecx
	cmpl	%ebx, %r10d
	cmovbel	%eax, %ecx
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbx
	popq	%rbp
	jmpq	*%r9                            ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_menu_disp,8,3                  ## @menu_disp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_display_scissor_begin     ; -- Begin function menu_display_scissor_begin
	.p2align	2
_menu_display_scissor_begin:            ; @menu_display_scissor_begin
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _menu_disp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _menu_disp@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x5, [x8]
	cbz	x5, LBB0_3
; %bb.2:
	add	w8, w4, w2
	neg	w9, w2
	cmp	w9, w4
	csel	w8, wzr, w8, hi
	cmp	w2, #0
	csel	w9, w2, wzr, gt
	csel	w8, w8, w4, lt
	add	w10, w3, w1
	neg	w11, w1
	cmp	w11, w3
	csel	w10, wzr, w10, hi
	cmp	w1, #0
	csel	w11, w1, wzr, gt
	csel	w10, w10, w3, lt
	ldp	w12, w13, [x0]
	cmp	w9, w12
	csel	w2, w9, wzr, lt
	csel	w8, w8, wzr, lt
	cmp	w11, w13
	csel	w1, w11, wzr, lt
	csel	w9, w10, wzr, lt
	sub	w10, w12, w2
	add	w11, w2, w8
	cmp	w11, w12
	csel	w4, w10, w8, hi
	sub	w8, w13, w1
	add	w10, w1, w9
	cmp	w10, w13
	csel	w3, w8, w9, hi
	br	x5
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_menu_disp,8,3                  ; @menu_disp
.subsections_via_symbols
