	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_waitcpu
_do_waitcpu:                            ## @do_waitcpu
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	leaq	-48(%rbp), %rdi
	movl	$32, %esi
	callq	_get_arg
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	_CMDRET_CONT_REDO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_2:
	movq	_CMDRET_DONE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CMDRET_DONE,4,2                ## @CMDRET_DONE
	.comm	_CMDRET_CONT_REDO,4,2           ## @CMDRET_CONT_REDO
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"waitcpu: missing arg"

	.no_dead_strip	_do_waitcpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_waitcpu
_do_waitcpu:                            ; @do_waitcpu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	add	x0, sp, #8
	mov	w1, #32
	bl	_get_arg
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
	add	x0, sp, #8
	bl	_strcmp
Lloh3:
	adrp	x8, _CMDRET_CONT_REDO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMDRET_CONT_REDO@GOTPAGEOFF]
Lloh5:
	adrp	x9, _CMDRET_DONE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CMDRET_DONE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x0, l_str@PAGE
Lloh8:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh9:
	adrp	x8, _CMDRET_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMDRET_DONE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CMDRET_DONE,4,2                ; @CMDRET_DONE
	.comm	_CMDRET_CONT_REDO,4,2           ; @CMDRET_CONT_REDO
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"waitcpu: missing arg"

	.no_dead_strip	_do_waitcpu
.subsections_via_symbols
