	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdline_read                   ## -- Begin function cmdline_read
	.p2align	4, 0x90
_cmdline_read:                          ## @cmdline_read
	.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
	cmpl	$2, %edi
	jl	LBB0_13
## %bb.1:
	movq	%rsi, %r13
	movl	%edi, %r15d
	xorl	%r12d, %r12d
	movl	$1, %ebx
	movq	_cmdline_data@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	%rcx, %rdi
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rsi
	callq	_cmdline_argadd
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rdi
	cmpb	$45, (%rdi)
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_strlen
	cmpl	$2, %eax
	jne	LBB0_22
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13,%rbx,8), %rax
	movzbl	1(%rax), %r12d
	leal	-123(%r12), %eax
	cmpb	$-26, %al
	jb	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	$-97, %r12d
	movq	_cmdline_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%r12,2), %rcx
	movq	_CMDLINE_OPTFLAG_ALLOW@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,8)
	je	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r14), %rax
	movq	%r12, %rcx
	shlq	$4, %rcx
	incq	(%rax,%rcx)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, (%rax)
	movq	$0, 8(%rax)
	movq	8(%r14), %rdi
	movslq	%r12d, %rcx
	leaq	(%rcx,%rcx,2), %r8
	shlq	$4, %rcx
	movq	8(%rdi,%rcx), %rsi
	movq	_cmdline_cfg@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	8(%rdx,%r8,8), %rsi
	jne	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	16(%r14), %rdi
	jmp	LBB0_3
LBB0_13:
	movq	_cmdline_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CMDLINE_OPTFLAG_ALLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CMDLINE_OPTFLAG_MANDAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_cmdline_data@GOTPCREL(%rip), %r9
	movq	8(%r9), %rdi
	addq	$16, %rax
	movl	$8, %ebx
	movq	_CMDLINE_ERR_FEWARG@GOTPCREL(%rip), %r8
	movq	_CMDLINE_ERR_OPTMIS@GOTPCREL(%rip), %r11
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	testq	%rsi, %rsi
	je	LBB0_26
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rdi,%rbx), %rcx
	cmpq	(%rax), %rcx
	jl	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	addq	$16, %rbx
	addq	$24, %rax
	cmpq	$424, %rbx                      ## imm = 0x1A8
	je	LBB0_27
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	-16(%rax), %ecx
	testl	%ecx, %edx
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-8(%rdi,%rbx), %rsi
	testl	%ecx, %r10d
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	testq	%rsi, %rsi
	jne	LBB0_18
	jmp	LBB0_14
LBB0_27:
	movq	_CMDLINE_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r9)
	movq	_CMDLINE_ERR_OK@GOTPCREL(%rip), %r11
	jmp	LBB0_26
LBB0_21:
	movq	%r8, %r11
	jmp	LBB0_26
LBB0_22:
	movq	_CMDLINE_ERR_ERROR@GOTPCREL(%rip), %r11
	jmp	LBB0_26
LBB0_23:
	movq	_CMDLINE_ERR_INVKEY@GOTPCREL(%rip), %r11
	jmp	LBB0_26
LBB0_24:
	movq	_CMDLINE_ERR_NOMEM@GOTPCREL(%rip), %r11
	jmp	LBB0_26
LBB0_25:
	movq	_CMDLINE_ERR_ILLOPT@GOTPCREL(%rip), %r11
LBB0_26:
	movl	(%r11), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMDLINE_ERR_ERROR,4,2          ## @CMDLINE_ERR_ERROR
	.comm	_CMDLINE_ERR_INVKEY,4,2         ## @CMDLINE_ERR_INVKEY
	.comm	_cmdline_cfg,8,3                ## @cmdline_cfg
	.comm	_CMDLINE_OPTFLAG_ALLOW,4,2      ## @CMDLINE_OPTFLAG_ALLOW
	.comm	_cmdline_data,32,3              ## @cmdline_data
	.comm	_CMDLINE_ERR_ILLOPT,4,2         ## @CMDLINE_ERR_ILLOPT
	.comm	_CMDLINE_ERR_NOMEM,4,2          ## @CMDLINE_ERR_NOMEM
	.comm	_CMDLINE_ERR_MANYARG,4,2        ## @CMDLINE_ERR_MANYARG
	.comm	_CMDLINE_OPTFLAG_MANDAT,4,2     ## @CMDLINE_OPTFLAG_MANDAT
	.comm	_CMDLINE_ERR_OPTMIS,4,2         ## @CMDLINE_ERR_OPTMIS
	.comm	_CMDLINE_ERR_FEWARG,4,2         ## @CMDLINE_ERR_FEWARG
	.comm	_CMDLINE_TRUE,4,2               ## @CMDLINE_TRUE
	.comm	_CMDLINE_ERR_OK,4,2             ## @CMDLINE_ERR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdline_read                   ; -- Begin function cmdline_read
	.p2align	2
_cmdline_read:                          ; @cmdline_read
	.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	x23, _cmdline_cfg@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cmdline_cfg@GOTPAGEOFF]
Lloh2:
	adrp	x22, _CMDLINE_OPTFLAG_ALLOW@GOTPAGE
Lloh3:
	ldr	x22, [x22, _CMDLINE_OPTFLAG_ALLOW@GOTPAGEOFF]
Lloh4:
	adrp	x20, _cmdline_data@GOTPAGE
Lloh5:
	ldr	x20, [x20, _cmdline_data@GOTPAGEOFF]
	cmp	w0, #2
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x1
	mov	w26, #0
	mov	w24, #1
Lloh6:
	adrp	x21, _CMDLINE_ERR_ERROR@GOTPAGE
Lloh7:
	ldr	x21, [x21, _CMDLINE_ERR_ERROR@GOTPAGEOFF]
	mov	w27, #24
Lloh8:
	adrp	x28, _CMDLINE_ERR_NOMEM@GOTPAGE
Lloh9:
	ldr	x28, [x28, _CMDLINE_ERR_NOMEM@GOTPAGEOFF]
	mov	w25, w0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x9, x26
	sxtw	x9, w9
	add	x0, x8, x9, lsl #4
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_cmdline_argadd
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x25, x24
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, x24, lsl #3]
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_strlen
	cmp	w0, #2
	b.ne	LBB0_25
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, x24, lsl #3]
	ldrb	w8, [x8, #1]
	sub	w9, w8, #123
	cmn	w9, #26
	b.lo	LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w26, w8, #97
	ldr	x8, [x23]
	umull	x9, w26, w27
	ldr	w8, [x8, x9]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	lsl	x9, x26, #4
	ldr	x10, [x8, x9]
	add	x10, x10, #1
	str	x10, [x8, x9]
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	cbz	x0, LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x0
	str	w24, [x0]
	str	xzr, [x0, #8]
	ldr	x8, [x20, #8]
	add	x9, x8, w26, sxtw #4
	ldr	x9, [x9, #8]
	ldr	x10, [x23]
	smaddl	x10, w26, w27, x10
	ldr	x10, [x10, #8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x20, #16
	b	LBB0_3
LBB0_13:
	mov	x8, #0
	ldr	x9, [x23]
	ldr	w10, [x22]
Lloh10:
	adrp	x11, _CMDLINE_OPTFLAG_MANDAT@GOTPAGE
Lloh11:
	ldr	x11, [x11, _CMDLINE_OPTFLAG_MANDAT@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	ldr	x12, [x20, #8]
	add	x13, x12, #8
Lloh13:
	adrp	x12, _CMDLINE_ERR_FEWARG@GOTPAGE
Lloh14:
	ldr	x12, [x12, _CMDLINE_ERR_FEWARG@GOTPAGEOFF]
Lloh15:
	adrp	x21, _CMDLINE_ERR_OPTMIS@GOTPAGE
Lloh16:
	ldr	x21, [x21, _CMDLINE_ERR_OPTMIS@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_17 Depth=1
	cbz	x15, LBB0_25
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x14, [x13]
	add	x15, x9, x8
	ldr	x15, [x15, #16]
	cmp	x14, x15
	b.lt	LBB0_21
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x13, x13, #16
	add	x8, x8, #24
	cmp	x8, #624
	b.eq	LBB0_20
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x9, x8]
	tst	w10, w14
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldur	x15, [x13, #-8]
	tst	w11, w14
	b.ne	LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	cbnz	x15, LBB0_15
	b	LBB0_16
LBB0_20:
Lloh17:
	adrp	x8, _CMDLINE_TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CMDLINE_TRUE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh20:
	adrp	x21, _CMDLINE_ERR_OK@GOTPAGE
Lloh21:
	ldr	x21, [x21, _CMDLINE_ERR_OK@GOTPAGEOFF]
	b	LBB0_25
LBB0_21:
	mov	x21, x12
	b	LBB0_25
LBB0_22:
Lloh22:
	adrp	x21, _CMDLINE_ERR_INVKEY@GOTPAGE
Lloh23:
	ldr	x21, [x21, _CMDLINE_ERR_INVKEY@GOTPAGEOFF]
	b	LBB0_25
LBB0_23:
	mov	x21, x28
	b	LBB0_25
LBB0_24:
Lloh24:
	adrp	x21, _CMDLINE_ERR_ILLOPT@GOTPAGE
Lloh25:
	ldr	x21, [x21, _CMDLINE_ERR_ILLOPT@GOTPAGEOFF]
LBB0_25:
	ldr	w0, [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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CMDLINE_ERR_ERROR,4,2          ; @CMDLINE_ERR_ERROR
	.comm	_CMDLINE_ERR_INVKEY,4,2         ; @CMDLINE_ERR_INVKEY
	.comm	_cmdline_cfg,8,3                ; @cmdline_cfg
	.comm	_CMDLINE_OPTFLAG_ALLOW,4,2      ; @CMDLINE_OPTFLAG_ALLOW
	.comm	_cmdline_data,32,3              ; @cmdline_data
	.comm	_CMDLINE_ERR_ILLOPT,4,2         ; @CMDLINE_ERR_ILLOPT
	.comm	_CMDLINE_ERR_NOMEM,4,2          ; @CMDLINE_ERR_NOMEM
	.comm	_CMDLINE_ERR_MANYARG,4,2        ; @CMDLINE_ERR_MANYARG
	.comm	_CMDLINE_OPTFLAG_MANDAT,4,2     ; @CMDLINE_OPTFLAG_MANDAT
	.comm	_CMDLINE_ERR_OPTMIS,4,2         ; @CMDLINE_ERR_OPTMIS
	.comm	_CMDLINE_ERR_FEWARG,4,2         ; @CMDLINE_ERR_FEWARG
	.comm	_CMDLINE_TRUE,4,2               ; @CMDLINE_TRUE
	.comm	_CMDLINE_ERR_OK,4,2             ; @CMDLINE_ERR_OK
.subsections_via_symbols
