	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __pm_request_resume
___pm_request_resume:                   ## @__pm_request_resume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 32(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_2:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_RPM_ACTIVE@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.3:
	movq	_RPM_RESUMING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	cmpq	$0, 8(%r14)
	jle	LBB0_6
## %bb.7:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, %ebx
	negl	%ebx
	testl	%eax, %eax
	jg	LBB0_16
	jmp	LBB0_9
LBB0_6:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%r14, %rdi
	callq	_pm_runtime_deactivate_timer
	cmpl	$0, 16(%r14)
	je	LBB0_14
## %bb.10:
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.12:
	movq	_RPM_REQ_RESUME@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_14:
	testl	%ebx, %ebx
	jne	LBB0_16
## %bb.15:
	movq	_RPM_REQ_RESUME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movl	$1, 16(%r14)
	movq	_pm_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$20, %r14
	movq	%r14, %rsi
	callq	_queue_work
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_11:
	movq	_RPM_REQ_NONE@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RPM_ACTIVE,8,3                 ## @RPM_ACTIVE
	.comm	_RPM_RESUMING,8,3               ## @RPM_RESUMING
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_RPM_REQ_NONE,8,3               ## @RPM_REQ_NONE
	.comm	_RPM_REQ_RESUME,8,3             ## @RPM_REQ_RESUME
	.comm	_pm_wq,4,2                      ## @pm_wq
	.no_dead_strip	___pm_request_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __pm_request_resume
___pm_request_resume:                   ; @__pm_request_resume
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
LBB0_2:
	mov	x19, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _RPM_ACTIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RPM_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w20, #1
	b	LBB0_10
LBB0_4:
Lloh6:
	adrp	x9, _RPM_RESUMING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RPM_RESUMING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.7:
Lloh11:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w20, w8
	cmp	w8, #0
	b.gt	LBB0_14
	b	LBB0_10
LBB0_9:
	mov	w20, #0
LBB0_10:
	mov	x0, x19
	bl	_pm_runtime_deactivate_timer
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _RPM_REQ_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RPM_REQ_NONE@GOTPAGEOFF]
Lloh15:
	adrp	x9, _RPM_REQ_RESUME@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RPM_REQ_RESUME@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	str	x8, [x19, #24]
	b	LBB0_14
LBB0_12:
	cbnz	w20, LBB0_14
; %bb.13:
Lloh17:
	adrp	x8, _RPM_REQ_RESUME@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RPM_REQ_RESUME@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	w8, #1
	str	w8, [x19, #16]
Lloh20:
	adrp	x8, _pm_wq@GOTPAGE
Lloh21:
	ldr	x8, [x8, _pm_wq@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	add	x1, x19, #20
	bl	_queue_work
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RPM_ACTIVE,8,3                 ; @RPM_ACTIVE
	.comm	_RPM_RESUMING,8,3               ; @RPM_RESUMING
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_RPM_REQ_NONE,8,3               ; @RPM_REQ_NONE
	.comm	_RPM_REQ_RESUME,8,3             ; @RPM_REQ_RESUME
	.comm	_pm_wq,4,2                      ; @pm_wq
	.no_dead_strip	___pm_request_resume
.subsections_via_symbols
