	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_performance_level
_set_performance_level:                 ## @set_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	callq	_dev_get_drvdata
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r13
	movq	(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	movl	$16, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	movq	(%r13,%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strncasecmp
	incq	%r15
	addq	$16, %r14
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	decl	%r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_5:
	xorl	%r15d, %r15d
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %esi
	movq	%r15, %rax
	shlq	$4, %rax
	movl	8(%r13,%rax), %edx
	callq	_sabi_set_commandb
	movq	(%rbx), %r13
	jmp	LBB0_12
LBB0_11:
	movl	%r15d, %r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_12:
	shlq	$4, %r15
	cmpq	$0, (%r13,%r15)
	jne	LBB0_14
## %bb.13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subq	(%rax), %r14
LBB0_14:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_set_performance_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_performance_level
_set_performance_level:                 ; @set_performance_level
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x21, x2
	bl	_dev_get_drvdata
	cbz	x19, LBB0_13
; %bb.1:
	mov	x20, x0
	ldr	x23, [x0]
	ldr	x24, [x23]
	ldr	x22, [x24]
	cbz	x22, LBB0_7
; %bb.2:
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_strncasecmp
	cbz	w0, LBB0_8
; %bb.3:
	mov	w25, #1
	mov	w26, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x23]
	ldr	x22, [x24, x26]
	cbz	x22, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_strncasecmp
	add	x25, x25, #1
	add	x26, x26, #16
	cbnz	w0, LBB0_4
; %bb.6:
	sub	w21, w25, #1
	b	LBB0_9
LBB0_7:
	mov	x21, #0
	b	LBB0_11
LBB0_8:
	mov	x21, #0
LBB0_9:
	ldr	w1, [x23, #8]
	add	x8, x24, x21, lsl #4
	ldr	w2, [x8, #8]
	mov	x0, x20
	bl	_sabi_set_commandb
	ldr	x24, [x23]
	b	LBB0_11
LBB0_10:
	and	x21, x25, #0xffffffff
LBB0_11:
	lsl	x8, x21, #4
	ldr	x8, [x24, x8]
	cbnz	x8, LBB0_13
; %bb.12:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_set_performance_level
.subsections_via_symbols
