	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_wrapper
_gen_wrapper:                           ## @gen_wrapper
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_find
	movq	%rax, %r14
	movq	(%rax), %rdi
	callq	_strdup
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_gen_name
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_find
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	setne	-64(%rbp)                       ## 1-byte Folded Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_find
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_find
	movq	%r12, %rcx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rcx
LBB0_2:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%rax, %r13
	movq	%r14, %rbx
	movq	%rcx, %r14
	callq	_gen_options
	leaq	L_.str.4(%rip), %rsi
	xorl	%edi, %edi
	movq	%r14, %rdx
	movq	%rbx, %r14
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_hprint
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.5(%rip), %rsi
	xorl	%edi, %edi
	movq	%rcx, %rdx
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_hprint
LBB0_5:
	movq	_cfile@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	testq	%r13, %r13
	je	LBB0_7
## %bb.6:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_cprint
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movb	-64(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.10(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.11(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.12(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_find
	testq	%rax, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	je	LBB0_22
## %bb.8:
	movq	%rax, %rbx
	movq	_cfile@GOTPCREL(%rip), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rax), %rdx
	leaq	L_.str.23(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incl	-44(%rbp)                       ## 4-byte Folded Spill
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.25(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_find_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_22
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_find
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	8(%rbx), %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_find
	movq	%rax, %r14
	movq	8(%rbx), %rdi
	leaq	L_.str.15(%rip), %rsi
	callq	_find
	movq	%rax, %r12
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_find
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rdi
	leaq	L_.str.16(%rip), %rsi
	callq	_find
	movq	%rax, %r15
	movl	$2, %edi
	leaq	L_.str.17(%rip), %rsi
	xorl	%eax, %eax
	callq	_cprint
	movl	(%r13), %edi
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14), %rdx
	leaq	L_.str.18(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.19(%rip), %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.19(%rip), %r14
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_cfile@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	testq	%r12, %r12
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r12), %rax
	movsbl	(%rax), %edx
	leaq	L_.str.20(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.21(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_find_handler
	movl	(%r13), %edi
	movq	(%rax), %rdx
	leaq	L_.str.22(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	testq	%r15, %r15
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r15), %rdx
	leaq	L_.str.18(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_9
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.24(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_10
LBB0_22:
	leaq	L_.str.26(%rip), %rsi
	xorl	%r12d, %r12d
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.27(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.28(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_find
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_find
	movq	%rax, %r14
	movq	8(%rbx), %rdi
	leaq	L_.str.29(%rip), %rsi
	callq	_find
	movq	%rax, %r15
	movq	8(%rbx), %rdi
	callq	_make_name
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_find_handler
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	*16(%rax)
	movq	%r13, %rdi
	callq	_free
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_find_next
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_24
LBB0_25:
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_find
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	%rax, %r13
	leaq	L_.str.2(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	callq	_make_name
	movq	%rax, %r14
	leal	1(%rbx), %r12d
	movl	$1, %edi
	leaq	L_.str.30(%rip), %rsi
	movl	%ebx, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_cprint
	movq	%r14, %rdi
	callq	_free
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_find_next
	movq	%rax, %r13
	movl	%r12d, %ebx
	testq	%rax, %rax
	jne	LBB0_27
LBB0_28:
	leal	1(%r12), %r13d
	leaq	L_.str.31(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$1, %edi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.32(%rip), %rsi
	movl	$1, %edi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.33(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_cprint
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.29:
	leaq	L_.str.34(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_find
	testq	%rax, %rax
	je	LBB0_34
## %bb.30:
	movq	%rax, %r14
	movq	(%rax), %rdi
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %r12d
	movq	-72(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_57
## %bb.31:
	testl	%r12d, %r12d
	js	LBB0_58
## %bb.32:
	leaq	L_.str.37(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_find
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_36
	jmp	LBB0_41
LBB0_33:
	movl	$-1, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_40
LBB0_34:
	leaq	L_.str.37(%rip), %rsi
	movq	%rbx, %rdi
	callq	_find
	testq	%rax, %rax
	je	LBB0_43
## %bb.35:
	movq	%rax, %rbx
	movl	$-1, %r12d
LBB0_36:
	movq	(%rbx), %rdi
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %r15d
	movq	-72(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_60
## %bb.37:
	testl	%r15d, %r15d
	js	LBB0_61
## %bb.38:
	cmpl	$-1, %r12d
	setne	%bl
	cmpl	%r15d, %r12d
	jne	LBB0_40
## %bb.39:
	leaq	L_.str.40(%rip), %rsi
	movl	$1, %edi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.41(%rip), %rsi
	jmp	LBB0_42
LBB0_40:
	leaq	L_.str.43(%rip), %rsi
	movl	$1, %edi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.44(%rip), %rsi
	movl	$2, %edi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.33(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.42(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	testb	%bl, %bl
	je	LBB0_43
LBB0_41:
	leaq	L_.str.45(%rip), %rsi
	movl	$1, %edi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.46(%rip), %rsi
LBB0_42:
	movl	$2, %edi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.33(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.42(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
LBB0_43:
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	leaq	L_.str.47(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.33(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_cprint
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	leaq	L_.str.24(%rip), %rax
	leaq	L_.str.49(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.48(%rip), %rsi
	movl	$1, %edi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_find
	testq	%rax, %rax
	je	LBB0_48
## %bb.44:
	movq	%rax, %rbx
	leaq	L_.str.13(%rip), %r15
	leaq	L_.str.2(%rip), %r12
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_find_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_48
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	movq	%r15, %rsi
	callq	_find
	movq	%rax, %rdi
	callq	_find_handler
	cmpq	$0, 8(%rax)
	je	LBB0_45
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	%rax, %r13
	movq	8(%rbx), %rdi
	callq	_make_name
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	*8(%r13)
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_45
LBB0_48:
	leaq	L_.str.50(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.51(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_cprint
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rcx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_50
## %bb.49:
	movq	(%rax), %r8
	jmp	LBB0_51
LBB0_50:
	leaq	L_.str.53(%rip), %r8
LBB0_51:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	leaq	L_.str.52(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_find
	testq	%rax, %rax
	je	LBB0_56
## %bb.52:
	movq	%rax, %rbx
	leaq	L_.str.13(%rip), %r14
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_54 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_find_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_56
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_find
	movq	%rax, %rdi
	callq	_find_handler
	cmpq	$0, 8(%rax)
	je	LBB0_53
## %bb.55:                              ##   in Loop: Header=BB0_54 Depth=1
	movq	%rax, %r12
	movq	8(%rbx), %rdi
	callq	_make_name
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	*8(%r12)
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_53
LBB0_56:
	leaq	L_.str.54(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.42(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_cprint
	leaq	L_.str.55(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cprint                         ## TAILCALL
LBB0_57:
	leaq	L_.str.35(%rip), %rsi
	jmp	LBB0_59
LBB0_58:
	leaq	L_.str.36(%rip), %rsi
LBB0_59:
	movq	%r14, %rdi
	jmp	LBB0_63
LBB0_60:
	leaq	L_.str.38(%rip), %rsi
	jmp	LBB0_62
LBB0_61:
	leaq	L_.str.39(%rip), %rsi
LBB0_62:
	movq	%rbx, %rdi
LBB0_63:
	callq	_ex
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

L_.str.1:                               ## @.str.1
	.asciz	"argument"

L_.str.2:                               ## @.str.2
	.asciz	"option"

L_.str.3:                               ## @.str.3
	.asciz	"function"

L_.str.4:                               ## @.str.4
	.asciz	"int %s(struct %s_options*, int, char **);\n"

L_.str.5:                               ## @.str.5
	.asciz	"int %s(void*, int, char **);\n"

	.comm	_cfile,4,2                      ## @cfile
L_.str.6:                               ## @.str.6
	.asciz	"static int\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s_wrap(int argc, char **argv)\n"

L_.str.8:                               ## @.str.8
	.asciz	"{\n"

L_.str.9:                               ## @.str.9
	.asciz	"struct %s_options opt;\n"

L_.str.10:                              ## @.str.10
	.asciz	"int ret;\n"

L_.str.11:                              ## @.str.11
	.asciz	"int optidx = 0;\n"

L_.str.12:                              ## @.str.12
	.asciz	"struct getargs args[] = {\n"

L_.str.13:                              ## @.str.13
	.asciz	"type"

L_.str.14:                              ## @.str.14
	.asciz	"long"

L_.str.15:                              ## @.str.15
	.asciz	"short"

L_.str.16:                              ## @.str.16
	.asciz	"help"

L_.str.17:                              ## @.str.17
	.asciz	"{ "

L_.str.18:                              ## @.str.18
	.asciz	"\"%s\", "

L_.str.19:                              ## @.str.19
	.asciz	"NULL, "

L_.str.20:                              ## @.str.20
	.asciz	"'%c', "

L_.str.21:                              ## @.str.21
	.asciz	"0, "

L_.str.22:                              ## @.str.22
	.asciz	"%s, "

L_.str.23:                              ## @.str.23
	.asciz	"\"%s\""

L_.str.24:                              ## @.str.24
	.asciz	"NULL"

L_.str.25:                              ## @.str.25
	.asciz	" },\n"

L_.str.26:                              ## @.str.26
	.asciz	"{ \"help\", 'h', arg_flag, NULL, NULL, NULL }\n"

L_.str.27:                              ## @.str.27
	.asciz	"};\n"

L_.str.28:                              ## @.str.28
	.asciz	"int help_flag = 0;\n"

L_.str.29:                              ## @.str.29
	.asciz	"default"

L_.str.30:                              ## @.str.30
	.asciz	"args[%d].value = &opt.%s;\n"

L_.str.31:                              ## @.str.31
	.asciz	"args[%d].value = &help_flag;\n"

L_.str.32:                              ## @.str.32
	.asciz	"if(getarg(args, %d, argc, argv, &optidx))\n"

L_.str.33:                              ## @.str.33
	.asciz	"goto usage;\n"

L_.str.34:                              ## @.str.34
	.asciz	"min_args"

L_.str.35:                              ## @.str.35
	.asciz	"min_args is not numeric"

L_.str.36:                              ## @.str.36
	.asciz	"min_args must be non-negative"

L_.str.37:                              ## @.str.37
	.asciz	"max_args"

L_.str.38:                              ## @.str.38
	.asciz	"max_args is not numeric"

L_.str.39:                              ## @.str.39
	.asciz	"max_args must be non-negative"

L_.str.40:                              ## @.str.40
	.asciz	"if(argc - optidx != %d) {\n"

L_.str.41:                              ## @.str.41
	.asciz	"fprintf(stderr, \"Need exactly %u parameters (%%u given).\\n\\n\", argc - optidx);\n"

L_.str.42:                              ## @.str.42
	.asciz	"}\n"

L_.str.43:                              ## @.str.43
	.asciz	"if(argc - optidx > %d) {\n"

L_.str.44:                              ## @.str.44
	.asciz	"fprintf(stderr, \"Arguments given (%%u) are more than expected (%u).\\n\\n\", argc - optidx);\n"

L_.str.45:                              ## @.str.45
	.asciz	"if(argc - optidx < %d) {\n"

L_.str.46:                              ## @.str.46
	.asciz	"fprintf(stderr, \"Arguments given (%%u) are less than expected (%u).\\n\\n\", argc - optidx);\n"

L_.str.47:                              ## @.str.47
	.asciz	"if(help_flag)\n"

L_.str.48:                              ## @.str.48
	.asciz	"ret = %s(%s, argc - optidx, argv + optidx);\n"

L_.str.49:                              ## @.str.49
	.asciz	"&opt"

L_.str.50:                              ## @.str.50
	.asciz	"return ret;\n"

L_.str.51:                              ## @.str.51
	.asciz	"usage:\n"

L_.str.52:                              ## @.str.52
	.asciz	"arg_printusage (args, %d, \"%s\", \"%s\");\n"

L_.str.53:                              ## @.str.53
	.space	1

L_.str.54:                              ## @.str.54
	.asciz	"return 0;\n"

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

	.no_dead_strip	_gen_wrapper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_wrapper
_gen_wrapper:                           ; @gen_wrapper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_find
	mov	x21, x0
	ldr	x0, [x0]
	bl	_strdup
	mov	x19, x0
	bl	_gen_name
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_find
	mov	x22, x0
	cmp	x0, #0
	cset	w26, ne
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_find
	mov	x23, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_find
	mov	x24, x19
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x24, [x0]
LBB0_2:
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	cbz	x23, LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x1, x19
	bl	_gen_options
	str	x19, [sp]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_5:
	mov	w0, #0
	mov	x2, x24
	bl	_hprint
Lloh12:
	adrp	x22, _cfile@GOTPAGE
Lloh13:
	ldr	x22, [x22, _cfile@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	ldr	w0, [x22]
	str	x19, [sp]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	ldr	w0, [x22]
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	cbz	x23, LBB0_7
; %bb.6:
	str	x19, [sp]
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	bl	_cprint
LBB0_7:
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
Lloh22:
	adrp	x1, l_.str.10@PAGE
Lloh23:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh24:
	adrp	x1, l_.str.11@PAGE
Lloh25:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh26:
	adrp	x1, l_.str.12@PAGE
Lloh27:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	str	x20, [sp, #64]                  ; 8-byte Folded Spill
	mov	x0, x20
	bl	_find
	cbz	x0, LBB0_22
; %bb.8:
	mov	x25, x0
Lloh30:
	adrp	x23, l_.str.19@PAGE
Lloh31:
	add	x23, x23, l_.str.19@PAGEOFF
Lloh32:
	adrp	x24, l_.str.18@PAGE
Lloh33:
	add	x24, x24, l_.str.18@PAGEOFF
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x27]
	str	x8, [sp]
Lloh34:
	adrp	x1, l_.str.23@PAGE
Lloh35:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_fprintf
	add	w26, w26, #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x22]
Lloh36:
	adrp	x1, l_.str.25@PAGE
Lloh37:
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_fprintf
	mov	x0, x25
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_find_next
	mov	x25, x0
	cbz	x0, LBB0_22
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25, #8]
Lloh40:
	adrp	x1, l_.str.13@PAGE
Lloh41:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_find
	mov	x28, x0
	ldr	x0, [x25, #8]
Lloh42:
	adrp	x1, l_.str.14@PAGE
Lloh43:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_find
	mov	x19, x0
	ldr	x0, [x25, #8]
Lloh44:
	adrp	x1, l_.str.15@PAGE
Lloh45:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_find
	mov	x21, x0
	ldr	x0, [x25, #8]
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_find
	mov	x27, x0
	ldr	x0, [x25, #8]
Lloh48:
	adrp	x1, l_.str.16@PAGE
Lloh49:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_find
	mov	x20, x0
	mov	w0, #2
Lloh50:
	adrp	x1, l_.str.17@PAGE
Lloh51:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_cprint
	ldr	w0, [x22]
	cbz	x19, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x19]
	str	x8, [sp]
	mov	x1, x24
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x1, x23
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	bl	_fprintf
	ldr	w0, [x22]
	cbz	x21, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x21]
	ldrsb	x8, [x8]
	str	x8, [sp]
Lloh52:
	adrp	x1, l_.str.20@PAGE
Lloh53:
	add	x1, x1, l_.str.20@PAGEOFF
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
Lloh54:
	adrp	x1, l_.str.21@PAGE
Lloh55:
	add	x1, x1, l_.str.21@PAGEOFF
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	bl	_fprintf
	mov	x0, x28
	bl	_find_handler
	ldr	w8, [x22]
	ldr	x9, [x0]
	str	x9, [sp]
	mov	x0, x8
Lloh56:
	adrp	x1, l_.str.22@PAGE
Lloh57:
	add	x1, x1, l_.str.22@PAGEOFF
	bl	_fprintf
	ldr	w0, [x22]
	mov	x1, x23
	bl	_fprintf
	ldr	w0, [x22]
	cbz	x20, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x20]
	str	x8, [sp]
	mov	x1, x24
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x1, x23
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	bl	_fprintf
	ldr	w0, [x22]
	cbnz	x27, LBB0_9
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh58:
	adrp	x1, l_.str.24@PAGE
Lloh59:
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_fprintf
	b	LBB0_10
LBB0_22:
Lloh60:
	adrp	x1, l_.str.26@PAGE
Lloh61:
	add	x1, x1, l_.str.26@PAGEOFF
	mov	w0, #2
	bl	_cprint
Lloh62:
	adrp	x1, l_.str.27@PAGE
Lloh63:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh64:
	adrp	x1, l_.str.28@PAGE
Lloh65:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh66:
	adrp	x1, l_.str.2@PAGE
Lloh67:
	add	x1, x1, l_.str.2@PAGEOFF
	ldr	x27, [sp, #64]                  ; 8-byte Folded Reload
	mov	x0, x27
	bl	_find
	cbz	x0, LBB0_25
; %bb.23:
	mov	x19, x0
Lloh68:
	adrp	x20, l_.str.13@PAGE
Lloh69:
	add	x20, x20, l_.str.13@PAGEOFF
Lloh70:
	adrp	x21, l_.str.29@PAGE
Lloh71:
	add	x21, x21, l_.str.29@PAGEOFF
Lloh72:
	adrp	x22, l_.str.2@PAGE
Lloh73:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_find
	mov	x23, x0
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_find
	mov	x24, x0
	ldr	x0, [x19, #8]
	bl	_make_name
	mov	x25, x0
	mov	x0, x23
	bl	_find_handler
	ldr	x8, [x0, #16]
	mov	x0, x25
	mov	x1, x24
	blr	x8
	mov	x0, x25
	bl	_free
	mov	x0, x19
	mov	x1, x22
	bl	_find_next
	mov	x19, x0
	cbnz	x0, LBB0_24
LBB0_25:
Lloh74:
	adrp	x1, l_.str.2@PAGE
Lloh75:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x27
	bl	_find
	cbz	x0, LBB0_28
; %bb.26:
	mov	x19, x0
	mov	w24, #0
Lloh76:
	adrp	x20, l_.str.30@PAGE
Lloh77:
	add	x20, x20, l_.str.30@PAGEOFF
Lloh78:
	adrp	x21, l_.str.2@PAGE
Lloh79:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	bl	_make_name
	mov	x22, x0
	add	w23, w24, #1
	stp	x24, x0, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_cprint
	mov	x0, x22
	bl	_free
	mov	x0, x19
	mov	x1, x21
	bl	_find_next
	mov	x19, x0
	mov	x24, x23
	cbnz	x0, LBB0_27
	b	LBB0_29
LBB0_28:
	mov	w23, #0
LBB0_29:
	add	w24, w23, #1
	str	x23, [sp]
Lloh80:
	adrp	x1, l_.str.31@PAGE
Lloh81:
	add	x1, x1, l_.str.31@PAGEOFF
	mov	w0, #1
	bl	_cprint
	str	x24, [sp]
Lloh82:
	adrp	x1, l_.str.32@PAGE
Lloh83:
	add	x1, x1, l_.str.32@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh84:
	adrp	x1, l_.str.33@PAGE
Lloh85:
	add	x1, x1, l_.str.33@PAGEOFF
	mov	w0, #2
	bl	_cprint
	cbz	w26, LBB0_34
; %bb.30:
Lloh86:
	adrp	x1, l_.str.34@PAGE
Lloh87:
	add	x1, x1, l_.str.34@PAGEOFF
	mov	x0, x27
	bl	_find
	cbz	x0, LBB0_35
; %bb.31:
	mov	x20, x0
	ldr	x0, [x0]
	add	x1, sp, #72
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #72]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_58
; %bb.32:
	mov	x19, x0
	tbnz	w0, #31, LBB0_59
; %bb.33:
Lloh88:
	adrp	x1, l_.str.37@PAGE
Lloh89:
	add	x1, x1, l_.str.37@PAGEOFF
	mov	x0, x27
	bl	_find
	mov	x21, x0
	cbnz	x0, LBB0_37
	b	LBB0_42
LBB0_34:
	mov	w20, #0
	mov	w21, #0
	mov	w19, #-1
	b	LBB0_41
LBB0_35:
Lloh90:
	adrp	x1, l_.str.37@PAGE
Lloh91:
	add	x1, x1, l_.str.37@PAGEOFF
	mov	x0, x27
	bl	_find
	cbz	x0, LBB0_44
; %bb.36:
	mov	x21, x0
	mov	w19, #-1
LBB0_37:
	ldr	x0, [x21]
	add	x1, sp, #72
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #72]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_61
; %bb.38:
	mov	x20, x0
	tbnz	w0, #31, LBB0_62
; %bb.39:
	cmn	w19, #1
	cset	w21, ne
	cmp	w19, w20
	b.ne	LBB0_41
; %bb.40:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	str	x19, [sp]
Lloh92:
	adrp	x1, l_.str.40@PAGE
Lloh93:
	add	x1, x1, l_.str.40@PAGEOFF
	mov	w0, #1
	bl	_cprint
	str	x19, [sp]
Lloh94:
	adrp	x1, l_.str.41@PAGE
Lloh95:
	add	x1, x1, l_.str.41@PAGEOFF
	b	LBB0_43
LBB0_41:
	str	x20, [sp]
Lloh96:
	adrp	x1, l_.str.43@PAGE
Lloh97:
	add	x1, x1, l_.str.43@PAGEOFF
	mov	w0, #1
	bl	_cprint
	str	x20, [sp]
Lloh98:
	adrp	x1, l_.str.44@PAGE
Lloh99:
	add	x1, x1, l_.str.44@PAGEOFF
	mov	w0, #2
	bl	_cprint
Lloh100:
	adrp	x1, l_.str.33@PAGE
Lloh101:
	add	x1, x1, l_.str.33@PAGEOFF
	mov	w0, #2
	bl	_cprint
Lloh102:
	adrp	x1, l_.str.42@PAGE
Lloh103:
	add	x1, x1, l_.str.42@PAGEOFF
	mov	w0, #1
	bl	_cprint
	cbz	w21, LBB0_44
LBB0_42:
	str	x19, [sp]
Lloh104:
	adrp	x1, l_.str.45@PAGE
Lloh105:
	add	x1, x1, l_.str.45@PAGEOFF
	mov	w0, #1
	bl	_cprint
	str	x19, [sp]
Lloh106:
	adrp	x1, l_.str.46@PAGE
Lloh107:
	add	x1, x1, l_.str.46@PAGEOFF
LBB0_43:
	mov	w0, #2
	bl	_cprint
Lloh108:
	adrp	x1, l_.str.33@PAGE
Lloh109:
	add	x1, x1, l_.str.33@PAGEOFF
	mov	w0, #2
	bl	_cprint
Lloh110:
	adrp	x1, l_.str.42@PAGE
Lloh111:
	add	x1, x1, l_.str.42@PAGEOFF
	mov	w0, #1
	bl	_cprint
LBB0_44:
Lloh112:
	adrp	x19, l_.str.24@PAGE
Lloh113:
	add	x19, x19, l_.str.24@PAGEOFF
Lloh114:
	adrp	x1, l_.str.47@PAGE
Lloh115:
	add	x1, x1, l_.str.47@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh116:
	adrp	x1, l_.str.33@PAGE
Lloh117:
	add	x1, x1, l_.str.33@PAGEOFF
	mov	w0, #2
	bl	_cprint
Lloh118:
	adrp	x8, l_.str.49@PAGE
Lloh119:
	add	x8, x8, l_.str.49@PAGEOFF
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x9, #0
	csel	x9, x19, x8, eq
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp]
Lloh120:
	adrp	x1, l_.str.48@PAGE
Lloh121:
	add	x1, x1, l_.str.48@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh122:
	adrp	x1, l_.str.2@PAGE
Lloh123:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x27
	bl	_find
	cbz	x0, LBB0_49
; %bb.45:
	mov	x19, x0
Lloh124:
	adrp	x20, l_.str.13@PAGE
Lloh125:
	add	x20, x20, l_.str.13@PAGEOFF
Lloh126:
	adrp	x21, l_.str.2@PAGE
Lloh127:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_47 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_find_next
	mov	x19, x0
	cbz	x0, LBB0_49
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_find
	bl	_find_handler
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_46
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=1
	mov	x22, x0
	ldr	x0, [x19, #8]
	bl	_make_name
	mov	x23, x0
	ldr	x8, [x22, #8]
	blr	x8
	mov	x0, x23
	bl	_free
	b	LBB0_46
LBB0_49:
Lloh128:
	adrp	x1, l_.str.50@PAGE
Lloh129:
	add	x1, x1, l_.str.50@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh130:
	adrp	x1, l_.str.51@PAGE
Lloh131:
	add	x1, x1, l_.str.51@PAGEOFF
	mov	w0, #0
	bl	_cprint
	ldp	x9, x8, [sp, #48]               ; 16-byte Folded Reload
	ldr	x8, [x8]
	cbz	x9, LBB0_51
; %bb.50:
	ldr	x9, [x9]
	b	LBB0_52
LBB0_51:
Lloh132:
	adrp	x9, l_.str.53@PAGE
Lloh133:
	add	x9, x9, l_.str.53@PAGEOFF
LBB0_52:
	stp	x8, x9, [sp, #8]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	str	x24, [sp]
Lloh134:
	adrp	x1, l_.str.52@PAGE
Lloh135:
	add	x1, x1, l_.str.52@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh136:
	adrp	x1, l_.str.2@PAGE
Lloh137:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x27
	bl	_find
	cbz	x0, LBB0_57
; %bb.53:
	mov	x19, x0
Lloh138:
	adrp	x20, l_.str.13@PAGE
Lloh139:
	add	x20, x20, l_.str.13@PAGEOFF
Lloh140:
	adrp	x21, l_.str.2@PAGE
Lloh141:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_55
LBB0_54:                                ;   in Loop: Header=BB0_55 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_find_next
	mov	x19, x0
	cbz	x0, LBB0_57
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_find
	bl	_find_handler
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_54
; %bb.56:                               ;   in Loop: Header=BB0_55 Depth=1
	mov	x22, x0
	ldr	x0, [x19, #8]
	bl	_make_name
	mov	x23, x0
	ldr	x8, [x22, #8]
	blr	x8
	mov	x0, x23
	bl	_free
	b	LBB0_54
LBB0_57:
Lloh142:
	adrp	x1, l_.str.54@PAGE
Lloh143:
	add	x1, x1, l_.str.54@PAGEOFF
	mov	w0, #1
	bl	_cprint
Lloh144:
	adrp	x1, l_.str.42@PAGE
Lloh145:
	add	x1, x1, l_.str.42@PAGEOFF
	mov	w0, #0
	bl	_cprint
Lloh146:
	adrp	x1, l_.str.55@PAGE
Lloh147:
	add	x1, x1, l_.str.55@PAGEOFF
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_cprint
LBB0_58:
Lloh148:
	adrp	x1, l_.str.35@PAGE
Lloh149:
	add	x1, x1, l_.str.35@PAGEOFF
	b	LBB0_60
LBB0_59:
Lloh150:
	adrp	x1, l_.str.36@PAGE
Lloh151:
	add	x1, x1, l_.str.36@PAGEOFF
LBB0_60:
	mov	x0, x20
	b	LBB0_64
LBB0_61:
Lloh152:
	adrp	x1, l_.str.38@PAGE
Lloh153:
	add	x1, x1, l_.str.38@PAGEOFF
	b	LBB0_63
LBB0_62:
Lloh154:
	adrp	x1, l_.str.39@PAGE
Lloh155:
	add	x1, x1, l_.str.39@PAGEOFF
LBB0_63:
	mov	x0, x21
LBB0_64:
	bl	_ex
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpAdd	Lloh122, Lloh123
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpAdd	Lloh126, Lloh127
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpAdd	Lloh130, Lloh131
	.loh AdrpAdd	Lloh128, Lloh129
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpAdd	Lloh136, Lloh137
	.loh AdrpAdd	Lloh134, Lloh135
	.loh AdrpAdd	Lloh140, Lloh141
	.loh AdrpAdd	Lloh138, Lloh139
	.loh AdrpAdd	Lloh146, Lloh147
	.loh AdrpAdd	Lloh144, Lloh145
	.loh AdrpAdd	Lloh142, Lloh143
	.loh AdrpAdd	Lloh148, Lloh149
	.loh AdrpAdd	Lloh150, Lloh151
	.loh AdrpAdd	Lloh152, Lloh153
	.loh AdrpAdd	Lloh154, Lloh155
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

l_.str.1:                               ; @.str.1
	.asciz	"argument"

l_.str.2:                               ; @.str.2
	.asciz	"option"

l_.str.3:                               ; @.str.3
	.asciz	"function"

l_.str.4:                               ; @.str.4
	.asciz	"int %s(struct %s_options*, int, char **);\n"

l_.str.5:                               ; @.str.5
	.asciz	"int %s(void*, int, char **);\n"

	.comm	_cfile,4,2                      ; @cfile
l_.str.6:                               ; @.str.6
	.asciz	"static int\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s_wrap(int argc, char **argv)\n"

l_.str.8:                               ; @.str.8
	.asciz	"{\n"

l_.str.9:                               ; @.str.9
	.asciz	"struct %s_options opt;\n"

l_.str.10:                              ; @.str.10
	.asciz	"int ret;\n"

l_.str.11:                              ; @.str.11
	.asciz	"int optidx = 0;\n"

l_.str.12:                              ; @.str.12
	.asciz	"struct getargs args[] = {\n"

l_.str.13:                              ; @.str.13
	.asciz	"type"

l_.str.14:                              ; @.str.14
	.asciz	"long"

l_.str.15:                              ; @.str.15
	.asciz	"short"

l_.str.16:                              ; @.str.16
	.asciz	"help"

l_.str.17:                              ; @.str.17
	.asciz	"{ "

l_.str.18:                              ; @.str.18
	.asciz	"\"%s\", "

l_.str.19:                              ; @.str.19
	.asciz	"NULL, "

l_.str.20:                              ; @.str.20
	.asciz	"'%c', "

l_.str.21:                              ; @.str.21
	.asciz	"0, "

l_.str.22:                              ; @.str.22
	.asciz	"%s, "

l_.str.23:                              ; @.str.23
	.asciz	"\"%s\""

l_.str.24:                              ; @.str.24
	.asciz	"NULL"

l_.str.25:                              ; @.str.25
	.asciz	" },\n"

l_.str.26:                              ; @.str.26
	.asciz	"{ \"help\", 'h', arg_flag, NULL, NULL, NULL }\n"

l_.str.27:                              ; @.str.27
	.asciz	"};\n"

l_.str.28:                              ; @.str.28
	.asciz	"int help_flag = 0;\n"

l_.str.29:                              ; @.str.29
	.asciz	"default"

l_.str.30:                              ; @.str.30
	.asciz	"args[%d].value = &opt.%s;\n"

l_.str.31:                              ; @.str.31
	.asciz	"args[%d].value = &help_flag;\n"

l_.str.32:                              ; @.str.32
	.asciz	"if(getarg(args, %d, argc, argv, &optidx))\n"

l_.str.33:                              ; @.str.33
	.asciz	"goto usage;\n"

l_.str.34:                              ; @.str.34
	.asciz	"min_args"

l_.str.35:                              ; @.str.35
	.asciz	"min_args is not numeric"

l_.str.36:                              ; @.str.36
	.asciz	"min_args must be non-negative"

l_.str.37:                              ; @.str.37
	.asciz	"max_args"

l_.str.38:                              ; @.str.38
	.asciz	"max_args is not numeric"

l_.str.39:                              ; @.str.39
	.asciz	"max_args must be non-negative"

l_.str.40:                              ; @.str.40
	.asciz	"if(argc - optidx != %d) {\n"

l_.str.41:                              ; @.str.41
	.asciz	"fprintf(stderr, \"Need exactly %u parameters (%%u given).\\n\\n\", argc - optidx);\n"

l_.str.42:                              ; @.str.42
	.asciz	"}\n"

l_.str.43:                              ; @.str.43
	.asciz	"if(argc - optidx > %d) {\n"

l_.str.44:                              ; @.str.44
	.asciz	"fprintf(stderr, \"Arguments given (%%u) are more than expected (%u).\\n\\n\", argc - optidx);\n"

l_.str.45:                              ; @.str.45
	.asciz	"if(argc - optidx < %d) {\n"

l_.str.46:                              ; @.str.46
	.asciz	"fprintf(stderr, \"Arguments given (%%u) are less than expected (%u).\\n\\n\", argc - optidx);\n"

l_.str.47:                              ; @.str.47
	.asciz	"if(help_flag)\n"

l_.str.48:                              ; @.str.48
	.asciz	"ret = %s(%s, argc - optidx, argv + optidx);\n"

l_.str.49:                              ; @.str.49
	.asciz	"&opt"

l_.str.50:                              ; @.str.50
	.asciz	"return ret;\n"

l_.str.51:                              ; @.str.51
	.asciz	"usage:\n"

l_.str.52:                              ; @.str.52
	.asciz	"arg_printusage (args, %d, \"%s\", \"%s\");\n"

l_.str.53:                              ; @.str.53
	.space	1

l_.str.54:                              ; @.str.54
	.asciz	"return 0;\n"

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

	.no_dead_strip	_gen_wrapper
.subsections_via_symbols
