	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cli_consume_option             ## -- Begin function cli_consume_option
	.p2align	4, 0x90
_cli_consume_option:                    ## @cli_consume_option
	.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	_CLI_OPT_END@GOTPCREL(%rip), %r15
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_21:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r12
	cmpq	$0, 8(%rdi)
	jle	LBB0_2
## %bb.3:
	movq	24(%r12), %rax
	movq	(%rax), %r14
	movq	%r14, 16(%r12)
	cmpb	$45, (%r14)
	jne	LBB0_4
## %bb.5:
	cmpb	$45, 1(%r14)
	jne	LBB0_13
## %bb.6:
	movq	32(%r12), %rbx
	movq	_CLI_OPT_DEFAULT@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpl	%eax, (%rbx)
	jne	LBB0_7
LBB0_12:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_20
LBB0_2:
	movq	$0, 16(%r12)
	jmp	LBB0_21
LBB0_4:
	movq	_CLI_OPT_DEFAULT@GOTPCREL(%rip), %r15
	jmp	LBB0_21
LBB0_13:
	movq	32(%r12), %rbx
	movq	_CLI_OPT_DEFAULT@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpl	%eax, (%rbx)
	jne	LBB0_14
LBB0_19:
	leaq	L_.str.1(%rip), %rax
LBB0_20:
	movq	%rax, (%r12)
	jmp	LBB0_21
LBB0_7:
	addq	$2, %r14
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	24(%rbx), %rcx
	cmpl	%eax, 24(%rbx)
	movq	%rcx, %rbx
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r13), %eax
	jmp	LBB0_11
LBB0_14:
	incq	%r14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	24(%rbx), %rcx
	cmpl	%eax, 24(%rbx)
	movq	%rcx, %rbx
	je	LBB0_19
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r13), %eax
	jmp	LBB0_18
LBB0_22:
	decq	8(%r12)
	addq	$8, 24(%r12)
	movq	%rbx, %r15
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_CLI_OPT_END,4,2                ## @CLI_OPT_END
	.comm	_CLI_OPT_DEFAULT,4,2            ## @CLI_OPT_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown long option"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown option"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cli_consume_option             ; -- Begin function cli_consume_option
	.p2align	2
_cli_consume_option:                    ; @cli_consume_option
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_3
LBB0_1:
Lloh0:
	adrp	x21, _CLI_OPT_END@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CLI_OPT_END@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cmp	x8, #0
	b.le	LBB0_8
; %bb.4:
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	str	x9, [x19, #16]
	ldrb	w8, [x9]
Lloh2:
	adrp	x21, _CLI_OPT_DEFAULT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CLI_OPT_DEFAULT@GOTPAGEOFF]
	cmp	w8, #45
	b.ne	LBB0_2
; %bb.5:
	mov	x20, x9
	ldrb	w8, [x20, #1]!
	cmp	w8, #45
	b.ne	LBB0_9
; %bb.6:
	ldr	x22, [x19, #32]
	ldr	w10, [x22]
	ldr	w8, [x21]
	cmp	w10, w8
	b.ne	LBB0_18
LBB0_7:
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_17
LBB0_8:
	str	xzr, [x19, #16]
	b	LBB0_1
LBB0_9:
	ldr	x22, [x19, #32]
	ldr	w9, [x22]
	ldr	w8, [x21]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x21]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x22, #24]!
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, w8
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [x22, #8]
	cbz	x1, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_10
LBB0_15:
	ldr	x8, [x19, #8]
	sub	x8, x8, #1
	str	x8, [x19, #8]
	ldr	x8, [x19, #24]
	add	x8, x8, #8
	str	x8, [x19, #24]
	mov	x21, x22
	b	LBB0_2
LBB0_16:
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_17:
	str	x8, [x19]
	b	LBB0_1
LBB0_18:
	add	x20, x9, #2
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	w9, [x22, #24]!
	cmp	w9, w8
	b.eq	LBB0_7
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22, #16]
	cbz	x1, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [x21]
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CLI_OPT_END,4,2                ; @CLI_OPT_END
	.comm	_CLI_OPT_DEFAULT,4,2            ; @CLI_OPT_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown long option"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown option"

.subsections_via_symbols
