	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getopts
_getopts:                               ## @getopts
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%r8), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.1:
	movb	(%rbx), %r12b
	testb	%r12b, %r12b
	je	LBB0_8
LBB0_2:
	incq	%rbx
	movb	(%rdi), %r8b
	cmpb	%r12b, %r8b
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_16
## %bb.3:
	movq	%rdi, %rcx
LBB0_4:
	cmpb	$58, 1(%rcx)
	jne	LBB0_22
## %bb.5:
	cmpb	$0, (%rbx)
	movq	(%r15), %rcx
	movq	(%rcx), %rsi
	je	LBB0_25
## %bb.6:
	cmpq	%rsi, %rbx
	je	LBB0_26
## %bb.7:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rbx, %rsi
	jmp	LBB0_33
LBB0_8:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.10:
	cmpb	$45, (%rcx)
	jne	LBB0_14
## %bb.11:
	cmpb	$0, 1(%rcx)
	je	LBB0_14
## %bb.12:
	leaq	1(%rcx), %rbx
	addq	$8, %rax
	movq	%rax, (%r15)
	movb	(%rbx), %r12b
	cmpb	$45, %r12b
	jne	LBB0_2
## %bb.13:
	movb	$45, %r12b
	cmpb	$0, 2(%rcx)
	jne	LBB0_2
LBB0_14:
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	subq	%r14, %rax
	shrq	$3, %rax
	incl	%eax
	movq	$0, (%r15)
	movl	$1, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movb	$63, %r12b
	xorl	%ecx, %ecx
	jmp	LBB0_32
LBB0_15:
	movl	$1, %eax
	jmp	LBB0_39
LBB0_16:
	movl	%r8d, %eax
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=1
	leaq	1(%rdi), %rcx
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	movb	%al, %dl
	movzbl	1(%rdx,%rdi), %eax
	movq	%rcx, %rdi
	cmpb	%r12b, %al
	je	LBB0_4
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	testb	%al, %al
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	xorl	%edx, %edx
	cmpb	$58, 1(%rdi)
	sete	%al
	jne	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	2(%rdi), %rcx
	jmp	LBB0_18
LBB0_22:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_30
LBB0_23:
	cmpb	$58, %r8b
	jne	LBB0_29
## %bb.24:
	leaq	-58(%rbp), %rsi
	movb	%r12b, -58(%rbp)
	movb	$0, -57(%rbp)
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movb	$63, %r12b
	movq	%rbx, %rcx
	jmp	LBB0_28
LBB0_25:
	testq	%rsi, %rsi
	je	LBB0_41
LBB0_26:
	addq	$8, %rcx
	movq	%rcx, (%r15)
	xorl	%ecx, %ecx
LBB0_27:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_28:
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_29:
	movsbl	%r12b, %esi
	leaq	L_.str(%rip), %rdi
	callq	_out2fmt_flush
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movb	$63, %r12b
LBB0_30:
	movq	%rbx, %rcx
LBB0_31:
	xorl	%eax, %eax
LBB0_32:
	xorl	%esi, %esi
LBB0_33:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdx
	movq	%rdx, %r15
	subq	%r14, %r15
	shrq	$3, %r15
	incl	%r15d
	testq	%rdx, %rdx
	cmovel	%eax, %r15d
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, (%r13)
	leaq	L_.str.2(%rip), %rdi
	testq	%rsi, %rsi
	je	LBB0_35
## %bb.34:
	xorl	%edx, %edx
	callq	_setvarsafe
	jmp	LBB0_36
LBB0_35:
	callq	_unsetvar
LBB0_36:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rdx
	leaq	-58(%rbp), %r14
	movq	%r14, %rdi
	movl	$10, %esi
	movl	%r15d, %ecx
	callq	_fmtstr
	movq	_VNOFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	_setvarsafe
	movl	%eax, %ebx
	orl	%r13d, %ebx
	movb	%r12b, -58(%rbp)
	movb	$0, -57(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_setvarsafe
	orl	%ebx, %eax
	je	LBB0_38
## %bb.37:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_flushall
	movq	_EXERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exraise
LBB0_38:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_39:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_44
## %bb.40:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	cmpb	$58, %r8b
	jne	LBB0_43
## %bb.42:
	leaq	-58(%rbp), %rsi
	movb	%r12b, -58(%rbp)
	movb	$0, -57(%rbp)
	xorl	%ecx, %ecx
	movb	$58, %r12b
	jmp	LBB0_27
LBB0_43:
	movsbl	%r12b, %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_out2fmt_flush
	xorl	%ecx, %ecx
	movb	$63, %r12b
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_31
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Illegal option -%c\n"

L_.str.1:                               ## @.str.1
	.asciz	"No arg for -%c option\n"

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

	.comm	_INTOFF,4,2                     ## @INTOFF
	.comm	_INTON,4,2                      ## @INTON
L_.str.3:                               ## @.str.3
	.asciz	"%d"

L_.str.4:                               ## @.str.4
	.asciz	"OPTIND"

	.comm	_VNOFUNC,4,2                    ## @VNOFUNC
	.comm	_EXERROR,4,2                    ## @EXERROR
	.no_dead_strip	_getopts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getopts
_getopts:                               ; @getopts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x9, [x4]
	cbz	x9, LBB0_4
; %bb.1:
	ldrb	w25, [x9]
	cbz	w25, LBB0_4
LBB0_2:
	add	x24, x9, #1
	ldrb	w8, [x0]
	cmp	w8, w25
	b.ne	LBB0_13
; %bb.3:
	mov	x10, x0
	b	LBB0_16
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.5:
	ldr	x10, [x8]
	cbz	x10, LBB0_11
; %bb.6:
	ldrb	w9, [x10]
	cmp	w9, #45
	b.ne	LBB0_11
; %bb.7:
	mov	x9, x10
	ldrb	w11, [x9, #1]!
	cbz	w11, LBB0_11
; %bb.8:
	add	x8, x8, #8
	str	x8, [x20]
	ldrb	w25, [x9]
	cmp	w25, #45
	b.ne	LBB0_2
; %bb.9:
	ldrb	w10, [x10, #2]
	cbz	w10, LBB0_11
; %bb.10:
	mov	w25, #45
	b	LBB0_2
LBB0_11:
	mov	x9, #0
	mov	x1, #0
	sub	x8, x8, x22
	lsr	x8, x8, #3
	add	w8, w8, #1
	str	xzr, [x20]
	mov	w23, #1
	mov	w25, #63
	b	LBB0_28
LBB0_12:
	mov	w23, #1
	b	LBB0_33
LBB0_13:
	mov	w9, #1
	mov	x11, x8
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	tst	w11, #0xff
	b.eq	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x10, x0
	ldrb	w11, [x10, #1]!
	add	x12, x0, #2
	cmp	w11, #58
	cinc	x11, x9, eq
	csel	x10, x12, x10, eq
	ldrb	w11, [x0, x11]
	mov	x0, x10
	cmp	w11, w25
	b.ne	LBB0_14
LBB0_16:
	ldrb	w9, [x10, #1]
	cmp	w9, #58
	b.ne	LBB0_20
; %bb.17:
	ldrb	w9, [x24]
	ldr	x10, [x20]
	ldr	x1, [x10]
	cbz	w9, LBB0_23
; %bb.18:
	cmp	x24, x1
	b.eq	LBB0_24
; %bb.19:
	mov	x9, #0
	mov	w23, #0
	mov	w8, #0
	mov	x1, x24
	b	LBB0_28
LBB0_20:
	mov	w23, #0
	mov	w8, #0
	mov	x1, #0
	b	LBB0_27
LBB0_21:
	cmp	w8, #58
	b.ne	LBB0_25
; %bb.22:
	mov	w23, #0
	mov	w8, #0
	add	x1, sp, #14
	strb	w25, [sp, #14]
	strb	wzr, [sp, #15]
	b	LBB0_26
LBB0_23:
	cbz	x1, LBB0_35
LBB0_24:
	mov	x9, #0
	mov	w23, #0
	mov	w8, #0
	add	x10, x10, #8
	str	x10, [x20]
	b	LBB0_28
LBB0_25:
	sxtb	w1, w25
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_out2fmt_flush
	mov	w23, #0
	mov	w8, #0
	mov	x1, #0
LBB0_26:
	mov	w25, #63
LBB0_27:
	mov	x9, x24
LBB0_28:
	ldr	x10, [x20]
	sub	x11, x10, x22
	lsr	x11, x11, #3
	cmp	x10, #0
	csinc	w22, w8, w11, eq
	str	x9, [x19]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	cbz	x1, LBB0_30
; %bb.29:
	mov	w2, #0
	bl	_setvarsafe
	b	LBB0_31
LBB0_30:
	bl	_unsetvar
LBB0_31:
	mov	x24, x0
Lloh7:
	adrp	x2, l_.str.3@PAGE
Lloh8:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #14
	mov	w1, #10
	mov	x3, x22
	bl	_fmtstr
Lloh9:
	adrp	x8, _VNOFUNC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VNOFUNC@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	add	x1, sp, #14
	bl	_setvarsafe
	orr	w22, w0, w24
	strb	w25, [sp, #14]
	strb	wzr, [sp, #15]
	add	x1, sp, #14
	mov	x0, x21
	mov	w2, #0
	bl	_setvarsafe
	orr	w8, w22, w0
	cbz	w8, LBB0_33
; %bb.32:
	str	xzr, [x20]
	str	xzr, [x19]
	bl	_flushall
Lloh14:
	adrp	x8, _EXERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EXERROR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_exraise
LBB0_33:
	ldr	x8, [sp, #24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.34:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_35:
	cmp	w8, #58
	b.ne	LBB0_37
; %bb.36:
	mov	x9, #0
	mov	w23, #0
	mov	w8, #0
	add	x1, sp, #14
	strb	w25, [sp, #14]
	strb	wzr, [sp, #15]
	mov	w25, #58
	b	LBB0_28
LBB0_37:
	sxtb	w1, w25
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_out2fmt_flush
	mov	x9, #0
	mov	w23, #0
	mov	w8, #0
	mov	x1, #0
	mov	w25, #63
	b	LBB0_28
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Illegal option -%c\n"

l_.str.1:                               ; @.str.1
	.asciz	"No arg for -%c option\n"

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

	.comm	_INTOFF,4,2                     ; @INTOFF
	.comm	_INTON,4,2                      ; @INTON
l_.str.3:                               ; @.str.3
	.asciz	"%d"

l_.str.4:                               ; @.str.4
	.asciz	"OPTIND"

	.comm	_VNOFUNC,4,2                    ; @VNOFUNC
	.comm	_EXERROR,4,2                    ; @EXERROR
	.no_dead_strip	_getopts
.subsections_via_symbols
