	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adreno_get_param               ## -- Begin function adreno_get_param
	.p2align	4, 0x90
_adreno_get_param:                      ## @adreno_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_to_adreno_gpu
	movq	%rax, %r15
	leal	-128(%rbx), %eax
	cmpl	$8, %eax
	ja	LBB0_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	8(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	16(%r12), %rdi
	callq	_pm_runtime_get_sync
	movq	8(%r15), %rax
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	16(%r12), %rdi
	callq	_pm_runtime_put_autosuspend
	movl	%ebx, %eax
	jmp	LBB0_15
LBB0_4:
	movl	8(%r12), %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_DBG
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_6:
	movl	$0, (%r14)
	jmp	LBB0_14
LBB0_7:
	movl	(%r12), %eax
	jmp	LBB0_13
LBB0_8:
	movl	16(%r15), %eax
	jmp	LBB0_13
LBB0_9:
	movq	40(%r15), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_10:
	movl	(%r15), %eax
	jmp	LBB0_13
LBB0_11:
	movl	$1048576, (%r14)                ## imm = 0x100000
	jmp	LBB0_14
LBB0_12:
	movl	4(%r12), %eax
LBB0_13:
	movl	%eax, (%r14)
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	24(%r15), %eax
	shll	$8, %eax
	orl	20(%r15), %eax
	movl	28(%r15), %ecx
	shll	$16, %ecx
	movl	32(%r15), %edx
	shll	$24, %edx
	orl	%ecx, %edx
	orl	%eax, %edx
	movl	%edx, (%r14)
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: invalid param: %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adreno_get_param               ; -- Begin function adreno_get_param
	.p2align	2
_adreno_get_param:                      ; @adreno_get_param
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	bl	_to_adreno_gpu
	sub	w8, w22, #128
	cmp	w8, #8
	b.hi	LBB0_4
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x0, [x20, #16]
	bl	_pm_runtime_get_sync
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	mov	x19, x0
	ldr	x0, [x20, #16]
	bl	_pm_runtime_put_autosuspend
	mov	x0, x19
	b	LBB0_15
LBB0_4:
	ldr	w1, [x20, #8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	bl	_DBG
LBB0_5:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_6:
	mov	w0, #0
	str	wzr, [x19]
	b	LBB0_15
LBB0_7:
	mov	w0, #0
	ldr	w8, [x20]
	b	LBB0_14
LBB0_8:
	mov	w0, #0
	ldr	w8, [x21, #16]
	b	LBB0_14
LBB0_9:
	mov	w0, #0
	ldr	x8, [x21, #40]
	ldr	w8, [x8]
	b	LBB0_14
LBB0_10:
	mov	w0, #0
	ldr	w8, [x21]
	b	LBB0_14
LBB0_11:
	mov	w0, #0
	mov	w8, #1048576
	b	LBB0_14
LBB0_12:
	mov	w0, #0
	ldr	w8, [x20, #4]
	b	LBB0_14
LBB0_13:
	mov	w0, #0
	ldp	w8, w9, [x21, #20]
	orr	w8, w8, w9, lsl #8
	ldp	w9, w10, [x21, #28]
	orr	w8, w8, w9, lsl #16
	orr	w8, w8, w10, lsl #24
LBB0_14:
	str	w8, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: invalid param: %u"

.subsections_via_symbols
