	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_terminal_man                   ## -- Begin function terminal_man
	.p2align	4, 0x90
_terminal_man:                          ## @terminal_man
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	8(%rdi), %rax
	orq	%r14, %rax
	jne	LBB0_2
## %bb.1:
	movq	$7, (%r15)
LBB0_2:
	movl	20(%r15), %eax
	movl	%eax, 24(%r15)
	movq	32(%r15), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_term_tab_set
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_term_tab_set
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_term_tab_set
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	(%r15), %esi
	movq	%r15, %rdi
	callq	_term_len
	movq	-88(%rbp), %rcx
	movq	-64(%rbp), %rdx
	movq	%rax, (%rdx,%rcx,8)
	movl	(%r15), %esi
	movq	%r15, %rdi
	callq	_term_len
	movq	%rax, -72(%rbp)
	movl	$1, -80(%rbp)
	movq	(%r12), %rax
	movq	(%rax), %rbx
	cmpq	$0, 8(%r15)
	je	LBB0_16
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.4:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	_MAN_SH@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rax
	movq	8(%rax), %r12
	movq	8(%r12), %rax
	movq	_ROFFT_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r13, %r13
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movl	$0, %r13d
	cmoveq	%rbx, %r13
	jmp	LBB0_11
LBB0_16:
	movq	_print_man_head@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_print_man_foot@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rcx
	callq	_term_begin
	movq	_TERMP_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.17:
	leaq	-88(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_print_man_nodelist
LBB0_18:
	movq	%r15, %rdi
	callq	_term_end
	jmp	LBB0_19
LBB0_12:
	movq	_TERMP_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
	testq	%r13, %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_13
	jmp	LBB0_15
LBB0_20:
	movq	_TERMP_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
	jmp	LBB0_15
LBB0_8:
	movq	_TERMP_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
	movq	%rbx, %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_13:
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.14:
	leaq	-88(%rbp), %rsi
	movq	%r15, %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_print_man_nodelist
LBB0_15:
	movq	%r15, %rdi
	callq	_term_newln
LBB0_19:
	movq	%r14, (%r15)
	addq	$56, %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	"T"

L_.str.1:                               ## @.str.1
	.asciz	".5i"

	.comm	_MAN_SH,8,3                     ## @MAN_SH
	.comm	_ROFFT_TEXT,8,3                 ## @ROFFT_TEXT
L_.str.2:                               ## @.str.2
	.asciz	"SYNOPSIS"

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

	.comm	_TERMP_NOSPACE,4,2              ## @TERMP_NOSPACE
	.comm	_print_man_head,4,2             ## @print_man_head
	.comm	_print_man_foot,4,2             ## @print_man_foot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_terminal_man                   ; -- Begin function terminal_man
	.p2align	2
_terminal_man:                          ; @terminal_man
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x1
	mov	x19, x0
	ldp	x24, x8, [x0]
	orr	x8, x8, x24
	cbnz	x8, LBB0_2
; %bb.1:
	mov	w8, #7
	str	x8, [x19]
LBB0_2:
	ldr	w8, [x19, #20]
	str	w8, [x19, #24]
	ldr	x9, [x19, #32]
	str	w8, [x9]
	mov	x0, x19
	mov	x1, #0
	bl	_term_tab_set
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_term_tab_set
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_term_tab_set
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w1, [x19]
	mov	x0, x19
	bl	_term_len
	ldr	x8, [sp, #24]
	ldr	x9, [sp]
	str	x0, [x8, x9, lsl #3]
	ldr	w1, [x19]
	mov	x0, x19
	bl	_term_len
	str	x0, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #8]
	ldr	x8, [x20]
	ldr	x21, [x8]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.3:
	cbz	x21, LBB0_15
; %bb.4:
	mov	x25, #0
Lloh4:
	adrp	x26, _MAN_SH@GOTPAGE
Lloh5:
	ldr	x26, [x26, _MAN_SH@GOTPAGEOFF]
Lloh6:
	adrp	x27, _ROFFT_TEXT@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ROFFT_TEXT@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str.2@PAGE
Lloh9:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh10:
	adrp	x23, l_.str.3@PAGE
Lloh11:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x21, #32]
	cbz	x21, LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #16]
	ldr	x28, [x8, #8]
	ldr	x8, [x28, #8]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x28, #24]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x25, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x28, #24]
	mov	x1, x23
	bl	_strcmp
	cmp	x0, #0
	csel	x25, x21, xzr, eq
	b	LBB0_5
LBB0_11:
Lloh12:
	adrp	x8, _print_man_head@GOTPAGE
Lloh13:
	ldr	x8, [x8, _print_man_head@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _print_man_foot@GOTPAGE
Lloh16:
	ldr	x8, [x8, _print_man_foot@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_term_begin
Lloh18:
	adrp	x8, _TERMP_NOSPACE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TERMP_NOSPACE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	cbz	x21, LBB0_13
; %bb.12:
	mov	x1, sp
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_print_man_nodelist
LBB0_13:
	mov	x0, x19
	bl	_term_end
	b	LBB0_20
LBB0_14:
Lloh21:
	adrp	x8, _TERMP_NOSPACE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TERMP_NOSPACE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	cbnz	x25, LBB0_17
	b	LBB0_19
LBB0_15:
Lloh24:
	adrp	x8, _TERMP_NOSPACE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TERMP_NOSPACE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	b	LBB0_19
LBB0_16:
Lloh27:
	adrp	x8, _TERMP_NOSPACE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TERMP_NOSPACE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	mov	x25, x21
LBB0_17:
	ldr	x8, [x25, #16]
	ldr	x8, [x8]
	ldr	x2, [x8]
	cbz	x2, LBB0_19
; %bb.18:
	mov	x1, sp
	mov	x0, x19
	mov	x3, x20
	bl	_print_man_nodelist
LBB0_19:
	mov	x0, x19
	bl	_term_newln
LBB0_20:
	str	x24, [x19]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"T"

l_.str.1:                               ; @.str.1
	.asciz	".5i"

	.comm	_MAN_SH,8,3                     ; @MAN_SH
	.comm	_ROFFT_TEXT,8,3                 ; @ROFFT_TEXT
l_.str.2:                               ; @.str.2
	.asciz	"SYNOPSIS"

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

	.comm	_TERMP_NOSPACE,4,2              ; @TERMP_NOSPACE
	.comm	_print_man_head,4,2             ; @print_man_head
	.comm	_print_man_foot,4,2             ; @print_man_foot
.subsections_via_symbols
