	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	L_.str(%rip), %r12
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_getopt
	cmpl	$113, %eax
	jg	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$99, %eax
	jne	LBB0_5
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$115, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$114, %eax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movzbl	(%rdi), %eax
	addb	$-37, %al
	rorb	%al
	leal	-3(%rax), %ecx
	cmpb	$2, %cl
	jb	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$5, %al
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testb	%al, %al
	jne	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edx
	jmp	LBB0_15
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ecx
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edx                 ## 4-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	orl	%edx, %ecx
	setne	%al
	addq	%rax, %rdi
	leaq	-68(%rbp), %rsi
	callq	_expand_number
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -68(%rbp)
	jns	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_errx
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%rax), %eax
	orb	$2, %al
	cmpb	$47, %al
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	-68(%rbp), %rax
	negq	%rax
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	-68(%rbp), %rax
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	jmp	LBB0_2
LBB0_23:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	addl	%r13d, %r15d
	cmpl	$1, %r15d
	jne	LBB0_25
## %bb.24:
	subl	%r12d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_25
## %bb.26:
	testl	%r13d, %r13d
	je	LBB0_30
LBB0_27:
	leaq	-80(%rbp), %rsi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_stat
	cmpl	$-1, %eax
	jne	LBB0_29
## %bb.28:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_err
LBB0_29:
	movq	-80(%rbp), %rcx
	xorl	%edx, %edx
	jmp	LBB0_31
LBB0_25:
	xorl	%eax, %eax
	callq	_usage
	testl	%r13d, %r13d
	jne	LBB0_27
LBB0_30:
	xorl	%eax, %eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	orl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	$0, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmovneq	%rcx, %rdx
	cmovneq	%rax, %rcx
LBB0_31:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	leaq	(%r14,%r12,8), %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	jne	LBB0_33
## %bb.32:
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_33:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_44
## %bb.34:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_S_IRGRP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_S_IROTH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	negq	%r12
	cmovsq	%rdx, %r12
	xorl	%eax, %eax
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	setg	%al
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$-1, %r13d
	xorl	%r15d, %r15d
LBB0_35:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_36 Depth 2
	addq	$8, %r14
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_36 Depth=2
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_warn
	incl	%r15d
LBB0_41:                                ##   in Loop: Header=BB0_36 Depth=2
	movq	(%r14), %rbx
	addq	$8, %r14
	testq	%rbx, %rbx
	je	LBB0_42
LBB0_36:                                ##   Parent Loop BB0_35 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$-1, %r13d
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=2
	movl	%r13d, %edi
	callq	_close
LBB0_38:                                ##   in Loop: Header=BB0_36 Depth=2
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_open
	movl	%eax, %r13d
	cmpl	$-1, %eax
	je	LBB0_39
## %bb.46:                              ##   in Loop: Header=BB0_36 Depth=2
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_36 Depth=2
	movl	%r13d, %edi
	leaq	-80(%rbp), %rsi
	callq	_fstat
	cmpl	$-1, %eax
	je	LBB0_40
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_36 Depth=2
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_40
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_35 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_51
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	-80(%rbp), %rsi
	addq	-96(%rbp), %rsi                 ## 8-byte Folded Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_60
LBB0_51:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edi
	leaq	-80(%rbp), %rsi
	callq	_fstat
	cmpl	$-1, %eax
	je	LBB0_52
## %bb.55:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	-80(%rbp), %rsi
	movq	%rsi, %rax
	movq	%r12, %rcx
	orq	%r12, %rax
	shrq	$32, %rax
	je	LBB0_56
## %bb.57:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	je	LBB0_60
LBB0_59:                                ##   in Loop: Header=BB0_35 Depth=1
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %rsi
	movq	$-1, %rcx
	cmovsq	%rcx, %rsi
	movq	%r12, %rcx
	cmpq	%r12, %rax
	cmoveq	%rdx, %rsi
	addq	%rax, %rsi
	testq	%rsi, %rsi
	movl	$0, %eax
	cmovleq	%rax, %rsi
	imulq	%r12, %rsi
LBB0_60:                                ##   in Loop: Header=BB0_35 Depth=1
	testq	%rsi, %rsi
	movl	$0, %eax
	cmovleq	%rax, %rsi
	movl	%r13d, %edi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_ftruncate
	cmpl	$-1, %eax
	jne	LBB0_53
LBB0_52:                                ##   in Loop: Header=BB0_35 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_warn
	incl	%r15d
LBB0_53:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_35
	jmp	LBB0_54
LBB0_56:                                ##   in Loop: Header=BB0_35 Depth=1
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
	testq	%rdx, %rdx
	jne	LBB0_59
	jmp	LBB0_60
LBB0_42:
	cmpl	$-1, %r13d
	je	LBB0_43
LBB0_54:
	movl	%r13d, %edi
	callq	_close
LBB0_43:
	testl	%r15d, %r15d
	jne	LBB0_45
LBB0_44:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
LBB0_45:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	addq	$72, %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	"cr:s:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"invalid size argument `%s'"

	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_S_IRGRP,4,2                    ## @S_IRGRP
	.comm	_S_IROTH,4,2                    ## @S_IROTH
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_EFBIG,8,3                      ## @EFBIG
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
.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, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	w23, #0
	str	wzr, [sp, #32]                  ; 4-byte Folded Spill
	mov	w26, #0
	mov	x25, #0
	mov	w24, #0
	mov	w28, #0
	mov	x19, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x27, _optarg@GOTPAGE
Lloh3:
	ldr	x27, [x27, _optarg@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_getopt
	cmp	w0, #113
	b.gt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_20
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #99
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w24, #1
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #115
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #114
	b.ne	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x27]
	mov	w28, #1
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldrb	w9, [x8]
	sub	w9, w9, #37
	ubfx	w10, w9, #1, #7
	bfi	w10, w9, #7, #25
	and	w9, w10, #0xff
	sub	w10, w9, #3
	cmp	w10, #2
	b.lo	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #5
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w23, #1
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #1
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w23, [sp, #32]                  ; 4-byte Folded Reload
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	orr	w9, w26, w23
	cmp	w9, #0
	cinc	x0, x8, ne
	add	x1, sp, #36
	bl	_expand_number
	cmn	w0, #1
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #36]
	tbz	w8, #31, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh4:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x2, [x27]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errx
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldrb	w8, [x8]
	orr	w8, w8, #0x2
	cmp	w8, #47
	str	w23, [sp, #32]                  ; 4-byte Folded Spill
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x8, [sp, #36]
	neg	x25, x8
	mov	w23, #1
	b	LBB0_2
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x25, [sp, #36]
	mov	w23, #1
	b	LBB0_2
LBB0_20:
Lloh9:
	adrp	x8, _optind@GOTPAGE
Lloh10:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x27, x21, x8, lsl #3
	add	w9, w23, w28
	cmp	w9, #1
	b.ne	LBB0_26
; %bb.21:
	sub	w8, w20, w8
	cmp	w8, #0
	b.le	LBB0_26
; %bb.22:
	cbz	w28, LBB0_27
LBB0_23:
	add	x1, sp, #40
	mov	x0, x19
	bl	_stat
	cmn	w0, #1
	b.ne	LBB0_25
; %bb.24:
Lloh12:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_err
LBB0_25:
	mov	x11, #0
	ldr	x9, [sp, #40]
	b	LBB0_28
LBB0_26:
	bl	_usage
	cbnz	w28, LBB0_23
LBB0_27:
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	orr	w8, w26, w8
	cmp	w8, #0
	csel	x11, x25, xzr, ne
	csel	x9, xzr, x25, ne
LBB0_28:
Lloh17:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w24, #0
	csel	w8, w8, wzr, eq
	ldr	x22, [x27]
	cbz	x22, LBB0_51
; %bb.29:
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	mov	w25, #0
Lloh20:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _S_IRUSR@GOTPAGE
Lloh24:
	ldr	x10, [x10, _S_IRUSR@GOTPAGEOFF]
	orr	w20, w8, w9
Lloh25:
	ldr	w8, [x10]
Lloh26:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh27:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh29:
	adrp	x9, _S_IRGRP@GOTPAGE
Lloh30:
	ldr	x9, [x9, _S_IRGRP@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _S_IROTH@GOTPAGE
Lloh33:
	ldr	x9, [x9, _S_IROTH@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w21, w8, w9
	cmp	x11, #0
	cneg	x28, x11, mi
	cset	w8, gt
	stp	x8, x11, [sp, #8]               ; 16-byte Folded Spill
	mov	w23, #-1
Lloh35:
	adrp	x19, _ENOENT@GOTPAGE
Lloh36:
	ldr	x19, [x19, _ENOENT@GOTPAGEOFF]
Lloh37:
	adrp	x24, l_.str.2@PAGE
Lloh38:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_30:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
	add	x27, x27, #8
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=2
	mov	x0, x24
	mov	x1, x22
	bl	_warn
	add	w25, w25, #1
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
	ldr	x22, [x27], #8
	cbz	x22, LBB0_47
LBB0_33:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmn	w23, #1
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	mov	x0, x23
	bl	_close
LBB0_35:                                ;   in Loop: Header=BB0_33 Depth=2
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_open
	mov	x23, x0
	cmn	w0, #1
	b.eq	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=2
	cbz	w26, LBB0_39
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=2
	add	x1, sp, #40
	mov	x0, x23
	bl	_fstat
	cmn	w0, #1
	b.eq	LBB0_31
	b	LBB0_40
LBB0_38:                                ;   in Loop: Header=BB0_33 Depth=2
Lloh39:
	adrp	x8, _errno@GOTPAGE
Lloh40:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_31
	b	LBB0_32
LBB0_39:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_41
	b	LBB0_44
LBB0_40:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [sp, #40]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x1, x8, x9
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_44
LBB0_41:                                ;   in Loop: Header=BB0_30 Depth=1
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	add	x1, sp, #40
	mov	x0, x23
	bl	_fstat
	cmn	w0, #1
	b.eq	LBB0_46
; %bb.42:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x1, [sp, #40]
	sdiv	x8, x1, x28
	msub	x9, x8, x28, x1
	cbz	x9, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x10, x28
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x9, #0
	ccmp	x8, x28, #4, lt
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	csinv	x9, x9, xzr, eq
	add	x8, x9, x8
	cmp	x8, #0
	csel	x8, x8, xzr, gt
	mul	x1, x8, x28
LBB0_44:                                ;   in Loop: Header=BB0_30 Depth=1
	cmp	x1, #0
	csel	x1, x1, xzr, gt
	mov	x0, x23
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	bl	_ftruncate
	cmn	w0, #1
	b.eq	LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x22, [x27]
	cbnz	x22, LBB0_30
	b	LBB0_48
LBB0_46:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_warn
	add	w25, w25, #1
	ldr	x22, [x27]
	cbnz	x22, LBB0_30
	b	LBB0_48
LBB0_47:
	cmn	w23, #1
	b.eq	LBB0_49
LBB0_48:
	mov	x0, x23
	bl	_close
LBB0_49:
	cbz	w25, LBB0_51
; %bb.50:
Lloh42:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
	b	LBB0_52
LBB0_51:
Lloh44:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
LBB0_52:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cr:s:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"invalid size argument `%s'"

	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_S_IRGRP,4,2                    ; @S_IRGRP
	.comm	_S_IROTH,4,2                    ; @S_IROTH
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_EFBIG,8,3                      ; @EFBIG
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
.subsections_via_symbols
