	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function GLimp_CompareModes
LCPI0_0:
	.long	0x3a83126f                      ## float 0.00100000005
LCPI0_1:
	.long	0xba83126f                      ## float -0.00100000005
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_GLimp_CompareModes:                    ## @GLimp_CompareModes
	.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	(%rdi), %r14d
	movl	4(%rdi), %ebx
	cvtsi2ss	%r14d, %xmm0
	cvtsi2ss	%ebx, %xmm1
	divss	%xmm1, %xmm0
	movl	(%rsi), %r15d
	cvtsi2ss	%r15d, %xmm3
	movl	4(%rsi), %r12d
	xorps	%xmm1, %xmm1
	cvtsi2ss	%r12d, %xmm1
	movq	_displayAspect@GOTPCREL(%rip), %r13
	cvtsi2ssq	(%r13), %xmm2
	divss	%xmm1, %xmm3
	movss	%xmm3, -48(%rbp)                ## 4-byte Spill
	subss	%xmm2, %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_fabs
	xorps	%xmm1, %xmm1
	cvtsi2ssq	(%r13), %xmm1
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm0
	cvttss2si	%xmm0, %rdi
	callq	_fabs
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movl	$1, %eax
	ucomiss	LCPI0_0(%rip), %xmm1
	ja	LBB0_3
## %bb.1:
	movl	$-1, %eax
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	ja	LBB0_3
## %bb.2:
	imull	%r14d, %ebx
	imull	%r15d, %r12d
	subl	%r12d, %ebx
	movl	%ebx, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_displayAspect,8,3              ## @displayAspect
	.no_dead_strip	_GLimp_CompareModes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GLimp_CompareModes
_GLimp_CompareModes:                    ; @GLimp_CompareModes
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	ldp	w19, w20, [x0]
	scvtf	s0, w19
	scvtf	s1, w20
	ldp	w21, w22, [x1]
	scvtf	s2, w21
	fdiv	s0, s0, s1
	scvtf	s1, w22
	fdiv	s9, s2, s1
Lloh0:
	adrp	x23, _displayAspect@GOTPAGE
Lloh1:
	ldr	x23, [x23, _displayAspect@GOTPAGEOFF]
	ldr	x8, [x23]
	scvtf	s1, x8
	fsub	s0, s0, s1
	fcvtzs	x0, s0
	bl	_fabs
	fmov	s8, s0
	ldr	x8, [x23]
	scvtf	s0, x8
	fsub	s0, s9, s0
	fcvtzs	x0, s0
	bl	_fabs
	fsub	s0, s8, s0
	mov	w8, #4719
	movk	w8, #14979, lsl #16
	fmov	s1, w8
	fcmp	s0, s1
	b.le	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	mov	w8, #4719
	movk	w8, #47747, lsl #16
	fmov	s1, w8
	fcmp	s0, s1
	b.pl	LBB0_4
; %bb.3:
	mov	w0, #-1
	b	LBB0_5
LBB0_4:
	mul	w8, w20, w19
	mul	w9, w22, w21
	sub	w0, w8, w9
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_displayAspect,8,3              ; @displayAspect
	.no_dead_strip	_GLimp_CompareModes
.subsections_via_symbols
