	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_load
_pmu_load:                              ## @pmu_load
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	leaq	-80(%rbp), %rdx
	callq	_nvbios_pmuRm
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.4:
	movl	-40(%rbp), %esi
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %edx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	_pmu_code
	movl	-52(%rbp), %esi
	movl	-60(%rbp), %ecx
	movl	-56(%rbp), %edx
	movq	%rbx, %rdi
	movl	$1, %r8d
	callq	_pmu_code
	movl	-64(%rbp), %esi
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %edx
	movq	%rbx, %rdi
	callq	_pmu_data
	movl	-80(%rbp), %esi
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movl	%esi, (%r15)
	movl	-76(%rbp), %eax
	movl	%eax, (%r14)
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_7
LBB0_3:
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_pmu_exec
LBB0_7:
	movl	%r12d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pmu_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmu_load
_pmu_load:                              ; @pmu_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x0, [x8]
	mov	x2, sp
	bl	_nvbios_pmuRm
	cbz	w0, LBB0_4
; %bb.1:
	cbz	w22, LBB0_6
; %bb.2:
	ldp	w2, w1, [sp, #36]
	ldr	w3, [sp, #32]
	mov	x0, x21
	mov	w4, #0
	bl	_pmu_code
	ldp	w2, w1, [sp, #24]
	ldr	w3, [sp, #20]
	mov	x0, x21
	mov	w4, #1
	bl	_pmu_code
	ldp	w2, w1, [sp, #12]
	ldr	w3, [sp, #8]
	mov	x0, x21
	bl	_pmu_data
	ldr	w1, [sp]
	cbz	x20, LBB0_5
; %bb.3:
	mov	w0, #0
	str	w1, [x20]
	ldr	w8, [sp, #4]
	str	w8, [x19]
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	mov	x0, x21
	bl	_pmu_exec
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pmu_load
.subsections_via_symbols
