	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_etnaviv_gpu_get_param          ## -- Begin function etnaviv_gpu_get_param
	.p2align	4, 0x90
_etnaviv_gpu_get_param:                 ## @etnaviv_gpu_get_param
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	leal	-128(%rbx), %eax
	cmpl	$26, %eax
	ja	LBB0_17
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	216(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_ETNAVIV_IOMMU_V2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_34
## %bb.3:
	movq	_ETNAVIV_SOFTPIN_START_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_31
LBB0_4:
	movq	176(%rdi), %rax
	jmp	LBB0_31
LBB0_5:
	movq	152(%rdi), %rax
	jmp	LBB0_31
LBB0_6:
	movq	144(%rdi), %rax
	jmp	LBB0_31
LBB0_7:
	movq	128(%rdi), %rax
	jmp	LBB0_31
LBB0_8:
	movq	136(%rdi), %rax
	jmp	LBB0_31
LBB0_9:
	movq	208(%rdi), %rax
	jmp	LBB0_31
LBB0_10:
	movq	8(%rdi), %rax
	jmp	LBB0_31
LBB0_11:
	movq	192(%rdi), %rax
	jmp	LBB0_31
LBB0_12:
	movq	88(%rdi), %rax
	jmp	LBB0_31
LBB0_13:
	movq	80(%rdi), %rax
	jmp	LBB0_31
LBB0_14:
	movq	72(%rdi), %rax
	jmp	LBB0_31
LBB0_15:
	movq	32(%rdi), %rax
	jmp	LBB0_31
LBB0_16:
	movq	24(%rdi), %rax
	jmp	LBB0_31
LBB0_17:
	movl	(%rdi), %edi
	callq	_dev_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_DBG
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_33
LBB0_18:
	movq	160(%rdi), %rax
	jmp	LBB0_31
LBB0_19:
	movq	16(%rdi), %rax
	jmp	LBB0_31
LBB0_20:
	movq	168(%rdi), %rax
	jmp	LBB0_31
LBB0_21:
	movq	200(%rdi), %rax
	jmp	LBB0_31
LBB0_22:
	movq	96(%rdi), %rax
	jmp	LBB0_31
LBB0_23:
	movq	64(%rdi), %rax
	jmp	LBB0_31
LBB0_24:
	movq	56(%rdi), %rax
	jmp	LBB0_31
LBB0_25:
	movq	48(%rdi), %rax
	jmp	LBB0_31
LBB0_26:
	movq	40(%rdi), %rax
	jmp	LBB0_31
LBB0_27:
	movq	120(%rdi), %rax
	jmp	LBB0_31
LBB0_28:
	movq	112(%rdi), %rax
	jmp	LBB0_31
LBB0_29:
	movq	104(%rdi), %rax
	jmp	LBB0_31
LBB0_30:
	movq	184(%rdi), %rax
LBB0_31:
	movq	%rax, (%rdx)
LBB0_32:
	xorl	%eax, %eax
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_34:
	movq	$-1, (%rdx)
	jmp	LBB0_32
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_8
	.long	L0_0_set_20
	.long	L0_0_set_9
	.long	L0_0_set_21
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_22
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_26
	.long	L0_0_set_27
	.long	L0_0_set_28
	.long	L0_0_set_29
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_30
	.end_data_region
                                        ## -- End function
	.comm	_ETNAVIV_IOMMU_V2,4,2           ## @ETNAVIV_IOMMU_V2
	.comm	_ETNAVIV_SOFTPIN_START_ADDRESS,8,3 ## @ETNAVIV_SOFTPIN_START_ADDRESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: invalid param: %u"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_etnaviv_gpu_get_param          ; -- Begin function etnaviv_gpu_get_param
	.p2align	2
_etnaviv_gpu_get_param:                 ; @etnaviv_gpu_get_param
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
	sub	w9, w1, #128
	cmp	w9, #26
	b.hi	LBB0_17
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	x8, [x8, #216]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _ETNAVIV_IOMMU_V2@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ETNAVIV_IOMMU_V2@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_31
; %bb.3:
	mov	w0, #0
Lloh5:
	adrp	x8, _ETNAVIV_SOFTPIN_START_ADDRESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETNAVIV_SOFTPIN_START_ADDRESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	b	LBB0_32
LBB0_4:
	mov	w0, #0
	ldr	x8, [x8, #176]
	b	LBB0_32
LBB0_5:
	mov	w0, #0
	ldr	x8, [x8, #152]
	b	LBB0_32
LBB0_6:
	mov	w0, #0
	ldr	x8, [x8, #144]
	b	LBB0_32
LBB0_7:
	mov	w0, #0
	ldr	x8, [x8, #128]
	b	LBB0_32
LBB0_8:
	mov	w0, #0
	ldr	x8, [x8, #136]
	b	LBB0_32
LBB0_9:
	mov	w0, #0
	ldr	x8, [x8, #208]
	b	LBB0_32
LBB0_10:
	mov	w0, #0
	ldr	x8, [x8, #8]
	b	LBB0_32
LBB0_11:
	mov	w0, #0
	ldr	x8, [x8, #192]
	b	LBB0_32
LBB0_12:
	mov	w0, #0
	ldr	x8, [x8, #88]
	b	LBB0_32
LBB0_13:
	mov	w0, #0
	ldr	x8, [x8, #80]
	b	LBB0_32
LBB0_14:
	mov	w0, #0
	ldr	x8, [x8, #72]
	b	LBB0_32
LBB0_15:
	mov	w0, #0
	ldr	x8, [x8, #32]
	b	LBB0_32
LBB0_16:
	mov	w0, #0
	ldr	x8, [x8, #24]
	b	LBB0_32
LBB0_17:
	mov	x19, x1
	ldr	w0, [x8]
	bl	_dev_name
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_DBG
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_33
LBB0_18:
	mov	w0, #0
	ldr	x8, [x8, #160]
	b	LBB0_32
LBB0_19:
	mov	w0, #0
	ldr	x8, [x8, #16]
	b	LBB0_32
LBB0_20:
	mov	w0, #0
	ldr	x8, [x8, #168]
	b	LBB0_32
LBB0_21:
	mov	w0, #0
	ldr	x8, [x8, #200]
	b	LBB0_32
LBB0_22:
	mov	w0, #0
	ldr	x8, [x8, #96]
	b	LBB0_32
LBB0_23:
	mov	w0, #0
	ldr	x8, [x8, #64]
	b	LBB0_32
LBB0_24:
	mov	w0, #0
	ldr	x8, [x8, #56]
	b	LBB0_32
LBB0_25:
	mov	w0, #0
	ldr	x8, [x8, #48]
	b	LBB0_32
LBB0_26:
	mov	w0, #0
	ldr	x8, [x8, #40]
	b	LBB0_32
LBB0_27:
	mov	w0, #0
	ldr	x8, [x8, #120]
	b	LBB0_32
LBB0_28:
	mov	w0, #0
	ldr	x8, [x8, #112]
	b	LBB0_32
LBB0_29:
	mov	w0, #0
	ldr	x8, [x8, #104]
	b	LBB0_32
LBB0_30:
	mov	w0, #0
	ldr	x8, [x8, #184]
	b	LBB0_32
LBB0_31:
	mov	w0, #0
	mov	x8, #-1
LBB0_32:
	str	x8, [x2]
LBB0_33:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
	.byte	(LBB0_25-LBB0_2)>>2
	.byte	(LBB0_26-LBB0_2)>>2
	.byte	(LBB0_27-LBB0_2)>>2
	.byte	(LBB0_28-LBB0_2)>>2
	.byte	(LBB0_29-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_30-LBB0_2)>>2
                                        ; -- End function
	.comm	_ETNAVIV_IOMMU_V2,4,2           ; @ETNAVIV_IOMMU_V2
	.comm	_ETNAVIV_SOFTPIN_START_ADDRESS,8,3 ; @ETNAVIV_SOFTPIN_START_ADDRESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: invalid param: %u"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
