	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scmi_perf_domain_init_fc
_scmi_perf_domain_init_fc:              ## @scmi_perf_domain_init_fc
	.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, %r15d
	movq	%rdi, %r12
	movl	(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_PERF_LEVEL_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	20(%rbx), %rcx
	leaq	16(%rbx), %r8
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_scmi_perf_domain_desc_fc
	movq	_PERF_LEVEL_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	12(%rbx), %rcx
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%r8d, %r8d
	callq	_scmi_perf_domain_desc_fc
	movq	_PERF_LIMITS_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%rbx), %rcx
	movq	%rbx, %r8
	addq	$4, %r8
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_scmi_perf_domain_desc_fc
	movq	_PERF_LIMITS_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_scmi_perf_domain_desc_fc
	movq	%rbx, (%r14)
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_PERF_LEVEL_SET,4,2             ## @PERF_LEVEL_SET
	.comm	_PERF_LEVEL_GET,4,2             ## @PERF_LEVEL_GET
	.comm	_PERF_LIMITS_SET,4,2            ## @PERF_LIMITS_SET
	.comm	_PERF_LIMITS_GET,4,2            ## @PERF_LIMITS_GET
	.no_dead_strip	_scmi_perf_domain_init_fc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scmi_perf_domain_init_fc
_scmi_perf_domain_init_fc:              ; @scmi_perf_domain_init_fc
	.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	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh3:
	adrp	x8, _PERF_LEVEL_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PERF_LEVEL_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, x0, #20
	add	x4, x0, #16
	mov	x0, x21
	mov	x1, x20
	bl	_scmi_perf_domain_desc_fc
Lloh6:
	adrp	x8, _PERF_LEVEL_GET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PERF_LEVEL_GET@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, x22, #12
	mov	x0, x21
	mov	x1, x20
	mov	x4, #0
	bl	_scmi_perf_domain_desc_fc
Lloh9:
	adrp	x8, _PERF_LIMITS_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PERF_LIMITS_SET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x3, x22, #8
	add	x4, x22, #4
	mov	x0, x21
	mov	x1, x20
	bl	_scmi_perf_domain_desc_fc
Lloh12:
	adrp	x8, _PERF_LIMITS_GET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PERF_LIMITS_GET@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	mov	x4, #0
	bl	_scmi_perf_domain_desc_fc
	str	x22, [x19]
LBB0_2:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_PERF_LEVEL_SET,4,2             ; @PERF_LEVEL_SET
	.comm	_PERF_LEVEL_GET,4,2             ; @PERF_LEVEL_GET
	.comm	_PERF_LIMITS_SET,4,2            ; @PERF_LIMITS_SET
	.comm	_PERF_LIMITS_GET,4,2            ; @PERF_LIMITS_GET
	.no_dead_strip	_scmi_perf_domain_init_fc
.subsections_via_symbols
