	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdoption                      ## -- Begin function cmdoption
	.p2align	4, 0x90
_cmdoption:                             ## @cmdoption
	.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	%rdx, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.1:
	movq	%rdi, %r12
	movb	(%rdi), %bl
	testb	%bl, %bl
	je	LBB0_27
## %bb.2:
	movq	%rsi, %r13
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r12, %rdi
	movl	$44, %esi
	callq	_strchr
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$0, (%r15)
	movb	(%r12), %bl
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	movl	$1, %eax
	cmpb	$110, %bl
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$111, 1(%r12)
	movq	%r12, %rbx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	2(%r12), %rbx
	movl	$1, %ecx
	xorl	%eax, %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rbx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	24(%r13), %rsi
	addq	$16, %r13
	testq	%rsi, %rsi
	je	LBB0_18
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_STREQ
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	%r12, %rbx
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	testq	%r14, %r14
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	8(%r13), %rsi
	movq	%r12, %rdi
	callq	_STREQ
	movq	%rax, %r14
	testq	%rax, %rax
	cmovneq	%r13, %r14
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_20
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_20
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	testq	%rax, %rax
	jne	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%r14, %r14
	jne	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_plog
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	cmovnel	-60(%rbp), %ecx                 ## 4-byte Folded Reload
	cmovneq	%r13, %r14
	movl	(%r14), %eax
	testl	%ecx, %ecx
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	notl	%eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	andl	%eax, (%rcx)
	jmp	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %r12
	incq	%r12
	movb	$44, (%r15)
	movb	1(%r15), %bl
	testb	%bl, %bl
	jne	LBB0_3
LBB0_27:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"option \"%s\" not recognized"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdoption                      ; -- Begin function cmdoption
	.p2align	2
_cmdoption:                             ; @cmdoption
	.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
	cbz	x0, LBB0_23
; %bb.1:
	mov	x23, x0
	ldrb	w21, [x0]
	cbz	w21, LBB0_23
; %bb.2:
	mov	x20, x2
	mov	x27, x1
	mov	w19, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh0:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_plog
	add	w19, w19, #1
	cbz	x24, LBB0_24
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x24
	ldrb	w21, [x23, #1]!
	mov	w8, #44
	strb	w8, [x24]
	cbz	w21, LBB0_24
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x23
	mov	w1, #44
	bl	_strchr
	mov	x24, x0
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x24]
	ldrb	w21, [x23]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w21, #110
	b.ne	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23, #1]
	add	x9, x23, #2
	cmp	w8, #111
	mov	w8, #1
	csel	w22, w8, wzr, ne
	csel	w28, wzr, w8, ne
	csel	x25, x23, x9, ne
	ldr	x1, [x27, #8]
	cbz	x1, LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, #0
	mov	x9, x27
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x9, x21, #16
	ldr	x1, [x21, #24]
	cbz	x1, LBB0_18
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x21, x9
	mov	x0, x25
	bl	_STREQ
	cbnz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	x25, x23
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	cbnz	x26, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x1, [x21, #8]
	mov	x0, x23
	bl	_STREQ
	cmp	x0, #0
	csel	x26, xzr, x21, eq
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #0
	mov	w22, #1
	mov	x25, x23
	ldr	x1, [x27, #8]
	cbnz	x1, LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
	mov	x26, #0
	mov	x21, x27
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
	mov	x21, x9
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x8, #0
	ccmp	x26, #0, #0, eq
	b.eq	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x8, #0
	csel	x8, x21, x26, ne
	csel	w9, w28, w22, ne
	ldr	w8, [x8]
	cbz	w9, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	cbnz	x24, LBB0_4
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	cbnz	x24, LBB0_4
	b	LBB0_24
LBB0_23:
	mov	w19, #0
LBB0_24:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"option \"%s\" not recognized"

.subsections_via_symbols
