	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function which_edge
_which_edge:                            ## @which_edge
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	decl	%edx
	cmpl	%esi, %edx
	jne	LBB0_4
## %bb.3:
	movq	_TOP_EDGE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_BOTTOM_EDGE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	testl	%edi, %edi
	je	LBB0_5
## %bb.6:
	cmpl	%edi, %edx
	jne	LBB0_7
## %bb.8:
	movq	_RIGHT_EDGE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_LEFT_EDGE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_NO_EDGE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BOTTOM_EDGE,4,2                ## @BOTTOM_EDGE
	.comm	_TOP_EDGE,4,2                   ## @TOP_EDGE
	.comm	_LEFT_EDGE,4,2                  ## @LEFT_EDGE
	.comm	_RIGHT_EDGE,4,2                 ## @RIGHT_EDGE
	.comm	_NO_EDGE,4,2                    ## @NO_EDGE
	.no_dead_strip	_which_edge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function which_edge
_which_edge:                            ; @which_edge
	.cfi_startproc
; %bb.0:
	sub	w8, w2, #1
Lloh0:
	adrp	x9, _BOTTOM_EDGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BOTTOM_EDGE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _TOP_EDGE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TOP_EDGE@GOTPAGEOFF]
Lloh4:
	adrp	x11, _LEFT_EDGE@GOTPAGE
Lloh5:
	ldr	x11, [x11, _LEFT_EDGE@GOTPAGEOFF]
Lloh6:
	adrp	x12, _NO_EDGE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _NO_EDGE@GOTPAGEOFF]
Lloh8:
	adrp	x13, _RIGHT_EDGE@GOTPAGE
Lloh9:
	ldr	x13, [x13, _RIGHT_EDGE@GOTPAGEOFF]
	cmp	w8, w0
	csel	x12, x13, x12, eq
	cmp	w0, #0
	csel	x11, x11, x12, eq
	cmp	w8, w1
	csel	x8, x10, x11, eq
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BOTTOM_EDGE,4,2                ; @BOTTOM_EDGE
	.comm	_TOP_EDGE,4,2                   ; @TOP_EDGE
	.comm	_LEFT_EDGE,4,2                  ; @LEFT_EDGE
	.comm	_RIGHT_EDGE,4,2                 ; @RIGHT_EDGE
	.comm	_NO_EDGE,4,2                    ; @NO_EDGE
	.no_dead_strip	_which_edge
.subsections_via_symbols
