	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_mandocd                    ## -- Begin function run_mandocd
	.p2align	4, 0x90
_run_mandocd:                           ## @run_mandocd
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	%edi, %ecx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-42(%rbp), %r15
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_snprintf
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rdx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	leaq	L_.str.4(%rip), %r8
	movq	%rdi, %rsi
	movq	%r14, %rcx
	movq	%rbx, %r9
	xorl	%eax, %eax
	pushq	$0
	pushq	%r15
	callq	_execlp
	addq	$16, %rsp
	jmp	LBB0_5
LBB0_3:
	leaq	-42(%rbp), %r8
	movq	%rdi, %rsi
	movq	%r14, %rcx
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_execlp
LBB0_5:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	"snprintf"

L_.str.2:                               ## @.str.2
	.asciz	"mandocd"

L_.str.3:                               ## @.str.3
	.asciz	"-T"

L_.str.4:                               ## @.str.4
	.asciz	"-I"

L_.str.5:                               ## @.str.5
	.asciz	"exec"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_mandocd                    ; -- Begin function run_mandocd
	.p2align	2
_run_mandocd:                           ; @run_mandocd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	mov	x3, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #30
	mov	w1, #10
	bl	_snprintf
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	cbz	x20, LBB0_4
LBB0_2:
	add	x8, sp, #30
	stp	x8, xzr, [sp]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh7:
	adrp	x2, l_.str.3@PAGE
Lloh8:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh9:
	adrp	x4, l_.str.4@PAGE
Lloh10:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x1, x0
	mov	x3, x19
	mov	x5, x20
	b	LBB0_5
LBB0_3:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
	cbnz	x20, LBB0_2
LBB0_4:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x4, sp, #30
	mov	x1, x0
	mov	x3, x19
	mov	x5, #0
LBB0_5:
	bl	_execlp
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
	ldur	x8, [x29, #-24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	"snprintf"

l_.str.2:                               ; @.str.2
	.asciz	"mandocd"

l_.str.3:                               ; @.str.3
	.asciz	"-T"

l_.str.4:                               ; @.str.4
	.asciz	"-I"

l_.str.5:                               ; @.str.5
	.asciz	"exec"

.subsections_via_symbols
