	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getopt
_getopt:                                ## @getopt
	.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, %r14
	movl	%edi, %ebx
	movslq	_getopt.sp(%rip), %r13
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	cmpq	$1, %r13
	jne	LBB0_1
## %bb.6:
	cmpl	%ebx, %r15d
	jge	LBB0_9
## %bb.7:
	movq	(%r14,%r15,8), %r12
	cmpb	$45, (%r12)
	jne	LBB0_9
## %bb.8:
	cmpb	$0, 1(%r12)
	je	LBB0_9
## %bb.10:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_strcmp
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_2
## %bb.11:
	leal	1(%r15), %eax
	movq	_optind@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_9:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_1:
	movq	(%r14,%r15,8), %r12
LBB0_2:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movsbl	(%r12,%r13), %ebx
	movq	_optopt@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	cmpl	$58, %ebx
	je	LBB0_4
## %bb.3:
	movq	%rdx, %rdi
	movl	%ebx, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.12:
	incq	%r13
	cmpb	$58, 1(%rax)
	jne	LBB0_19
## %bb.13:
	leal	1(%r15), %eax
	cmpb	$0, (%r12,%r13)
	movq	_optind@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	je	LBB0_15
## %bb.14:
	addq	%r13, %r12
	jmp	LBB0_18
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
	movq	_optind@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rax
	movq	(%r14,%rax,8), %rcx
	movslq	_getopt.sp(%rip), %rdx
	leaq	1(%rdx), %rsi
	movl	%esi, _getopt.sp(%rip)
	movl	$63, %ebx
	cmpb	$0, 1(%rcx,%rdx)
	jne	LBB0_22
## %bb.5:
	incl	%eax
	movl	%eax, (%rdi)
	movl	$1, _getopt.sp(%rip)
	jmp	LBB0_22
LBB0_19:
	movl	%r13d, _getopt.sp(%rip)
	cmpb	$0, (%r12,%r13)
	jne	LBB0_21
## %bb.20:
	movl	$1, _getopt.sp(%rip)
	leal	1(%r15), %eax
	movq	_optind@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_21:
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_22
LBB0_15:
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_16
## %bb.17:
	addl	$2, %r15d
	movl	%r15d, (%rcx)
	cltq
	movq	(%r14,%rax,8), %r12
LBB0_18:
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	movl	$1, _getopt.sp(%rip)
	jmp	LBB0_22
LBB0_16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
	movl	$1, _getopt.sp(%rip)
	movl	$63, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @getopt.sp
_getopt.sp:
	.long	1                               ## 0x1

	.comm	_optind,4,2                     ## @optind
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--"

	.comm	_optopt,4,2                     ## @optopt
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	": illegal option -- %c\n"

	.comm	_optarg,8,3                     ## @optarg
L_.str.2:                               ## @.str.2
	.asciz	": option requires an argument -- %c\n"

	.no_dead_strip	_getopt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getopt
_getopt:                                ; @getopt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x2
	mov	x20, x1
	mov	x21, x0
	adrp	x24, _getopt.sp@PAGE
	ldrsw	x27, [x24, _getopt.sp@PAGEOFF]
Lloh0:
	adrp	x25, _optind@GOTPAGE
Lloh1:
	ldr	x25, [x25, _optind@GOTPAGEOFF]
	ldrsw	x26, [x25]
	cmp	w27, #1
	b.ne	LBB0_7
; %bb.1:
	cmp	w26, w21
	b.ge	LBB0_6
; %bb.2:
	ldr	x22, [x20, x26, lsl #3]
	ldrb	w8, [x22]
	cmp	w8, #45
	b.ne	LBB0_6
; %bb.3:
	ldrb	w8, [x22, #1]
	cbz	w8, LBB0_6
; %bb.4:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.5:
	add	w8, w26, #1
	str	w8, [x25]
LBB0_6:
Lloh4:
	adrp	x8, _EOF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
	b	LBB0_22
LBB0_7:
	ldr	x22, [x20, x26, lsl #3]
LBB0_8:
	ldrsb	w19, [x22, x27]
Lloh7:
	adrp	x8, _optopt@GOTPAGE
Lloh8:
	ldr	x8, [x8, _optopt@GOTPAGEOFF]
Lloh9:
	str	w19, [x8]
	cmp	w19, #58
	b.eq	LBB0_15
; %bb.9:
	mov	x0, x23
	mov	x1, x19
	bl	_strchr
	cbz	x0, LBB0_15
; %bb.10:
	ldrb	w9, [x0, #1]
	add	x8, x27, #1
	cmp	w9, #58
	b.ne	LBB0_19
; %bb.11:
	add	x9, x22, x8
	ldrb	w10, [x9]
	add	w8, w26, #1
	str	w8, [x25]
	cbnz	w10, LBB0_14
; %bb.12:
	cmp	w8, w21
	b.ge	LBB0_23
; %bb.13:
	add	w9, w26, #2
	str	w9, [x25]
	ldr	x9, [x20, w8, sxtw #3]
LBB0_14:
Lloh10:
	adrp	x8, _optarg@GOTPAGE
Lloh11:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh12:
	str	x9, [x8]
	mov	w8, #1
	str	w8, [x24, _getopt.sp@PAGEOFF]
	b	LBB0_22
LBB0_15:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	ldrsw	x8, [x25]
	ldr	x9, [x20, x8, lsl #3]
	ldrsw	x10, [x24, _getopt.sp@PAGEOFF]
	add	x10, x10, #1
	str	w10, [x24, _getopt.sp@PAGEOFF]
	ldrb	w9, [x9, x10]
	cbz	w9, LBB0_17
; %bb.16:
	mov	w19, #63
	b	LBB0_22
LBB0_17:
	add	w8, w8, #1
	str	w8, [x25]
LBB0_18:
	mov	w8, #1
	str	w8, [x24, _getopt.sp@PAGEOFF]
	mov	w19, #63
	b	LBB0_22
LBB0_19:
	str	w8, [x24, _getopt.sp@PAGEOFF]
	ldrb	w8, [x22, x8]
	cbnz	w8, LBB0_21
; %bb.20:
	mov	w8, #1
	str	w8, [x24, _getopt.sp@PAGEOFF]
	add	w8, w26, #1
	str	w8, [x25]
LBB0_21:
Lloh18:
	adrp	x8, _optarg@GOTPAGE
Lloh19:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh20:
	str	xzr, [x8]
LBB0_22:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_23:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @getopt.sp
_getopt.sp:
	.long	1                               ; 0x1

	.comm	_optind,4,2                     ; @optind
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

	.comm	_optopt,4,2                     ; @optopt
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	": illegal option -- %c\n"

	.comm	_optarg,8,3                     ; @optarg
l_.str.2:                               ; @.str.2
	.asciz	": option requires an argument -- %c\n"

	.no_dead_strip	_getopt
.subsections_via_symbols
