	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_spherical_tile_bounds       ## -- Begin function av_spherical_tile_bounds
	.p2align	4, 0x90
_av_spherical_tile_bounds:              ## @av_spherical_tile_bounds
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r10
	movq	16(%rbp), %r14
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r13d, %eax
	imull	%esi, %eax
	movl	4(%rdi), %r12d
	movl	12(%rdi), %r15d
	movl	(%rdi), %edx
	addl	%r12d, %edx
	movl	%r13d, %ebx
	subl	%edx, %ebx
	cltd
	idivl	%ebx
	movl	%eax, %r11d
	movl	%r10d, %eax
	imull	%r13d, %eax
	movl	8(%rdi), %edx
	addl	%r15d, %edx
	movl	%r13d, %edi
	subl	%edx, %edi
	cltd
	idivl	%edi
	movl	%eax, %edi
	imull	%r11d, %r12d
	leal	(%r12,%r13), %eax
	decl	%eax
	cltd
	idivl	%r13d
	cltq
	movq	%rax, (%rcx)
	imull	%edi, %r15d
	leal	(%r15,%r13), %eax
	decl	%eax
	cltd
	idivl	%r13d
	cltq
	movq	%rax, (%r8)
	addq	(%rcx), %rsi
	movslq	%r11d, %rax
	subq	%rsi, %rax
	movq	%rax, (%r9)
	movslq	%edi, %rax
	addq	(%r8), %r10
	subq	%r10, %rax
	movq	%rax, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_spherical_tile_bounds       ; -- Begin function av_spherical_tile_bounds
	.p2align	2
_av_spherical_tile_bounds:              ; @av_spherical_tile_bounds
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _UINT32_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w9, w8, w1
	ldp	w10, w11, [x0]
	add	w10, w10, w11
	sub	w10, w8, w10
	sdiv	w9, w9, w10
	mul	w10, w8, w2
	ldp	w12, w13, [x0, #8]
	add	w12, w12, w13
	sub	w12, w8, w12
	sdiv	w10, w10, w12
	sub	w12, w8, #1
	madd	w11, w9, w11, w12
	sdiv	w11, w11, w8
	sxtw	x11, w11
	str	x11, [x3]
	madd	w11, w10, w13, w12
	sdiv	w8, w11, w8
	sxtw	x8, w8
	str	x8, [x4]
	sxtw	x8, w9
	ldr	x9, [x3]
	add	x9, x9, x1
	sub	x8, x8, x9
	str	x8, [x5]
	sxtw	x8, w10
	ldr	x9, [x4]
	add	x9, x9, x2
	sub	x8, x8, x9
	str	x8, [x6]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
.subsections_via_symbols
