	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pm_send_runlist                ## -- Begin function pm_send_runlist
	.p2align	4, 0x90
_pm_send_runlist:                       ## @pm_send_runlist
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-28(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	callq	_pm_create_runlist_ib
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movl	-28(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	16(%r14), %rax
	movslq	(%rax), %rbx
	shrq	$2, %rbx
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%r14), %rdi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rsi
	callq	*(%rdi)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	16(%r14), %rax
	movq	-48(%rbp), %rsi
	movl	-28(%rbp), %edx
	movq	-40(%rbp), %rcx
	shrq	$2, %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	*8(%rax)
	movq	8(%r14), %rdi
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r15d
	callq	*8(%rdi)
	movl	%r15d, %ebx
LBB0_5:
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_6:
	movq	%r14, %rdi
	callq	_pm_release_ib
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	callq	*16(%rdi)
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"runlist IB address: 0x%llX\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pm_send_runlist                ; -- Begin function pm_send_runlist
	.p2align	2
_pm_send_runlist:                       ; @pm_send_runlist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	sub	x2, x29, #20
	add	x3, sp, #8
	bl	_pm_create_runlist_ib
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldur	w1, [x29, #-20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8]
	lsr	x20, x8, #2
	mov	x0, x19
	bl	_mutex_lock
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
	add	x2, sp, #16
	mov	x1, x20
	blr	x8
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	ldp	x9, x1, [sp, #8]
	ldur	w2, [x29, #-20]
	lsr	x3, x9, #2
	mov	x0, x19
	mov	w4, #0
	blr	x8
	mov	x20, x0
	ldr	x0, [x19, #8]
	cbz	w20, LBB0_7
; %bb.3:
	ldr	x8, [x0, #8]
	blr	x8
LBB0_4:
	mov	x0, x19
	bl	_mutex_unlock
LBB0_5:
	mov	x0, x19
	bl	_pm_release_ib
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	x8, [x0, #16]
	blr	x8
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"runlist IB address: 0x%llX\n"

.subsections_via_symbols
