	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_set_options_simple
_xo_set_options_simple:                 ## @xo_set_options_simple
	.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, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r14d
	leal	1(%r14), %ebx
	movl	%ebx, %edi
	callq	_alloca
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	xorl	%eax, %eax
	testq	%r13, %r13
	je	LBB0_16
## %bb.1:
	movslq	%r14d, %r12
	addq	%r13, %r12
	cmpq	%r12, %r13
	jae	LBB0_16
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	incq	%r14
	movb	$0, (%rax)
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_xo_streq
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_xo_set_color_map
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_xo_xof_simple_names@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	$-1, %edx
	callq	_xo_name_lookup
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_XOF_SET
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_xo_streq
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_XOF_COLOR_ALLOWED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_XOF_CLEAR
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %r13
	cmpq	%r12, %r14
	jb	LBB0_2
	jmp	LBB0_16
LBB0_17:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_xo_failure
	movl	$-1, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"colors"

	.comm	_xo_xof_simple_names,4,2        ## @xo_xof_simple_names
L_.str.1:                               ## @.str.1
	.asciz	"no-color"

	.comm	_XOF_COLOR_ALLOWED,4,2          ## @XOF_COLOR_ALLOWED
L_.str.2:                               ## @.str.2
	.asciz	"unknown simple option: %s"

	.no_dead_strip	_xo_set_options_simple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_set_options_simple
_xo_set_options_simple:                 ; @xo_set_options_simple
	.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	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_strlen
	add	w20, w0, #1
	mov	x0, x20
	bl	_alloca
	mov	x21, x0
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	mov	w0, #0
	cbz	x21, LBB0_15
; %bb.1:
	add	x8, x21, w20, sxtw
	sub	x25, x8, #1
	cmp	x21, x25
	b.hs	LBB0_15
; %bb.2:
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x26, _xo_xof_simple_names@GOTPAGE
Lloh3:
	ldr	x26, [x26, _xo_xof_simple_names@GOTPAGEOFF]
Lloh4:
	adrp	x27, _XOF_COLOR_ALLOWED@GOTPAGE
Lloh5:
	ldr	x27, [x27, _XOF_COLOR_ALLOWED@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #44
	bl	_strchr
	mov	x23, x0
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x23], #1
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	w1, #61
	bl	_strchr
	mov	x24, x0
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x24], #1
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_xo_streq
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_xo_set_color_map
	mov	w0, #0
	cbnz	x23, LBB0_13
	b	LBB0_15
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26]
	mov	x1, x21
	mov	w2, #-1
	bl	_xo_name_lookup
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	mov	x0, x19
	bl	_XOF_SET
	mov	w0, #0
	cbnz	x23, LBB0_13
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_xo_streq
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	bl	_XOF_CLEAR
	mov	w0, #0
	cbz	x23, LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x23
	cmp	x23, x25
	b.lo	LBB0_3
	b	LBB0_15
LBB0_14:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_xo_failure
	mov	w0, #-1
LBB0_15:
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"colors"

	.comm	_xo_xof_simple_names,4,2        ; @xo_xof_simple_names
l_.str.1:                               ; @.str.1
	.asciz	"no-color"

	.comm	_XOF_COLOR_ALLOWED,4,2          ; @XOF_COLOR_ALLOWED
l_.str.2:                               ; @.str.2
	.asciz	"unknown simple option: %s"

	.no_dead_strip	_xo_set_options_simple
.subsections_via_symbols
