	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_linear_addr
_get_linear_addr:                       ## @get_linear_addr
	.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	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_to_omap_framebuffer
	movq	(%rax), %r8
	movslq	%r13d, %rsi
	movq	8(%rbx), %rax
	movq	(%rax,%rsi,8), %rdi
	movq	(%r12), %rax
	movl	(%rax,%rsi,4), %eax
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	8(%r12), %ecx
	movl	12(%r12), %r9d
	jmp	LBB0_3
LBB0_1:
	movl	$1, %ecx
	movl	$1, %r9d
LBB0_3:
	movq	(%rbx), %rdx
	imull	(%rdx,%rsi,4), %r15d
	imull	%r14d, %eax
	cltd
	idivl	%ecx
	cltq
	addq	%rax, %rdi
	movl	%r15d, %eax
	cltd
	idivl	%r9d
	cltq
	addq	%rdi, %rax
	addq	(%r8,%rsi,8), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_linear_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_linear_addr
_get_linear_addr:                       ; @get_linear_addr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	bl	_to_omap_framebuffer
	ldr	x8, [x0]
	sxtw	x9, w23
	ldr	x10, [x21, #8]
	ldr	x10, [x10, w23, sxtw #3]
	ldr	x11, [x22]
	ldr	w11, [x11, w23, sxtw #2]
	cbz	w23, LBB0_2
; %bb.1:
	ldp	w12, w13, [x22, #8]
	b	LBB0_3
LBB0_2:
	mov	w12, #1
	mov	w13, #1
LBB0_3:
	ldr	x14, [x21]
	ldr	w14, [x14, x9, lsl #2]
	mul	w14, w14, w20
	mul	w11, w11, w19
	sdiv	w11, w11, w12
	add	x10, x10, w11, sxtw
	sdiv	w11, w14, w13
	add	x10, x10, w11, sxtw
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x10, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_linear_addr
.subsections_via_symbols
