	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfnote                         ## -- Begin function pfnote
	.p2align	4, 0x90
_pfnote:                                ## @pfnote
	.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
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXTOKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	$48, %edi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	%r15, %r14
	movq	_head@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_put_entries
	movq	(%r15), %rdi
	callq	_free_tree
	movl	$48, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, (%r15)
	movq	%r14, %r15
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	xorl	%ebx, %ebx
LBB0_3:
	movq	_xflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movq	_curfile@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	cmoveq	%r13, %rcx
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_snprintf
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	cmpb	$0, 2(%rax)
	jne	LBB0_8
## %bb.7:
	movq	_EOS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%rax)
LBB0_8:
	movq	%r15, %r13
LBB0_9:
	movq	%r13, %rdi
	callq	_strdup
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_11:
	movq	_curfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	%r14d, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	_lbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_13:
	movq	_head@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.15:
	movq	%rbx, %rdi
	callq	_add_node
	jmp	LBB0_16
LBB0_14:
	movq	%rbx, (%rax)
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXTOKEN,4,2                   ## @MAXTOKEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many entries to sort"

	.comm	_head,8,3                       ## @head
L_.str.1:                               ## @.str.1
	.asciz	"out of space"

	.comm	_xflag,4,2                      ## @xflag
L_.str.2:                               ## @.str.2
	.asciz	"main"

	.comm	_curfile,8,3                    ## @curfile
L_.str.3:                               ## @.str.3
	.asciz	"M%s"

	.comm	_EOS,1,0                        ## @EOS
	.comm	_lbuf,8,3                       ## @lbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfnote                         ; -- Begin function pfnote
	.p2align	2
_pfnote:                                ; @pfnote
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAXTOKEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXTOKEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	mov	w0, #48
	bl	_malloc
	mov	x20, x0
Lloh8:
	adrp	x24, _head@GOTPAGE
Lloh9:
	ldr	x24, [x24, _head@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.1:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	ldr	x0, [x24]
	bl	_put_entries
	ldr	x0, [x24]
	bl	_free_tree
	mov	w0, #48
	bl	_malloc
	mov	x20, x0
	str	x0, [x24]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_3:
Lloh14:
	adrp	x8, _xflag@GOTPAGE
Lloh15:
	ldr	x8, [x8, _xflag@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x25, _curfile@GOTPAGE
Lloh18:
	ldr	x25, [x25, _curfile@GOTPAGEOFF]
	cbnz	w8, LBB0_9
; %bb.4:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.5:
	ldr	x23, [x25]
	mov	x0, x23
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x3, x23, x0, eq
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
	mov	x0, x21
	mov	w1, #46
	bl	_strrchr
	cbz	x0, LBB0_8
; %bb.6:
	ldrb	w8, [x0, #2]
	cbnz	w8, LBB0_8
; %bb.7:
Lloh23:
	adrp	x8, _EOS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EOS@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x0]
LBB0_8:
	mov	x23, x21
LBB0_9:
	mov	x0, x23
	bl	_strdup
	str	x0, [x20, #40]
	cbnz	x0, LBB0_11
; %bb.10:
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_11:
	ldr	x8, [x25]
	str	x8, [x20]
	str	w19, [x20, #8]
	stp	xzr, xzr, [x20, #24]
Lloh25:
	adrp	x8, _lbuf@GOTPAGE
Lloh26:
	ldr	x8, [x8, _lbuf@GOTPAGEOFF]
Lloh27:
	ldr	x0, [x8]
	bl	_strdup
	str	x0, [x20, #16]
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x1, [x24]
	cbz	x1, LBB0_15
LBB0_13:
	mov	x0, x20
	bl	_add_node
	b	LBB0_16
LBB0_14:
	mov	w0, #1
	mov	x1, #0
	bl	_err
	ldr	x1, [x24]
	cbnz	x1, LBB0_13
LBB0_15:
	str	x20, [x24]
LBB0_16:
	ldur	x8, [x29, #-72]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXTOKEN,4,2                   ; @MAXTOKEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many entries to sort"

	.comm	_head,8,3                       ; @head
l_.str.1:                               ; @.str.1
	.asciz	"out of space"

	.comm	_xflag,4,2                      ; @xflag
l_.str.2:                               ; @.str.2
	.asciz	"main"

	.comm	_curfile,8,3                    ; @curfile
l_.str.3:                               ; @.str.3
	.asciz	"M%s"

	.comm	_EOS,1,0                        ; @EOS
	.comm	_lbuf,8,3                       ; @lbuf
.subsections_via_symbols
