	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm_runlist_vi
_pm_runlist_vi:                         ## @pm_runlist_vi
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rax), %r13
	xorl	%edi, %edi
	testl	%edx, %edx
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_min
	movl	%eax, %ebx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_IT_RUN_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$48, %esi
	callq	_pm_build_pm4_header
	movl	%eax, 40(%r15)
	movq	%r12, 8(%r15)
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	movl	%eax, 16(%r15)
	movq	$0, 32(%r15)
	movl	$1, 20(%r15)
	movl	%ebx, 24(%r15)
	movl	%r14d, %edi
	callq	_lower_32_bits
	movl	%eax, 4(%r15)
	movl	%r14d, %edi
	callq	_upper_32_bits
	movl	%eax, (%r15)
LBB0_3:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_IT_RUN_LIST,4,2                ## @IT_RUN_LIST
	.no_dead_strip	_pm_runlist_vi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm_runlist_vi
_pm_runlist_vi:                         ; @pm_runlist_vi
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x8, [x0]
	ldr	x24, [x8, #8]
	cmp	w2, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x23]
	ldr	w0, [x8]
	ldr	w1, [x24]
	bl	_min
	mov	x23, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh3:
	adrp	x8, _IT_RUN_LIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IT_RUN_LIST@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #48
	bl	_pm_build_pm4_header
	str	w0, [x19, #40]
	str	x22, [x19, #8]
	cmp	w21, #0
	cset	w8, ne
	str	xzr, [x19, #32]
	mov	w9, #1
	stp	w8, w9, [x19, #16]
	str	w23, [x19, #24]
	mov	x0, x20
	bl	_lower_32_bits
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_upper_32_bits
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_IT_RUN_LIST,4,2                ; @IT_RUN_LIST
	.no_dead_strip	_pm_runlist_vi
.subsections_via_symbols
