	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_get_powerstate       ## -- Begin function task_push_get_powerstate
	.p2align	4, 0x90
_task_push_get_powerstate:              ## @task_push_get_powerstate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_task_init
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_TASK_TYPE_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	%rax, 16(%rbx)
	movq	_task_powerstate_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_task_powerstate_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_task_queue_push                ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TASK_TYPE_NONE,4,2             ## @TASK_TYPE_NONE
	.comm	_task_powerstate_handler,4,2    ## @task_powerstate_handler
	.comm	_task_powerstate_cb,4,2         ## @task_powerstate_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_get_powerstate       ; -- Begin function task_push_get_powerstate
	.p2align	2
_task_push_get_powerstate:              ; @task_push_get_powerstate
	.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
	bl	_task_init
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w20, #1
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _TASK_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TASK_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	x0, [x19, #16]
Lloh3:
	adrp	x8, _task_powerstate_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _task_powerstate_handler@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh6:
	adrp	x8, _task_powerstate_cb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _task_powerstate_cb@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w20, w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_task_queue_push
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TASK_TYPE_NONE,4,2             ; @TASK_TYPE_NONE
	.comm	_task_powerstate_handler,4,2    ; @task_powerstate_handler
	.comm	_task_powerstate_cb,4,2         ; @task_powerstate_cb
.subsections_via_symbols
