	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_toptext
_check_toptext:                         ## @check_toptext
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpb	$0, (%rcx)
	je	LBB0_19
## %bb.1:
	movq	%rcx, %r12
	movl	%esi, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MANDOCERR_BX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	subl	%r12d, %eax
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	leaq	L_.str.1(%rip), %rcx
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mandoc_msg
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_MANDOCERR_BX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	subl	%r12d, %eax
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	leaq	L_.str.3(%rip), %rcx
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mandoc_msg
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_MANDOCERR_BX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	subl	%r12d, %eax
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	leaq	L_.str.5(%rip), %rcx
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mandoc_msg
LBB0_7:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_MANDOCERR_BX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	subl	%r12d, %eax
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	leaq	L_.str.7(%rip), %rcx
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mandoc_msg
LBB0_9:
	leaq	1(%r12), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_19
## %bb.10:
	movq	%rax, %rbx
	leaq	L_.str.8(%rip), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_strstr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_19
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	leaq	-1(%rbx), %r14
	cmpq	%r12, %r14
	jae	LBB0_12
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	decq	%r14
	cmpq	%r12, %r14
	jb	LBB0_16
LBB0_12:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14), %eax
	cmpb	$95, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movzbl	%al, %edi
	callq	_isalnum
	testl	%eax, %eax
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$32, (%r14)
	jne	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r14
	cmpq	%rbx, %r14
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_MANDOCERR_FUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %edx
	subl	%r12d, %edx
	addl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%ebx, %r8d
	subl	%r14d, %r8d
	movl	%r15d, %esi
	leaq	L_.str.9(%rip), %rcx
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_mandoc_msg
	jmp	LBB0_18
LBB0_19:
	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	"OpenBSD"

	.comm	_MANDOCERR_BX,4,2               ## @MANDOCERR_BX
L_.str.1:                               ## @.str.1
	.asciz	"Ox"

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

L_.str.3:                               ## @.str.3
	.asciz	"Nx"

L_.str.4:                               ## @.str.4
	.asciz	"FreeBSD"

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

L_.str.6:                               ## @.str.6
	.asciz	"DragonFly"

L_.str.7:                               ## @.str.7
	.asciz	"Dx"

L_.str.8:                               ## @.str.8
	.asciz	"()"

	.comm	_MANDOCERR_FUNC,4,2             ## @MANDOCERR_FUNC
L_.str.9:                               ## @.str.9
	.asciz	"%.*s()"

	.no_dead_strip	_check_toptext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_toptext
_check_toptext:                         ; @check_toptext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	ldrb	w8, [x3]
	cbz	w8, LBB0_19
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x3
	bl	_strstr
Lloh2:
	adrp	x22, _MANDOCERR_BX@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MANDOCERR_BX@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x22]
	sub	w9, w0, w19
	add	w2, w9, w20
Lloh4:
	adrp	x3, l_.str.1@PAGE
Lloh5:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x8
	mov	x1, x21
	bl	_mandoc_msg
LBB0_3:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x22]
	sub	w9, w0, w19
	add	w2, w9, w20
Lloh8:
	adrp	x3, l_.str.3@PAGE
Lloh9:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x8
	mov	x1, x21
	bl	_mandoc_msg
LBB0_5:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x22]
	sub	w9, w0, w19
	add	w2, w9, w20
Lloh12:
	adrp	x3, l_.str.5@PAGE
Lloh13:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x8
	mov	x1, x21
	bl	_mandoc_msg
LBB0_7:
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x22]
	sub	w9, w0, w19
	add	w2, w9, w20
Lloh16:
	adrp	x3, l_.str.7@PAGE
Lloh17:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x8
	mov	x1, x21
	bl	_mandoc_msg
LBB0_9:
	add	x0, x19, #1
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_19
; %bb.10:
	mov	x23, x0
Lloh20:
	adrp	x22, l_.str.8@PAGE
Lloh21:
	add	x22, x22, l_.str.8@PAGEOFF
Lloh22:
	adrp	x25, _MANDOCERR_FUNC@GOTPAGE
Lloh23:
	ldr	x25, [x25, _MANDOCERR_FUNC@GOTPAGEOFF]
Lloh24:
	adrp	x24, l_.str.9@PAGE
Lloh25:
	add	x24, x24, l_.str.9@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x25]
	sub	w8, w26, w19
	add	w2, w8, w20
	sub	x8, x23, x26
	stp	x8, x26, [sp]
	mov	x1, x21
	mov	x3, x24
	bl	_mandoc_msg
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x0, x23, #1
	mov	x1, x22
	bl	_strstr
	mov	x23, x0
	cbz	x0, LBB0_19
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	sub	x26, x23, #1
	cmp	x26, x19
	b.hs	LBB0_15
	b	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	sub	x26, x26, #1
	cmp	x26, x19
	b.lo	LBB0_18
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x26]
	cmp	w0, #95
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	bl	_isalnum
	cbnz	w0, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldrb	w8, [x26], #1
	cmp	w8, #32
	ccmp	x26, x23, #2, eq
	b.lo	LBB0_11
	b	LBB0_12
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x26, x26, #1
	cmp	x26, x23
	b.lo	LBB0_11
	b	LBB0_12
LBB0_19:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenBSD"

	.comm	_MANDOCERR_BX,4,2               ; @MANDOCERR_BX
l_.str.1:                               ; @.str.1
	.asciz	"Ox"

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

l_.str.3:                               ; @.str.3
	.asciz	"Nx"

l_.str.4:                               ; @.str.4
	.asciz	"FreeBSD"

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

l_.str.6:                               ; @.str.6
	.asciz	"DragonFly"

l_.str.7:                               ; @.str.7
	.asciz	"Dx"

l_.str.8:                               ; @.str.8
	.asciz	"()"

	.comm	_MANDOCERR_FUNC,4,2             ; @MANDOCERR_FUNC
l_.str.9:                               ; @.str.9
	.asciz	"%.*s()"

	.no_dead_strip	_check_toptext
.subsections_via_symbols
