	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	%rsi, %rdi
	callq	_obsolete
	movl	$-1, %eax
	movq	_long_opts@GOTPCREL(%rip), %r14
	leaq	L_.str(%rip), %r12
	movl	$-1, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	$1, %edi
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	movl	%r13d, %eax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %ecx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	xorl	%r8d, %r8d
	callq	_getopt_long
	cmpl	$99, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$110, %eax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r13d
	movq	-64(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=2
	testl	%r13d, %r13d
	jg	LBB0_2
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoimax
	movq	-64(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jg	LBB0_1
	jmp	LBB0_8
LBB0_12:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %r15d
	leaq	(%rbx,%rax,8), %rbx
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_CAP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAP_FSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CAP_FCNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-68(%rbp), %rdi
	callq	_cap_rights_init
	movq	_FA_OPEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_fileargs_init
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_14:
	xorl	%eax, %eax
	callq	_caph_cache_catpages
	xorl	%eax, %eax
	callq	_caph_limit_stdio
	testq	%rax, %rax
	js	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_caph_enter_casper
	testq	%rax, %rax
	jns	LBB0_17
LBB0_16:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_17:
	cmpl	$-1, %r13d
	je	LBB0_20
## %bb.18:
	cmpl	$-1, -44(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_20
## %bb.19:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_20:
	cmpl	$-1, %r13d
	movl	$10, %eax
	cmovnel	%r13d, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_21
## %bb.31:
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	$-1, %esi
	jne	LBB0_33
## %bb.32:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_head
	jmp	LBB0_34
LBB0_21:
	movl	$1, %r13d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	(%rbx), %rsi
	leaq	L_.str.7(%rip), %rdi
	callq	_warn
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	je	LBB0_35
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	leaq	L_.str.6(%rip), %rdx
	callq	_fileargs_fopen
	testq	%rax, %rax
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rax, %r14
	cmpl	$2, %r15d
	jl	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	testl	%r13d, %r13d
	leaq	L_.str.9(%rip), %rsi
	leaq	L_.str.10(%rip), %rax
	cmoveq	%rax, %rsi
	movq	(%rbx), %rdx
	leaq	L_.str.8(%rip), %rdi
	callq	_printf
	xorl	%r13d, %r13d
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdi
	cmpl	$-1, %esi
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=1
	callq	_head_bytes
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_head
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r14, %rdi
	callq	_fclose
	jmp	LBB0_30
LBB0_33:
	callq	_head_bytes
LBB0_34:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_35:
	movq	%r12, %rdi
	callq	_fileargs_free
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+n:c:"

	.comm	_long_opts,4,2                  ## @long_opts
	.comm	_optarg,4,2                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"illegal byte count -- %s"

L_.str.2:                               ## @.str.2
	.asciz	"illegal line count -- %s"

	.comm	_optind,8,3                     ## @optind
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_CAP_READ,4,2                   ## @CAP_READ
	.comm	_CAP_FSTAT,4,2                  ## @CAP_FSTAT
	.comm	_CAP_FCNTL,4,2                  ## @CAP_FCNTL
	.comm	_FA_OPEN,4,2                    ## @FA_OPEN
L_.str.3:                               ## @.str.3
	.asciz	"unable to init casper"

L_.str.4:                               ## @.str.4
	.asciz	"unable to enter capability mode"

L_.str.5:                               ## @.str.5
	.asciz	"can't combine line and byte counts"

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

L_.str.7:                               ## @.str.7
	.asciz	"%s"

L_.str.8:                               ## @.str.8
	.asciz	"%s==> %s <==\n"

L_.str.9:                               ## @.str.9
	.space	1

L_.str.10:                              ## @.str.10
	.asciz	"\n"

	.comm	_stdin,8,3                      ## @stdin
.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, #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	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_obsolete
Lloh0:
	adrp	x26, _long_opts@GOTPAGE
Lloh1:
	ldr	x26, [x26, _long_opts@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
Lloh4:
	adrp	x27, _optarg@GOTPAGE
Lloh5:
	ldr	x27, [x27, _optarg@GOTPAGEOFF]
	mov	w19, #-1
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
	mov	w23, #-1
Lloh8:
	adrp	x25, l_.str.2@PAGE
Lloh9:
	add	x25, x25, l_.str.2@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x26]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x4, #0
	bl	_getopt_long
	cmp	w0, #99
	b.eq	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #110
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_usage
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x27]
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtoimax
	mov	x19, x0
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	cmp	w8, #0
	ccmp	w0, #0, #4, eq
	b.gt	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27]
	str	x8, [sp]
	mov	w0, #1
	mov	x1, x24
	bl	_errx
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x27]
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	mov	x23, x0
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	cmp	w8, #0
	ccmp	w0, #0, #4, eq
	b.gt	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27]
	str	x8, [sp]
	mov	w0, #1
	mov	x1, x25
	bl	_errx
	b	LBB0_1
LBB0_9:
Lloh10:
	adrp	x8, _optind@GOTPAGE
Lloh11:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	sub	w20, w20, w8
	add	x21, x21, x8, lsl #3
Lloh13:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
Lloh16:
	adrp	x8, _CAP_READ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CAP_READ@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _CAP_FSTAT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CAP_FSTAT@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _CAP_FCNTL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CAP_FCNTL@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	add	x0, sp, #20
	bl	_cap_rights_init
	mov	x4, x0
Lloh25:
	adrp	x8, _FA_OPEN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FA_OPEN@GOTPAGEOFF]
Lloh27:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	bl	_fileargs_init
	mov	x22, x0
	cbnz	x0, LBB0_11
; %bb.10:
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_11:
	bl	_caph_cache_catpages
	bl	_caph_limit_stdio
	tbnz	x0, #63, LBB0_13
; %bb.12:
	bl	_caph_enter_casper
	tbz	x0, #63, LBB0_14
LBB0_13:
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_14:
	cmn	w23, #1
	b.eq	LBB0_17
; %bb.15:
	cmn	w19, #1
	b.eq	LBB0_17
; %bb.16:
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_17:
	cmn	w23, #1
	mov	w8, #10
	csel	w23, w8, w23, eq
	ldr	x1, [x21]
	cbnz	x1, LBB0_20
; %bb.18:
Lloh34:
	adrp	x8, _stdin@GOTPAGE
Lloh35:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh36:
	ldr	x0, [x8]
	cmn	w19, #1
	b.ne	LBB0_30
; %bb.19:
	mov	x1, x23
	bl	_head
	b	LBB0_31
LBB0_20:
	mov	w24, #0
	mov	w27, #1
Lloh37:
	adrp	x25, l_.str.6@PAGE
Lloh38:
	add	x25, x25, l_.str.6@PAGEOFF
Lloh39:
	adrp	x26, l_.str.7@PAGE
Lloh40:
	add	x26, x26, l_.str.7@PAGEOFF
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x1, [x21]
	mov	x0, x26
	bl	_warn
	mov	w24, #1
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x1, [x21, #8]!
	cbz	x1, LBB0_32
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x2, x25
	bl	_fileargs_fopen
	cbz	x0, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x28, x0
	cmp	w20, #2
	b.lt	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	cmp	w27, #0
Lloh41:
	adrp	x8, l_.str.9@PAGE
Lloh42:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh43:
	adrp	x9, l_.str.10@PAGE
Lloh44:
	add	x9, x9, l_.str.10@PAGEOFF
	csel	x1, x9, x8, eq
	ldr	x2, [x21]
Lloh45:
	adrp	x0, l_.str.8@PAGE
Lloh46:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	mov	w27, #0
LBB0_26:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x28
	cmn	w19, #1
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x1, x19
	bl	_head_bytes
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x1, x23
	bl	_head
LBB0_29:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x28
	bl	_fclose
	b	LBB0_22
LBB0_30:
	mov	x1, x19
	bl	_head_bytes
LBB0_31:
	mov	w24, #0
LBB0_32:
	mov	x0, x22
	bl	_fileargs_free
	mov	x0, x24
	bl	_exit
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+n:c:"

	.comm	_long_opts,4,2                  ; @long_opts
	.comm	_optarg,4,2                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"illegal byte count -- %s"

l_.str.2:                               ; @.str.2
	.asciz	"illegal line count -- %s"

	.comm	_optind,8,3                     ; @optind
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_CAP_READ,4,2                   ; @CAP_READ
	.comm	_CAP_FSTAT,4,2                  ; @CAP_FSTAT
	.comm	_CAP_FCNTL,4,2                  ; @CAP_FCNTL
	.comm	_FA_OPEN,4,2                    ; @FA_OPEN
l_.str.3:                               ; @.str.3
	.asciz	"unable to init casper"

l_.str.4:                               ; @.str.4
	.asciz	"unable to enter capability mode"

l_.str.5:                               ; @.str.5
	.asciz	"can't combine line and byte counts"

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

l_.str.7:                               ; @.str.7
	.asciz	"%s"

l_.str.8:                               ; @.str.8
	.asciz	"%s==> %s <==\n"

l_.str.9:                               ; @.str.9
	.space	1

l_.str.10:                              ; @.str.10
	.asciz	"\n"

	.comm	_stdin,8,3                      ; @stdin
.subsections_via_symbols
