	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function listing_page
_listing_page:                          ## @listing_page
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_eject@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.3:
	movq	_paper_height@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
	jmp	LBB0_17
LBB0_1:
	movq	_paper_height@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	_on_page@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jb	LBB0_17
LBB0_4:
	movq	_page@GOTPCREL(%rip), %r15
	movl	(%r15), %r9d
	leal	1(%r9), %r8d
	movl	%r8d, (%r15)
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.5:
	movq	_EDICT_SBTTL@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_EDICT_TITLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%ebx, %ebx
	movl	$-9, %esi
	movq	_title@GOTPCREL(%rip), %r10
	movq	_subtitle@GOTPCREL(%rip), %r11
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rcx
	cmpq	%r12, %rcx
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rdi), %rbx
	movq	%rbx, (%r11)
	movl	$1, %ebx
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rdx, %rcx
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rdi), %rax
	movq	%rax, (%r10)
	movl	$1, %eax
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	testl	%esi, %esi
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rdi), %rdi
	incl	%esi
	testq	%rdi, %rdi
	jne	LBB0_6
LBB0_14:
	testl	%r9d, %r9d
	jle	LBB0_16
## %bb.15:
	movq	_list_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %r8d
LBB0_16:
	movq	_list_file@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_LISTING_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_fn@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	movq	_title@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	movq	_subtitle@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_on_page@GOTPCREL(%rip), %rax
	movl	$3, (%rax)
	movq	$0, (%r14)
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eject,8,3                      ## @eject
	.comm	_on_page,4,2                    ## @on_page
	.comm	_paper_height,8,3               ## @paper_height
	.comm	_page,4,2                       ## @page
	.comm	_EDICT_SBTTL,8,3                ## @EDICT_SBTTL
	.comm	_subtitle,8,3                   ## @subtitle
	.comm	_EDICT_TITLE,8,3                ## @EDICT_TITLE
	.comm	_title,8,3                      ## @title
	.comm	_list_file,4,2                  ## @list_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\f"

L_.str.1:                               ## @.str.1
	.asciz	"%s %s \t\t\tpage %d\n"

	.comm	_LISTING_HEADER,8,3             ## @LISTING_HEADER
	.comm	_fn,8,3                         ## @fn
L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

	.no_dead_strip	_listing_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function listing_page
_listing_page:                          ; @listing_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x20, _eject@GOTPAGE
Lloh1:
	ldr	x20, [x20, _eject@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _paper_height@GOTPAGE
Lloh3:
	ldr	x8, [x8, _paper_height@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
	b	LBB0_14
LBB0_2:
Lloh5:
	adrp	x8, _on_page@GOTPAGE
Lloh6:
	ldr	x8, [x8, _on_page@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _paper_height@GOTPAGE
Lloh9:
	ldr	x9, [x9, _paper_height@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	w8, w9, #0, ne
	b.lo	LBB0_14
LBB0_3:
Lloh11:
	adrp	x22, _page@GOTPAGE
Lloh12:
	ldr	x22, [x22, _page@GOTPAGEOFF]
	ldr	w9, [x22]
	add	w8, w9, #1
	str	w8, [x22]
Lloh13:
	adrp	x19, _title@GOTPAGE
Lloh14:
	ldr	x19, [x19, _title@GOTPAGEOFF]
Lloh15:
	adrp	x21, _subtitle@GOTPAGE
Lloh16:
	ldr	x21, [x21, _subtitle@GOTPAGEOFF]
	cbz	x0, LBB0_11
; %bb.4:
	mov	w11, #0
	mov	w12, #0
Lloh17:
	adrp	x10, _EDICT_SBTTL@GOTPAGE
Lloh18:
	ldr	x10, [x10, _EDICT_SBTTL@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
Lloh20:
	adrp	x13, _EDICT_TITLE@GOTPAGE
Lloh21:
	ldr	x13, [x13, _EDICT_TITLE@GOTPAGEOFF]
Lloh22:
	ldr	x13, [x13]
	mov	w14, #-9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x0]
	cmp	x15, x10
	ccmp	w11, #0, #0, eq
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x0, #8]
	str	x11, [x21]
	mov	w11, #1
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x15, x13
	ccmp	w12, #0, #0, eq
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x12, [x0, #8]
	str	x12, [x19]
	mov	w12, #1
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w14, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x0, #16]
	add	w14, w14, #1
	cbnz	x0, LBB0_5
LBB0_11:
Lloh23:
	adrp	x23, _list_file@GOTPAGE
Lloh24:
	ldr	x23, [x23, _list_file@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.12:
	ldr	w0, [x23]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w8, [x22]
LBB0_13:
	ldr	w0, [x23]
Lloh27:
	adrp	x9, _LISTING_HEADER@GOTPAGE
Lloh28:
	ldr	x9, [x9, _LISTING_HEADER@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
Lloh30:
	adrp	x10, _fn@GOTPAGE
Lloh31:
	ldr	x10, [x10, _fn@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w0, [x23]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh35:
	adrp	x19, l_.str.2@PAGE
Lloh36:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_fprintf
	ldr	w0, [x23]
	ldr	x8, [x21]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
Lloh37:
	adrp	x8, _on_page@GOTPAGE
Lloh38:
	ldr	x8, [x8, _on_page@GOTPAGEOFF]
	mov	w9, #3
Lloh39:
	str	w9, [x8]
	str	xzr, [x20]
LBB0_14:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_eject,8,3                      ; @eject
	.comm	_on_page,4,2                    ; @on_page
	.comm	_paper_height,8,3               ; @paper_height
	.comm	_page,4,2                       ; @page
	.comm	_EDICT_SBTTL,8,3                ; @EDICT_SBTTL
	.comm	_subtitle,8,3                   ; @subtitle
	.comm	_EDICT_TITLE,8,3                ; @EDICT_TITLE
	.comm	_title,8,3                      ; @title
	.comm	_list_file,4,2                  ; @list_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\f"

l_.str.1:                               ; @.str.1
	.asciz	"%s %s \t\t\tpage %d\n"

	.comm	_LISTING_HEADER,8,3             ; @LISTING_HEADER
	.comm	_fn,8,3                         ; @fn
l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

	.no_dead_strip	_listing_page
.subsections_via_symbols
