	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_performance_level
_get_performance_level:                 ## @get_performance_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	callq	_dev_get_drvdata
	movq	(%rax), %rbx
	movl	8(%rbx), %esi
	leaq	-24(%rbp), %rcx
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_sabi_command
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.2:
	movq	-24(%rbp), %rcx
	movq	(%rcx), %rcx
	cmpq	8(%rax), %rcx
	je	LBB0_6
## %bb.3:
	addq	$24, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	16(%rax), %rsi
	cmpq	(%rax), %rcx
	movq	%rsi, %rax
	jne	LBB0_4
LBB0_6:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
LBB0_8:
	movq	%r14, %rdi
	callq	_sprintf
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

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

	.no_dead_strip	_get_performance_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_performance_level
_get_performance_level:                 ; @get_performance_level
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	bl	_dev_get_drvdata
	ldr	x20, [x0]
	ldr	w1, [x20, #8]
	add	x3, sp, #8
	mov	x2, #0
	bl	_sabi_command
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	x9, [x20]
	ldr	x2, [x9]
	cbz	x2, LBB0_7
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	ldr	x10, [x9, #8]
	cmp	x8, x10
	b.eq	LBB0_6
; %bb.3:
	add	x9, x9, #24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x2, [x9, #-8]
	cbz	x2, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x9], #16
	cmp	x8, x10
	b.ne	LBB0_4
LBB0_6:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_sprintf
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

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

	.no_dead_strip	_get_performance_level
.subsections_via_symbols
