	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_ConInitStdStreams
	movl	%ebx, %eax
	andl	$-2, %eax
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.2:
	movq	8(%r15), %rdi
	xorl	%r14d, %r14d
	cmpl	$3, %ebx
	jne	LBB0_3
## %bb.4:
	movq	16(%r15), %rsi
	jmp	LBB0_5
LBB0_1:
	movq	_StdOut@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IDS_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ConResPrintf
	movl	$2, %r14d
	jmp	LBB0_6
LBB0_3:
	xorl	%esi, %esi
LBB0_5:
	callq	_download_file
	testl	%eax, %eax
	jle	LBB0_7
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_err                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_StdOut,4,2                     ## @StdOut
	.comm	_IDS_USAGE,4,2                  ## @IDS_USAGE
.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:
	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
	mov	x19, x1
	mov	x20, x0
	bl	_ConInitStdStreams
	and	w8, w20, #0xfffffffe
	cmp	w8, #2
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x19, #8]
	cmp	w20, #3
	b.ne	LBB0_4
; %bb.2:
	ldr	x1, [x19, #16]
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _StdOut@GOTPAGE
Lloh1:
	ldr	x8, [x8, _StdOut@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _IDS_USAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDS_USAGE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ConResPrintf
	mov	w0, #2
	b	LBB0_7
LBB0_4:
	mov	x1, #0
LBB0_5:
	bl	_download_file
	cmp	w0, #0
	b.le	LBB0_8
; %bb.6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_print_err
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_StdOut,4,2                     ; @StdOut
	.comm	_IDS_USAGE,4,2                  ; @IDS_USAGE
.subsections_via_symbols
