	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wmain                          ## -- Begin function wmain
	.p2align	4, 0x90
_wmain:                                 ## @wmain
	.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
	movq	%rsi, %r12
	movl	%edi, %r14d
	testl	%edi, %edi
	jle	LBB0_3
## %bb.1:
	movl	%r14d, %r13d
	leaq	L_.str(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_wine_dbgstr_w
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_2
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_TRACE
	xorl	%edi, %edi
	callq	_CoInitialize
	cmpl	$1, %r14d
	jg	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_13
LBB0_5:
	movq	8(%r12), %rdi
	movq	_change_optW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmpiW
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movq	8(%r12), %rdi
	movq	_create_optW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmpiW
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movq	8(%r12), %rdi
	movq	_delete_optW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmpiW
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movq	8(%r12), %rdi
	callq	_debugstr_w
	leaq	L_.str.3(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_13
LBB0_9:
	addl	$-2, %r14d
	addq	$16, %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_change_command
	jmp	LBB0_12
LBB0_10:
	addl	$-2, %r14d
	addq	$16, %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_create_command
	jmp	LBB0_12
LBB0_11:
	addl	$-2, %r14d
	addq	$16, %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_delete_command
LBB0_12:
	movl	%eax, %r15d
LBB0_13:
	xorl	%eax, %eax
	callq	_CoUninitialize
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" %s"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"Print current tasks state\n"

	.comm	_change_optW,4,2                ## @change_optW
	.comm	_create_optW,4,2                ## @create_optW
	.comm	_delete_optW,4,2                ## @delete_optW
L_.str.3:                               ## @.str.3
	.asciz	"Unsupported command %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wmain                          ; -- Begin function wmain
	.p2align	2
_wmain:                                 ; @wmain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, w20
	mov	x23, x19
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23], #8
	bl	_wine_dbgstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
	bl	_TRACE
	subs	x22, x22, #1
	b.ne	LBB0_2
LBB0_3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	mov	x0, #0
	bl	_CoInitialize
	cmp	w20, #1
	b.gt	LBB0_5
; %bb.4:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_5:
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x8, _change_optW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _change_optW@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_strcmpiW
	cbz	w0, LBB0_10
; %bb.6:
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x8, _create_optW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _create_optW@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_strcmpiW
	cbz	w0, LBB0_11
; %bb.7:
	ldr	x0, [x19, #8]
Lloh12:
	adrp	x8, _delete_optW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _delete_optW@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_strcmpiW
	cbz	w0, LBB0_12
; %bb.8:
	ldr	x0, [x19, #8]
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_9:
	bl	_FIXME
	mov	w19, #0
	b	LBB0_14
LBB0_10:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_change_command
	b	LBB0_13
LBB0_11:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_create_command
	b	LBB0_13
LBB0_12:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_delete_command
LBB0_13:
	mov	x19, x0
LBB0_14:
	bl	_CoUninitialize
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" %s"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"Print current tasks state\n"

	.comm	_change_optW,4,2                ; @change_optW
	.comm	_create_optW,4,2                ; @create_optW
	.comm	_delete_optW,4,2                ; @delete_optW
l_.str.3:                               ; @.str.3
	.asciz	"Unsupported command %s\n"

.subsections_via_symbols
