	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function IJK_GLES2_Renderer_Vertices_apply
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_IJK_GLES2_Renderer_Vertices_apply:     ## @IJK_GLES2_Renderer_Vertices_apply
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	leal	-128(%rsi), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.3:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_7
## %bb.4:
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	jle	LBB0_7
## %bb.5:
	movss	24(%rbx), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	ucomiss	%xmm3, %xmm0
	jae	LBB0_7
## %bb.6:
	movss	28(%rbx), %xmm4                 ## xmm4 = mem[0],zero,zero,zero
	ucomiss	%xmm4, %xmm0
	jae	LBB0_7
## %bb.9:
	movss	32(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm2, %xmm2
	ucomiss	%xmm2, %xmm0
	jbe	LBB0_12
## %bb.10:
	movss	36(%rbx), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm1
	jbe	LBB0_12
## %bb.11:
	mulss	%xmm0, %xmm3
	divss	%xmm1, %xmm3
LBB0_12:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rcx, %xmm1
	divss	%xmm3, %xmm0
	divss	%xmm4, %xmm1
	cmpl	$129, %esi
	je	LBB0_16
## %bb.13:
	cmpl	$128, %esi
	jne	LBB0_14
## %bb.15:
	movaps	%xmm3, -48(%rbp)                ## 16-byte Spill
	movaps	%xmm4, -32(%rbp)                ## 16-byte Spill
	callq	_FFMAX
	jmp	LBB0_17
LBB0_1:
	cmpl	$130, %esi
	je	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_ALOGE
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_ALOGE
LBB0_8:
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_IJK_GLES2_Renderer_Vertices_reset ## TAILCALL
LBB0_16:
	movaps	%xmm3, -48(%rbp)                ## 16-byte Spill
	movaps	%xmm4, -32(%rbp)                ## 16-byte Spill
	callq	_FFMIN
LBB0_17:
	movaps	-32(%rbp), %xmm4                ## 16-byte Reload
	movaps	-48(%rbp), %xmm3                ## 16-byte Reload
	jmp	LBB0_18
LBB0_14:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
LBB0_18:
	xorps	%xmm1, %xmm1
	cvtsi2ssq	8(%rbx), %xmm1
	mulss	%xmm0, %xmm3
	divss	%xmm1, %xmm3
	mulss	%xmm0, %xmm4
	xorps	%xmm0, %xmm0
	cvtsi2ssq	16(%rbx), %xmm0
	divss	%xmm0, %xmm4
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	movaps	%xmm3, %xmm1
	xorps	%xmm0, %xmm1
	movq	40(%rbx), %rax
	movss	%xmm1, (%rax)
	xorps	%xmm4, %xmm0
	movss	%xmm0, 4(%rax)
	movss	%xmm3, 8(%rax)
	movss	%xmm0, 12(%rax)
	movss	%xmm1, 16(%rax)
	movss	%xmm4, 20(%rax)
	movss	%xmm3, 24(%rax)
	movss	%xmm4, 28(%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[GLES2] unknown gravity %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"[GLES2] invalid width/height for gravity aspect\n"

	.no_dead_strip	_IJK_GLES2_Renderer_Vertices_apply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IJK_GLES2_Renderer_Vertices_apply
_IJK_GLES2_Renderer_Vertices_apply:     ; @IJK_GLES2_Renderer_Vertices_apply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_11
; %bb.1:
	ldr	x9, [x19, #8]
	cmp	x9, #1
	b.lt	LBB0_13
; %bb.2:
	ldr	x10, [x19, #16]
	cmp	x10, #1
	b.lt	LBB0_13
; %bb.3:
	ldr	s8, [x19, #24]
	fcmp	s8, #0.0
	b.ls	LBB0_13
; %bb.4:
	ldr	s9, [x19, #28]
	fcmp	s9, #0.0
	b.ls	LBB0_13
; %bb.5:
	ldr	s0, [x19, #32]
	fcmp	s0, #0.0
	b.le	LBB0_8
; %bb.6:
	ldr	s1, [x19, #36]
	fcmp	s1, #0.0
	b.le	LBB0_8
; %bb.7:
	fmul	s0, s8, s0
	fdiv	s8, s0, s1
LBB0_8:
	scvtf	s0, x9
	fdiv	s2, s0, s8
	scvtf	s0, x10
	fdiv	s1, s0, s9
	cmp	w8, #129
	b.eq	LBB0_16
; %bb.9:
	fmov	s0, #1.00000000
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.10:
	fmov	s0, s2
	bl	_FFMAX
	b	LBB0_17
LBB0_11:
	cmp	w8, #130
	b.eq	LBB0_15
; %bb.12:
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	bl	_ALOGE
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_IJK_GLES2_Renderer_Vertices_reset
LBB0_16:
	fmov	s0, s2
	bl	_FFMIN
LBB0_17:
	ldp	x8, x9, [x19, #8]
	scvtf	s1, x8
	fmul	s2, s8, s0
	fdiv	s1, s2, s1
	fmul	s0, s9, s0
	scvtf	s2, x9
	ldr	x8, [x19, #40]
	fdiv	s0, s0, s2
	fneg	s2, s1
	fneg	s3, s0
	stp	s2, s3, [x8]
	stp	s1, s3, [x8, #8]
	stp	s2, s0, [x8, #16]
	stp	s1, s0, [x8, #24]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[GLES2] unknown gravity %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"[GLES2] invalid width/height for gravity aspect\n"

	.no_dead_strip	_IJK_GLES2_Renderer_Vertices_apply
.subsections_via_symbols
