	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_mdoc_head
_print_mdoc_head:                       ## @print_mdoc_head
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	24(%rsi), %edi
	callq	_assert
	movq	16(%r15), %rcx
	movl	24(%r15), %edx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdi
	callq	_mandoc_asprintf
	movq	-56(%rbp), %rsi
	jmp	LBB0_3
LBB0_1:
	movl	%edx, %edi
	callq	_mandoc_strdup
	movq	%rax, %rsi
	movq	%rax, -56(%rbp)
LBB0_3:
	movq	%rbx, %rdi
	callq	_term_strlen
	movq	%rax, %r14
	movq	(%r15), %rcx
	movl	8(%r15), %edx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_mandoc_asprintf
	movq	-48(%rbp), %rsi
	jmp	LBB0_6
LBB0_4:
	movl	%edx, %edi
	callq	_mandoc_strdup
	movq	%rax, %rsi
	movq	%rax, -48(%rbp)
LBB0_6:
	movq	%rbx, %rdi
	callq	_term_strlen
	movq	_TERMP_NOBREAK@GOTPCREL(%rip), %r12
	movq	_TERMP_NOSPACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r12), %ecx
	orl	%ecx, (%rbx)
	movq	%rax, %r15
	movl	$1, 4(%rbx)
	movq	16(%rbx), %rcx
	movq	$0, (%rcx)
	leaq	(%r14,%rax,2), %rax
	addq	$2, %rax
	movslq	8(%rbx), %r13
	cmpq	%r13, %rax
	jae	LBB0_8
## %bb.7:
	subq	%r14, %r13
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_term_len
	addq	%r13, %rax
	shrq	%rax
	movq	16(%rbx), %rcx
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	subq	%r14, %r13
	cmovaeq	%r13, %rax
LBB0_9:
	movq	_TERMP_NOSPACE@GOTPCREL(%rip), %r13
	movq	%rax, 8(%rcx)
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_term_word
	movq	%rbx, %rdi
	callq	_term_flushln
	movl	(%r13), %eax
	orl	%eax, (%rbx)
	movq	16(%rbx), %rax
	movq	8(%rax), %rcx
	movq	%rcx, (%rax)
	addq	%r15, %r14
	addq	%rcx, %r14
	movslq	8(%rbx), %rcx
	xorl	%edx, %edx
	cmpq	%rcx, %r14
	cmovbq	%r15, %rdx
	subq	%rdx, %rcx
	movq	%rcx, 8(%rax)
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_term_word
	movq	%rbx, %rdi
	callq	_term_flushln
	movl	(%r12), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movl	$0, 4(%rbx)
	movq	16(%rbx), %rcx
	movq	8(%rcx), %rsi
	addq	%rsi, %r15
	movslq	8(%rbx), %rdx
	cmpq	%rdx, %r15
	ja	LBB0_11
## %bb.10:
	orl	(%r13), %eax
	movl	%eax, (%rbx)
	movq	%rsi, (%rcx)
	movq	%rdx, 8(%rcx)
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_term_word
	movq	%rbx, %rdi
	callq	_term_flushln
	movl	(%rbx), %eax
	movq	16(%rbx), %rcx
	movslq	8(%rbx), %rdx
LBB0_11:
	movl	(%r13), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%esi, (%rbx)
	movq	$0, (%rcx)
	movq	%rdx, 8(%rcx)
	movq	-48(%rbp), %rdi
	callq	_free
	movq	-56(%rbp), %rdi
	callq	_free
	addq	$24, %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	"%s (%s)"

L_.str.1:                               ## @.str.1
	.asciz	"%s(%s)"

	.comm	_TERMP_NOBREAK,4,2              ## @TERMP_NOBREAK
	.comm	_TERMP_NOSPACE,4,2              ## @TERMP_NOSPACE
	.no_dead_strip	_print_mdoc_head
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_mdoc_head
_print_mdoc_head:                       ; @print_mdoc_head
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x1, #24]
	bl	_assert
	ldr	x3, [x21, #16]
	ldr	w2, [x21, #24]
	cbz	x3, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_mandoc_asprintf
	ldr	x1, [sp, #8]
	b	LBB0_3
LBB0_2:
	mov	x0, x2
	bl	_mandoc_strdup
	mov	x1, x0
	str	x0, [sp, #8]
LBB0_3:
	mov	x0, x19
	bl	_term_strlen
	mov	x20, x0
	ldr	x3, [x21]
	ldr	w2, [x21, #8]
	cbz	x3, LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, sp
	bl	_mandoc_asprintf
	ldr	x1, [sp]
	b	LBB0_6
LBB0_5:
	mov	x0, x2
	bl	_mandoc_strdup
	mov	x1, x0
	str	x0, [sp]
LBB0_6:
	mov	x0, x19
	bl	_term_strlen
	mov	x21, x0
Lloh4:
	adrp	x23, _TERMP_NOBREAK@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TERMP_NOBREAK@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh6:
	adrp	x22, _TERMP_NOSPACE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TERMP_NOSPACE@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	mov	w9, #1
	stp	w8, w9, [x19]
	ldr	x8, [x19, #16]
	str	xzr, [x8]
	add	x9, x20, x0, lsl #1
	add	x10, x9, #2
	ldrsw	x9, [x19, #8]
	cmp	x10, x9
	b.hs	LBB0_8
; %bb.7:
	sub	x24, x9, x20
	mov	x0, x19
	mov	w1, #1
	bl	_term_len
	add	x8, x24, x0
	lsr	x9, x8, #1
	ldr	x8, [x19, #16]
	b	LBB0_9
LBB0_8:
	subs	x9, x9, x20
	csel	x9, xzr, x9, lo
LBB0_9:
	str	x9, [x8, #8]
	ldr	x1, [sp]
	mov	x0, x19
	bl	_term_word
	mov	x0, x19
	bl	_term_flushln
	ldr	w8, [x22]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	str	x9, [x8]
	add	x10, x21, x20
	add	x9, x10, x9
	ldrsw	x10, [x19, #8]
	cmp	x9, x10
	csel	x9, x21, xzr, lo
	sub	x9, x10, x9
	str	x9, [x8, #8]
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_term_word
	mov	x0, x19
	bl	_term_flushln
	ldr	w8, [x23]
	ldr	w9, [x19]
	bic	w9, w9, w8
	stp	w9, wzr, [x19]
	ldr	x8, [x19, #16]
	ldr	x11, [x8, #8]
	ldrsw	x10, [x19, #8]
	add	x12, x11, x21
	cmp	x12, x10
	b.hi	LBB0_11
; %bb.10:
	ldr	w12, [x22]
	orr	w9, w12, w9
	str	w9, [x19]
	stp	x11, x10, [x8]
	ldr	x1, [sp]
	mov	x0, x19
	bl	_term_word
	mov	x0, x19
	bl	_term_flushln
	ldr	w9, [x19]
	ldr	x8, [x19, #16]
	ldrsw	x10, [x19, #8]
LBB0_11:
	ldr	w11, [x22]
	bic	w9, w9, w11
	str	w9, [x19]
	stp	xzr, x10, [x8]
	ldr	x0, [sp]
	bl	_free
	ldr	x0, [sp, #8]
	bl	_free
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s (%s)"

l_.str.1:                               ; @.str.1
	.asciz	"%s(%s)"

	.comm	_TERMP_NOBREAK,4,2              ; @TERMP_NOBREAK
	.comm	_TERMP_NOSPACE,4,2              ; @TERMP_NOSPACE
	.no_dead_strip	_print_mdoc_head
.subsections_via_symbols
