	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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, -48(%rbp)                 ## 8-byte Spill
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_geteuid
	movq	_euid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_getuid
	movq	_uid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	decl	%r14d
	je	LBB0_11
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %r14d
	notl	%r14d
	addl	%r15d, %r14d
	decl	%r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%r12, %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	%r13d, %r15d
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_4
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=2
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %eax
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=2
	leaq	(%r14,%rax), %rdi
	decq	%rdi
	callq	_enter
	movq	_allflag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r13
	addq	$-8, %r12
	cmpl	%r13d, %r15d
	je	LBB0_10
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r13,8), %r14
	movl	$1, %eax
	cmpb	$45, (%r14)
	jne	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movsbl	1(%r14), %eax
	addl	$-80, %eax
	cmpl	$35, %eax
	ja	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	2(%r14), %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	_sort@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_9
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	_mflag@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %rdi
	callq	_atof
	movq	_price@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_pflag@GOTPCREL(%rip), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	$1, (%rax)
	jmp	LBB0_9
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	_reverse@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_9
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	_summarize@GOTPCREL(%rip), %rax
	incq	(%rax)
	jmp	LBB0_9
LBB0_10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_13
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	_DEFLP@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_13:
	movq	%rbx, %rdi
	callq	_chkprinter
	testl	%eax, %eax
	jne	LBB0_21
## %bb.14:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	movl	$2, %edi
	callq	_exit
LBB0_21:
	movq	_acctfile@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	jne	LBB0_22
## %bb.28:
	movl	(%r14), %edi
	callq	_perror
	movl	$1, %edi
	callq	_exit
LBB0_22:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_account
	movq	%rbx, %rdi
	callq	_fclose
	movq	_sumfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_account
	movq	%rbx, %rdi
	callq	_fclose
LBB0_24:
	movq	_summarize@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_25
## %bb.26:
	xorl	%eax, %eax
	callq	_dumpit
	jmp	LBB0_27
LBB0_25:
	xorl	%eax, %eax
	callq	_rewrite
LBB0_27:
	movq	_errs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_16
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_7
	.long	L0_0_set_19
	.long	L0_0_set_18
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_euid,4,2                       ## @euid
	.comm	_uid,4,2                        ## @uid
	.comm	_price,4,2                      ## @price
	.comm	_pflag,4,2                      ## @pflag
	.comm	_summarize,8,3                  ## @summarize
	.comm	_sort,4,2                       ## @sort
	.comm	_mflag,4,2                      ## @mflag
	.comm	_reverse,4,2                    ## @reverse
	.comm	_allflag,8,3                    ## @allflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PRINTER"

	.comm	_DEFLP,8,3                      ## @DEFLP
L_.str.1:                               ## @.str.1
	.asciz	"pac: unknown printer %s\n"

	.comm	_acctfile,4,2                   ## @acctfile
L_.str.2:                               ## @.str.2
	.asciz	"r"

	.comm	_sumfile,4,2                    ## @sumfile
	.comm	_errs,4,2                       ## @errs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x1
	mov	x20, x0
	bl	_geteuid
Lloh0:
	adrp	x8, _euid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _euid@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	bl	_getuid
Lloh3:
	adrp	x8, _uid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uid@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
	subs	w8, w20, #1
	b.eq	LBB0_18
; %bb.1:
	mov	x20, #0
Lloh6:
	adrp	x25, lJTI0_0@PAGE
Lloh7:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh8:
	adrp	x27, _reverse@GOTPAGE
Lloh9:
	ldr	x27, [x27, _reverse@GOTPAGEOFF]
Lloh10:
	adrp	x28, _summarize@GOTPAGE
Lloh11:
	ldr	x28, [x28, _summarize@GOTPAGEOFF]
Lloh12:
	adrp	x19, _allflag@GOTPAGE
Lloh13:
	ldr	x19, [x19, _allflag@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mvn	w8, w23
	add	w8, w8, w26
	sub	w9, w26, #1
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	sub	x10, x10, x24
	add	x21, x10, #8
	cmp	w9, w23
	b.eq	LBB0_19
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x24, #0
	mov	x23, #0
	stp	x20, x21, [sp]                  ; 16-byte Folded Spill
	add	x21, x21, #8
	mov	w26, w8
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	bl	_atof
Lloh14:
	adrp	x8, _price@GOTPAGE
Lloh15:
	ldr	x8, [x8, _price@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
	mov	w8, #1
Lloh17:
	adrp	x9, _pflag@GOTPAGE
Lloh18:
	ldr	x9, [x9, _pflag@GOTPAGEOFF]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	str	w8, [x9]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x23, x23, #1
	sub	x24, x24, #8
	cmp	w26, w23
	b.eq	LBB0_17
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x22, [x21, x23, lsl #3]
	ldrb	w8, [x22]
	cmp	w8, #45
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldrsb	w8, [x22, #1]
	sub	w8, w8, #80
	cmp	w8, #35
	b.hi	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x20, x22, #2
	adr	x9, LBB0_2
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
Lloh19:
	adrp	x9, _sort@GOTPAGE
Lloh20:
	ldr	x9, [x9, _sort@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w8, #1
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x8, x22, x8
	sub	x0, x8, #1
	bl	_enter
	str	xzr, [x19]
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=2
	bl	_usage
	mov	w8, #2
	b	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w8, #1
Lloh21:
	adrp	x9, _mflag@GOTPAGE
Lloh22:
	ldr	x9, [x9, _mflag@GOTPAGEOFF]
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	b	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x28]
	add	x8, x8, #1
	str	x8, [x28]
	b	LBB0_6
LBB0_17:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	mov	x20, x8
	cbnz	x8, LBB0_19
LBB0_18:
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh25:
	adrp	x8, _DEFLP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DEFLP@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x20, x8, x0, eq
LBB0_19:
	mov	x0, x20
	bl	_chkprinter
	cbnz	w0, LBB0_21
; %bb.20:
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_printf
	mov	w0, #2
	bl	_exit
LBB0_21:
Lloh30:
	adrp	x20, _acctfile@GOTPAGE
Lloh31:
	ldr	x20, [x20, _acctfile@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fopen
	cbnz	x0, LBB0_23
; %bb.22:
	ldr	w0, [x20]
	bl	_perror
	mov	w0, #1
	bl	_exit
LBB0_23:
	mov	x19, x0
	bl	_account
	mov	x0, x19
	bl	_fclose
Lloh34:
	adrp	x8, _sumfile@GOTPAGE
Lloh35:
	ldr	x8, [x8, _sumfile@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_25
; %bb.24:
	mov	x19, x0
	bl	_account
	mov	x0, x19
	bl	_fclose
LBB0_25:
Lloh39:
	adrp	x8, _summarize@GOTPAGE
Lloh40:
	ldr	x8, [x8, _summarize@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cbnz	x8, LBB0_27
; %bb.26:
	bl	_dumpit
	b	LBB0_28
LBB0_27:
	bl	_rewrite
LBB0_28:
Lloh42:
	adrp	x8, _errs@GOTPAGE
Lloh43:
	ldr	x8, [x8, _errs@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
                                        ; -- End function
	.comm	_euid,4,2                       ; @euid
	.comm	_uid,4,2                        ; @uid
	.comm	_price,4,2                      ; @price
	.comm	_pflag,4,2                      ; @pflag
	.comm	_summarize,8,3                  ; @summarize
	.comm	_sort,4,2                       ; @sort
	.comm	_mflag,4,2                      ; @mflag
	.comm	_reverse,4,2                    ; @reverse
	.comm	_allflag,8,3                    ; @allflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PRINTER"

	.comm	_DEFLP,8,3                      ; @DEFLP
l_.str.1:                               ; @.str.1
	.asciz	"pac: unknown printer %s\n"

	.comm	_acctfile,4,2                   ; @acctfile
l_.str.2:                               ; @.str.2
	.asciz	"r"

	.comm	_sumfile,4,2                    ; @sumfile
	.comm	_errs,4,2                       ; @errs
.subsections_via_symbols
