	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mdoc_argv
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mdoc_argv
	.p2align	4, 0x90
_mdoc_argv:                             ## @mdoc_argv
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx)
	movq	_MDOC_Dd@GOTPCREL(%rip), %rbx
	cmpl	%edx, (%rbx)
	setbe	%al
	movq	%r9, %r12
	movq	%r8, %r15
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_MDOC_MAX@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	seta	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	_mdocargs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r13d, %ecx
	subl	(%rbx), %ecx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_26
## %bb.1:
	movslq	(%r15), %rax
	cmpb	$45, (%r12,%rax)
	jne	LBB0_26
## %bb.2:
	leaq	1(%r12), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movabsq	$4294967296, %r14               ## imm = 0x100000000
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	leal	1(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movslq	%ecx, %rcx
	leaq	(%r12,%rcx), %r13
	shlq	$32, %rcx
	addl	$2, %eax
	movq	%r13, %rdx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	cmpb	$92, -1(%rdx)
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	%eax, -44(%rbp)
	addq	%r14, %rcx
	incl	%eax
	incq	%rdx
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdx), %r12d
	cmpb	$32, %r12b
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	testb	%r12b, %r12b
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	sarq	$32, %rcx
	movl	%eax, -44(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax,%rcx)
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %eax
	movq	%rax, -120(%rbp)
	movq	_MDOC_ARG_MAX@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	addq	$4, %rbx
	movq	_mdoc_argnames@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	%r13, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-120(%rbp), %rax
	movq	_MDOC_ARG_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %ecx
	movslq	%ecx, %rdx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	cmpb	$32, (%r8,%rdx)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	-80(%rbp), %rdx                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%ecx
	cmpb	$32, (%rdx)
	leaq	1(%rdx), %rdx
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, -44(%rbp)
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, -112(%rbp)
	movl	(%r15), %ecx
	movl	%ecx, -108(%rbp)
	leaq	-104(%rbp), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movq	_argvflags@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %eax
	cmpl	$130, %eax
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$128, %eax
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	-120(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_argv_single
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	-120(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_argv_multi
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %r13
	testq	%r13, %r13
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	movl	$16, %esi
	callq	_mandoc_calloc
	movq	%rax, %r13
	movq	%rax, (%rbx)
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r13), %rbx
	incq	%rbx
	movl	%ebx, (%r13)
	movq	8(%r13), %rdi
	movl	%ebx, %esi
	movl	$32, %edx
	callq	_mandoc_reallocarray
	movq	%rax, 8(%r13)
	shlq	$5, %rbx
	leaq	(%rax,%rbx), %rdi
	addq	$-32, %rdi
	leaq	-120(%rbp), %rsi
	movl	$32, %edx
	callq	_memcpy
	movslq	-44(%rbp), %rax
	movl	%eax, (%r15)
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movq	_MDOC_Dd@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	movq	_mdocargs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rcx,8), %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	cmpb	$45, (%r12,%rax)
	je	LBB0_3
	jmp	LBB0_26
LBB0_20:
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_26
## %bb.21:
	movslq	-44(%rbp), %rax
	movb	%r12b, -1(%rax,%rcx)
LBB0_26:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDOC_Dd,4,2                    ## @MDOC_Dd
	.comm	_MDOC_MAX,4,2                   ## @MDOC_MAX
	.comm	_mdocargs,8,3                   ## @mdocargs
	.comm	_MDOC_ARG_MAX,8,3               ## @MDOC_ARG_MAX
	.comm	_mdoc_argnames,8,3              ## @mdoc_argnames
	.comm	_argvflags,8,3                  ## @argvflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdoc_argv                      ; -- Begin function mdoc_argv
	.p2align	2
_mdoc_argv:                             ; @mdoc_argv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x27, x1
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	str	xzr, [x3]
Lloh0:
	adrp	x23, _MDOC_Dd@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MDOC_Dd@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w2
Lloh2:
	adrp	x8, _MDOC_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MDOC_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ccmp	w8, w2, #0, ls
	cset	w0, hi
	bl	_assert
Lloh5:
	adrp	x8, _mdocargs@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mdocargs@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w9, [x23]
	sub	w9, w22, w9
	ldr	x26, [x8, w9, uxtw #3]
	cbz	x26, LBB0_26
; %bb.1:
	ldrsw	x9, [x20]
	ldrb	w8, [x19, x9]
	cmp	w8, #45
	b.ne	LBB0_26
; %bb.2:
	add	x8, sp, #48
	add	x10, x8, #16
	add	x8, x19, #1
	stp	x8, x10, [sp]                   ; 16-byte Folded Spill
Lloh8:
	adrp	x28, _MDOC_ARG_MAX@GOTPAGE
Lloh9:
	ldr	x28, [x28, _MDOC_ARG_MAX@GOTPAGEOFF]
	mov	x24, #4294967296
Lloh10:
	adrp	x23, _mdoc_argnames@GOTPAGE
Lloh11:
	ldr	x23, [x23, _mdoc_argnames@GOTPAGEOFF]
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	str	w27, [sp, #20]                  ; 4-byte Folded Spill
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	add	w8, w9, #1
	str	w8, [sp, #44]
	sxtw	x10, w8
	add	x25, x19, x10
	sbfiz	x8, x8, #32, #32
	add	w9, w9, #2
	mov	x10, x25
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldurb	w11, [x10, #-1]
	cmp	w11, #92
	b.ne	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	str	w9, [sp, #44]
	add	x8, x8, x24
	add	w9, w9, #1
	add	x10, x10, #1
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w27, [x10]
	cmp	w27, #32
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w27, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x20
	mov	w20, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x20
	mov	w20, #0
	asr	x8, x8, #32
	str	w9, [sp, #44]
	strb	wzr, [x19, x8]
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x26]
	str	x8, [sp, #48]
	ldr	x9, [x28]
	cmp	x9, x8
	b.eq	LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x26, x26, #4
	ldr	x9, [x23]
	ldr	w1, [x9, x8, lsl #2]
	mov	x0, x25
	bl	_strcmp
	cbnz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #48]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [sp, #44]
	sxtw	x10, w9
	ldrb	w11, [x19, x10]
	cmp	w11, #32
	mov	x20, x21
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
	b.ne	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [sp]                       ; 8-byte Folded Reload
	add	x10, x11, x10
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x10], #1
	add	w9, w9, #1
	cmp	w11, #32
	b.eq	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	str	w9, [sp, #44]
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x20]
	stp	w27, w9, [sp, #56]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	stp	xzr, xzr, [x9]
Lloh12:
	adrp	x9, _argvflags@GOTPAGE
Lloh13:
	ldr	x9, [x9, _argvflags@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w8, [x9, x8, lsl #2]
	cmp	w8, #130
	b.eq	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #128
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #48
	add	x3, sp, #44
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x27
	mov	x4, x19
	bl	_argv_single
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x21]
	cbz	x25, LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x25]
	add	x26, x8, #1
	str	w26, [x25]
	ldr	x0, [x25, #8]
	mov	x1, x26
	mov	w2, #32
	bl	_mandoc_reallocarray
	str	x0, [x25, #8]
	add	x8, x0, x26, lsl #5
	sub	x0, x8, #32
	add	x1, sp, #48
	mov	w2, #32
	bl	_memcpy
	ldrsw	x9, [sp, #44]
	str	w9, [x20]
Lloh15:
	adrp	x8, _mdocargs@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mdocargs@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x10, _MDOC_Dd@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MDOC_Dd@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	sub	w10, w22, w10
	ldr	x26, [x8, w10, uxtw #3]
	ldrb	w8, [x19, x9]
	cmp	w8, #45
	b.eq	LBB0_3
	b	LBB0_26
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #48
	add	x3, sp, #44
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x27
	mov	x4, x19
	bl	_argv_multi
	ldr	x25, [x21]
	cbnz	x25, LBB0_21
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	w1, #16
	bl	_mandoc_calloc
	mov	x25, x0
	str	x0, [x21]
	b	LBB0_21
LBB0_24:
	tbnz	w20, #0, LBB0_26
; %bb.25:
	ldrsw	x8, [sp, #44]
	add	x8, x8, x19
	sturb	w27, [x8, #-1]
LBB0_26:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MDOC_Dd,4,2                    ; @MDOC_Dd
	.comm	_MDOC_MAX,4,2                   ; @MDOC_MAX
	.comm	_mdocargs,8,3                   ; @mdocargs
	.comm	_MDOC_ARG_MAX,8,3               ; @MDOC_ARG_MAX
	.comm	_mdoc_argnames,8,3              ; @mdoc_argnames
	.comm	_argvflags,8,3                  ; @argvflags
.subsections_via_symbols
