	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lima_gp_print_version
_lima_gp_print_version:                 ## @lima_gp_print_version
	.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
	movq	%rdi, %r14
	movq	_LIMA_GP_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gp_read
	movl	%eax, %ecx
	sarl	$16, %ecx
	addl	$-2567, %ecx                    ## imm = 0xF5F9
	roll	$24, %ecx
	cmpl	$3, %ecx
	ja	LBB0_1
## %bb.2:
	movslq	%ecx, %rcx
	leaq	l_reltable.lima_gp_print_version(%rip), %rdx
	movslq	(%rdx,%rcx,4), %r12
	addq	%rdx, %r12
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.4(%rip), %r12
LBB0_3:
	movzbl	%al, %r15d
	movzbl	%ah, %eax
	movl	%eax, %r13d
	movq	(%r14), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_lima_ip_name
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LIMA_GP_VERSION,4,2            ## @LIMA_GP_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mali200"

L_.str.1:                               ## @.str.1
	.asciz	"mali300"

L_.str.2:                               ## @.str.2
	.asciz	"mali400"

L_.str.3:                               ## @.str.3
	.asciz	"mali450"

L_.str.4:                               ## @.str.4
	.asciz	"unknown"

L_.str.5:                               ## @.str.5
	.asciz	"%s - %s version major %d minor %d\n"

	.no_dead_strip	_lima_gp_print_version
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.lima_gp_print_version
l_reltable.lima_gp_print_version:
	.long	L_.str-l_reltable.lima_gp_print_version
	.long	L_.str.2-l_reltable.lima_gp_print_version
	.long	L_.str.1-l_reltable.lima_gp_print_version
	.long	L_.str.3-l_reltable.lima_gp_print_version

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lima_gp_print_version
_lima_gp_print_version:                 ; @lima_gp_print_version
	.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	x19, x0
Lloh0:
	adrp	x8, _LIMA_GP_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIMA_GP_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_gp_read
	asr	w8, w0, #16
	sub	w8, w8, #2567
	ror	w8, w8, #8
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, l_switch.table.lima_gp_print_version@PAGE
Lloh4:
	add	x9, x9, l_switch.table.lima_gp_print_version@PAGEOFF
	ldr	x20, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x20, l_.str.4@PAGE
Lloh6:
	add	x20, x20, l_.str.4@PAGEOFF
LBB0_3:
	and	w21, w0, #0xff
	ubfx	w22, w0, #8, #8
	ldr	x8, [x19]
	ldr	w23, [x8]
	mov	x0, x19
	bl	_lima_ip_name
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.5@PAGE
Lloh8:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	mov	x3, x20
	mov	x4, x22
	mov	x5, x21
	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
	b	_dev_info
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LIMA_GP_VERSION,4,2            ; @LIMA_GP_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mali200"

l_.str.1:                               ; @.str.1
	.asciz	"mali300"

l_.str.2:                               ; @.str.2
	.asciz	"mali400"

l_.str.3:                               ; @.str.3
	.asciz	"mali450"

l_.str.4:                               ; @.str.4
	.asciz	"unknown"

l_.str.5:                               ; @.str.5
	.asciz	"%s - %s version major %d minor %d\n"

	.no_dead_strip	_lima_gp_print_version
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.lima_gp_print_version
l_switch.table.lima_gp_print_version:
	.quad	l_.str
	.quad	l_.str.2
	.quad	l_.str.1
	.quad	l_.str.3

.subsections_via_symbols
