	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getopt_long                    ## -- Begin function getopt_long
	.p2align	4, 0x90
_getopt_long:                           ## @getopt_long
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_optopt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_optind@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	movl	$-1, %r15d
	cmpl	%edi, %eax
	jge	LBB0_22
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	(%rsi,%rax,8), %rdi
	callq	_strlen
	cmpl	$3, %eax
	jl	LBB0_23
## %bb.2:
	movslq	(%r14), %rax
	movq	(%rbx,%rax,8), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_23:
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_getopt                         ## TAILCALL
LBB0_3:
	movslq	(%r14), %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx,%rax,8), %rbx
	addq	$2, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcspn
	movq	%rax, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_strncmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	cmoveq	%r13, %r12
	addl	%ecx, %r14d
	movq	32(%r13), %rdi
	addq	$32, %r13
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.6:
	cmpl	$1, %r14d
	movq	_optind@GOTPCREL(%rip), %r14
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_7
## %bb.8:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	%r12, %rax
	subq	%rdx, %rax
	shrq	$5, %rax
	movl	%eax, (%rcx)
LBB0_10:
	movq	8(%r12), %rax
	movl	16(%r12), %r15d
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	%r15d, (%rax)
	xorl	%r15d, %r15d
LBB0_12:
	movq	24(%r12), %r12
	movq	_no_argument@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	(%r14), %ebx
	movslq	%ebx, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rdi
	movl	$61, %esi
	callq	_strchr
	cmpq	%r13, %r12
	jne	LBB0_13
## %bb.19:
	testq	%rax, %rax
	movl	$63, %eax
	cmovnel	%eax, %r15d
	jmp	LBB0_20
LBB0_7:
	movl	(%r14), %ebx
	movl	$63, %r15d
	jmp	LBB0_21
LBB0_13:
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	movq	%rcx, %rdx
	cmoveq	%rax, %rdx
	movq	_optarg@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movq	_required_argument@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %r12
	jne	LBB0_20
## %bb.14:
	testq	%rax, %rax
	jne	LBB0_18
## %bb.15:
	incl	%ebx
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_16
## %bb.17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r14,8), %rcx
	movq	%rcx, (%rsi)
	jmp	LBB0_18
LBB0_20:
	movq	_optind@GOTPCREL(%rip), %r14
	jmp	LBB0_21
LBB0_16:
	xorl	%ecx, %ecx
LBB0_18:
	movq	_optind@GOTPCREL(%rip), %r14
	testq	%rcx, %rcx
	movl	$58, %eax
	cmovel	%eax, %r15d
LBB0_21:
	incl	%ebx
	movl	%ebx, (%r14)
LBB0_22:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_optarg,8,3                     ## @optarg
	.comm	_optopt,8,3                     ## @optopt
	.comm	_optind,4,2                     ## @optind
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--"

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

	.comm	_no_argument,8,3                ## @no_argument
	.comm	_required_argument,8,3          ## @required_argument
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getopt_long                    ; -- Begin function getopt_long
	.p2align	2
_getopt_long:                           ; @getopt_long
	.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
Lloh0:
	adrp	x9, _optarg@GOTPAGE
Lloh1:
	ldr	x9, [x9, _optarg@GOTPAGEOFF]
Lloh2:
	adrp	x8, _optopt@GOTPAGE
Lloh3:
	ldr	x8, [x8, _optopt@GOTPAGEOFF]
Lloh4:
	str	xzr, [x9]
Lloh5:
	str	xzr, [x8]
Lloh6:
	adrp	x25, _optind@GOTPAGE
Lloh7:
	ldr	x25, [x25, _optind@GOTPAGEOFF]
	ldrsw	x8, [x25]
	cmp	w8, w0
	b.ge	LBB0_4
; %bb.1:
	mov	x21, x4
	mov	x26, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, x8, lsl #3]
	bl	_strlen
	cmp	w0, #3
	b.lt	LBB0_3
; %bb.2:
	ldrsw	x8, [x25]
	ldr	x0, [x19, x8, lsl #3]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_6
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	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
	b	_getopt
LBB0_4:
	mov	w21, #-1
LBB0_5:
	mov	x0, x21
	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_6:
	ldrsw	x8, [x25]
	ldr	x8, [x19, x8, lsl #3]
	add	x23, x8, #2
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_strcspn
	mov	x24, x0
	ldr	x0, [x26]
	cbz	x0, LBB0_16
; %bb.7:
	mov	w28, #0
	mov	x27, #0
	mov	x22, x26
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x23
	mov	x2, x24
	bl	_strncmp
	cmp	x0, #0
	csel	x27, x22, x27, eq
	cinc	w28, w28, eq
	ldr	x0, [x22, #32]!
	cbnz	x0, LBB0_8
; %bb.9:
	cmp	w28, #1
	b.ne	LBB0_16
; %bb.10:
	cbz	x21, LBB0_12
; %bb.11:
	sub	x8, x27, x26
	lsr	x8, x8, #5
	str	w8, [x21]
LBB0_12:
	ldr	x8, [x27, #8]
	ldr	w21, [x27, #16]
	cbz	x8, LBB0_14
; %bb.13:
	str	w21, [x8]
	mov	w21, #0
LBB0_14:
	ldr	x23, [x27, #24]
Lloh12:
	adrp	x8, _no_argument@GOTPAGE
Lloh13:
	ldr	x8, [x8, _no_argument@GOTPAGEOFF]
Lloh14:
	ldr	x24, [x8]
	ldrsw	x22, [x25]
	ldr	x0, [x19, x22, lsl #3]
	mov	w1, #61
	bl	_strchr
	cmp	x23, x24
	b.ne	LBB0_18
; %bb.15:
	cmp	x0, #0
	mov	w8, #63
	csel	w21, w21, w8, eq
	b	LBB0_17
LBB0_16:
	ldr	w22, [x25]
	mov	w21, #63
LBB0_17:
	add	w8, w22, #1
	str	w8, [x25]
	b	LBB0_5
LBB0_18:
	cmp	x0, #0
	csinc	x8, xzr, x0, eq
Lloh15:
	adrp	x9, _optarg@GOTPAGE
Lloh16:
	ldr	x9, [x9, _optarg@GOTPAGEOFF]
	str	x8, [x9]
Lloh17:
	adrp	x8, _required_argument@GOTPAGE
Lloh18:
	ldr	x8, [x8, _required_argument@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_17
; %bb.19:
	cbz	x0, LBB0_21
; %bb.20:
	add	x8, x0, #1
	b	LBB0_24
LBB0_21:
	add	w22, w22, #1
	cmp	w22, w20
	b.ge	LBB0_23
; %bb.22:
	ldr	x8, [x19, w22, sxtw #3]
	str	x8, [x9]
	b	LBB0_24
LBB0_23:
	mov	x8, #0
LBB0_24:
	cmp	x8, #0
	mov	w8, #58
	csel	w21, w8, w21, eq
	b	LBB0_17
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_optarg,8,3                     ; @optarg
	.comm	_optopt,8,3                     ; @optopt
	.comm	_optind,4,2                     ; @optind
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

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

	.comm	_no_argument,8,3                ; @no_argument
	.comm	_required_argument,8,3          ; @required_argument
.subsections_via_symbols
