	.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
	pushq	%rax
	.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, %r15d
	movq	(%rsi), %rax
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str(%rip), %rbx
	movq	_optarg@GOTPCREL(%rip), %r12
	movq	_username@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movq	%rax, (%r13)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_getopt
	cmpl	$117, %eax
	jle	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$118, %eax
	jne	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$104, %eax
	jne	LBB0_1
LBB0_5:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %eax
	jmp	LBB0_38
LBB0_9:
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leal	1(%rax), %ecx
	cmpl	%r15d, %ecx
	jge	LBB0_5
## %bb.10:
	leal	3(%rax), %ecx
	cmpl	%r15d, %ecx
	jl	LBB0_5
## %bb.11:
	movq	(%r14,%rax,8), %rdi
	movq	_idx_fname@GOTPCREL(%rip), %r12
	movq	%rdi, (%r12)
	movq	8(%r14,%rax,8), %rax
	movq	_src_fname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rax, %rdi
	callq	_change_user
	testq	%rax, %rax
	js	LBB0_39
## %bb.13:
	movq	(%r12), %rdi
LBB0_14:
	movq	_O_RDONLY@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%eax, %eax
	callq	_open
	movq	_idx_fd@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	testl	%eax, %eax
	js	LBB0_15
## %bb.17:
	movq	_SEEK_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_lseek
	movq	_idx_size@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movl	(%rbx), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	movl	(%rbx), %edi
	movq	(%r12), %rsi
	callq	_load_index_header
	movq	_src_fname@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	(%r13), %esi
	xorl	%eax, %eax
	callq	_open
	movq	_src_fd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jns	LBB0_19
## %bb.18:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_16
LBB0_15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_16
LBB0_19:
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leal	2(%rax), %ecx
	cmpl	%r15d, %ecx
	jge	LBB0_23
## %bb.20:
	movq	16(%r14,%rax,8), %rdi
	movq	_targ_fname@GOTPCREL(%rip), %rbx
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_APPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rdi, (%rbx)
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	$420, %edx                      ## imm = 0x1A4
	xorl	%eax, %eax
	callq	_open
	movq	_targ_fd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	js	LBB0_21
## %bb.22:
	movq	_SEEK_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_lseek
	movq	_targ_orig_size@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_assert
	jmp	LBB0_24
LBB0_39:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rax
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.1(%rip), %rsi
LBB0_16:
	callq	_fprintf
	movl	$1, %eax
LBB0_38:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	L_.str.6(%rip), %rax
	movq	_targ_fname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_targ_fd@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_24:
	xorl	%eax, %eax
	callq	_prepare_read
	movq	_rend@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_rptr@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%ecx, %edx
	subl	%eax, %edx
	cmpl	$4096, %edx                     ## imm = 0x1000
	jl	LBB0_31
## %bb.25:
	movslq	%eax, %rdx
	cmpl	$74671691, (%rdx)               ## imm = 0x473664B
	jne	LBB0_27
## %bb.26:
	addl	$4096, %eax                     ## imm = 0x1000
	movl	%eax, (%r15)
	movl	%ecx, %edx
	subl	%eax, %edx
	cmpl	$4096, %edx                     ## imm = 0x1000
	jl	LBB0_31
LBB0_27:
	movslq	%eax, %rdx
	cmpl	$74671691, (%rdx)               ## imm = 0x473664B
	jne	LBB0_29
## %bb.28:
	addl	$4096, %eax                     ## imm = 0x1000
	movl	%eax, (%r15)
	subl	%eax, %ecx
	cmpl	$4096, %ecx                     ## imm = 0x1000
	jl	LBB0_31
LBB0_29:
	movslq	%eax, %rcx
	cmpl	$74671691, (%rcx)               ## imm = 0x473664B
	jne	LBB0_31
## %bb.30:
	addl	$4096, %eax                     ## imm = 0x1000
	movl	%eax, (%r15)
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_process_record
	testq	%rax, %rax
	jns	LBB0_31
## %bb.32:
	xorl	%eax, %eax
	callq	_flush_out
	movq	_targ_fd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	cmpl	$1, %edi
	je	LBB0_35
## %bb.33:
	callq	_fdatasync
	testq	%rax, %rax
	js	LBB0_40
## %bb.34:
	movl	(%rbx), %edi
	callq	_close
LBB0_35:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_37
## %bb.36:
	xorl	%eax, %eax
	callq	_output_stats
LBB0_37:
	movl	(%r14), %ecx
	xorl	%eax, %eax
	cmpl	(%r15), %ecx
	setg	%al
	jmp	LBB0_38
LBB0_21:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_16
LBB0_40:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_targ_fname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.7(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_progname,8,3                   ## @progname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hvu:"

	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_optarg,8,3                     ## @optarg
	.comm	_username,8,3                   ## @username
	.comm	_optind,4,2                     ## @optind
	.comm	_idx_fname,8,3                  ## @idx_fname
	.comm	_src_fname,8,3                  ## @src_fname
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"fatal: cannot change user to %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"(none)"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_idx_fd,4,2                     ## @idx_fd
L_.str.3:                               ## @.str.3
	.asciz	"cannot open index %s: %m\n"

	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_idx_size,8,3                   ## @idx_size
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_src_fd,8,3                     ## @src_fd
L_.str.4:                               ## @.str.4
	.asciz	"cannot open %s: %m\n"

	.comm	_targ_fname,8,3                 ## @targ_fname
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_targ_fd,4,2                    ## @targ_fd
L_.str.5:                               ## @.str.5
	.asciz	"cannot create %s: %m\n"

	.comm	_targ_orig_size,8,3             ## @targ_orig_size
L_.str.6:                               ## @.str.6
	.asciz	"stdout"

	.comm	_rend,4,2                       ## @rend
	.comm	_rptr,4,2                       ## @rptr
L_.str.7:                               ## @.str.7
	.asciz	"error syncing %s: %m"

.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	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _progname@GOTPAGE
Lloh1:
	ldr	x9, [x9, _progname@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x23, _optarg@GOTPAGE
Lloh5:
	ldr	x23, [x23, _optarg@GOTPAGEOFF]
Lloh6:
	str	x8, [x9]
Lloh7:
	adrp	x24, _username@GOTPAGE
Lloh8:
	ldr	x24, [x24, _username@GOTPAGEOFF]
Lloh9:
	adrp	x22, _verbosity@GOTPAGE
Lloh10:
	ldr	x22, [x22, _verbosity@GOTPAGEOFF]
	mov	w25, #1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	b.ne	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	str	x8, [x24]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #117
	b.le	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #118
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x25, [x22]
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #104
	b.ne	LBB0_3
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x21, _optind@GOTPAGE
Lloh12:
	ldr	x21, [x21, _optind@GOTPAGEOFF]
	ldrsw	x9, [x21]
	add	w8, w9, #1
	add	w10, w9, #3
	cmp	w8, w20
	ccmp	w10, w20, #8, lt
	b.ge	LBB0_10
LBB0_9:
	bl	_usage
	mov	w0, #2
	b	LBB0_22
LBB0_10:
	ldr	x0, [x19, x9, lsl #3]
Lloh13:
	adrp	x25, _idx_fname@GOTPAGE
Lloh14:
	ldr	x25, [x25, _idx_fname@GOTPAGEOFF]
	str	x0, [x25]
	ldr	x8, [x19, w8, sxtw #3]
Lloh15:
	adrp	x23, _src_fname@GOTPAGE
Lloh16:
	ldr	x23, [x23, _src_fname@GOTPAGEOFF]
	str	x8, [x23]
	ldr	x8, [x24]
	cbz	x8, LBB0_13
; %bb.11:
	mov	x0, x8
	bl	_change_user
	tbnz	x0, #63, LBB0_20
; %bb.12:
	ldr	x0, [x25]
LBB0_13:
Lloh17:
	adrp	x26, _O_RDONLY@GOTPAGE
Lloh18:
	ldr	x26, [x26, _O_RDONLY@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_open
Lloh19:
	adrp	x27, _idx_fd@GOTPAGE
Lloh20:
	ldr	x27, [x27, _idx_fd@GOTPAGEOFF]
	str	w0, [x27]
	tbnz	w0, #31, LBB0_16
; %bb.14:
Lloh21:
	adrp	x24, _SEEK_END@GOTPAGE
Lloh22:
	ldr	x24, [x24, _SEEK_END@GOTPAGEOFF]
	ldr	w2, [x24]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #0
	bl	_lseek
Lloh23:
	adrp	x25, _idx_size@GOTPAGE
Lloh24:
	ldr	x25, [x25, _idx_size@GOTPAGEOFF]
	str	x0, [x25]
	ldr	w0, [x27]
Lloh25:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
	ldr	w0, [x27]
	ldr	x1, [x25]
	bl	_load_index_header
	ldr	x0, [x23]
	ldr	w1, [x26]
	bl	_open
Lloh28:
	adrp	x8, _src_fd@GOTPAGE
Lloh29:
	ldr	x8, [x8, _src_fd@GOTPAGEOFF]
Lloh30:
	str	x0, [x8]
	tbz	x0, #63, LBB0_17
; %bb.15:
Lloh31:
	adrp	x8, _stderr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	x2, [x23]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_21
LBB0_16:
Lloh36:
	adrp	x8, _stderr@GOTPAGE
Lloh37:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	x2, [x25]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_17:
	ldrsw	x8, [x21]
	add	x8, x8, #2
Lloh41:
	adrp	x21, _targ_fd@GOTPAGE
Lloh42:
	ldr	x21, [x21, _targ_fd@GOTPAGEOFF]
	cmp	w8, w20
	b.ge	LBB0_23
; %bb.18:
	ldr	x0, [x19, x8, lsl #3]
Lloh43:
	adrp	x19, _targ_fname@GOTPAGE
Lloh44:
	ldr	x19, [x19, _targ_fname@GOTPAGEOFF]
	str	x0, [x19]
Lloh45:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh46:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _O_APPEND@GOTPAGE
Lloh49:
	ldr	x9, [x9, _O_APPEND@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh51:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh52:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w8, #420
	str	x8, [sp]
	bl	_open
	str	w0, [x21]
	tbnz	w0, #31, LBB0_38
; %bb.19:
	ldr	w2, [x24]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #0
	bl	_lseek
Lloh54:
	adrp	x8, _targ_orig_size@GOTPAGE
Lloh55:
	ldr	x8, [x8, _targ_orig_size@GOTPAGEOFF]
Lloh56:
	str	x0, [x8]
	cmp	x0, #0
	cset	w0, gt
	bl	_assert
	b	LBB0_24
LBB0_20:
Lloh57:
	adrp	x8, _stderr@GOTPAGE
Lloh58:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	ldr	x8, [x24]
Lloh60:
	adrp	x9, l_.str.2@PAGE
Lloh61:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x2, x9, x8, eq
Lloh62:
	adrp	x1, l_.str.1@PAGE
Lloh63:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_21:
	bl	_fprintf
	mov	w0, #1
LBB0_22:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_23:
Lloh64:
	adrp	x8, _targ_fname@GOTPAGE
Lloh65:
	ldr	x8, [x8, _targ_fname@GOTPAGEOFF]
Lloh66:
	adrp	x9, l_.str.6@PAGE
Lloh67:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh68:
	str	x9, [x8]
	mov	w8, #1
	str	w8, [x21]
LBB0_24:
	bl	_prepare_read
Lloh69:
	adrp	x19, _rend@GOTPAGE
Lloh70:
	ldr	x19, [x19, _rend@GOTPAGEOFF]
	ldr	w10, [x19]
Lloh71:
	adrp	x20, _rptr@GOTPAGE
Lloh72:
	ldr	x20, [x20, _rptr@GOTPAGEOFF]
	ldr	w11, [x20]
	sub	w8, w10, w11
	cmp	w8, #1, lsl #12                 ; =4096
	b.lt	LBB0_31
; %bb.25:
	sxtw	x9, w11
	mov	w8, #26187
	movk	w8, #1139, lsl #16
	ldr	w12, [x9]
	mov	x9, x11
	cmp	w12, w8
	b.ne	LBB0_27
; %bb.26:
	add	w9, w11, #1, lsl #12            ; =4096
	str	w9, [x20]
	sub	w11, w10, w9
	cmp	w11, #1, lsl #12                ; =4096
	b.lt	LBB0_31
LBB0_27:
	sxtw	x11, w9
	ldr	w11, [x11]
	cmp	w11, w8
	b.ne	LBB0_29
; %bb.28:
	add	w9, w9, #1, lsl #12             ; =4096
	str	w9, [x20]
	sub	w10, w10, w9
	cmp	w10, #1, lsl #12                ; =4096
	b.lt	LBB0_31
LBB0_29:
	mov	x10, x9
	sxtw	x10, w10
	ldr	w10, [x10]
	cmp	w10, w8
	b.ne	LBB0_31
; %bb.30:
	add	w8, w9, #1, lsl #12             ; =4096
	str	w8, [x20]
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	bl	_process_record
	tbz	x0, #63, LBB0_31
; %bb.32:
	bl	_flush_out
	ldr	w0, [x21]
	cmp	w0, #1
	b.eq	LBB0_35
; %bb.33:
	bl	_fdatasync
	tbnz	x0, #63, LBB0_39
; %bb.34:
	ldr	w0, [x21]
	bl	_close
LBB0_35:
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_37
; %bb.36:
	bl	_output_stats
LBB0_37:
	ldr	w8, [x19]
	ldr	w9, [x20]
	cmp	w8, w9
	cset	w0, gt
	b	LBB0_22
LBB0_38:
Lloh73:
	adrp	x8, _stderr@GOTPAGE
Lloh74:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh76:
	adrp	x1, l_.str.5@PAGE
Lloh77:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_21
LBB0_39:
Lloh78:
	adrp	x8, _stderr@GOTPAGE
Lloh79:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
Lloh81:
	adrp	x8, _targ_fname@GOTPAGE
Lloh82:
	ldr	x8, [x8, _targ_fname@GOTPAGEOFF]
Lloh83:
	ldr	x2, [x8]
Lloh84:
	adrp	x1, l_.str.7@PAGE
Lloh85:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotStr	Lloh64, Lloh65, Lloh68
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_progname,8,3                   ; @progname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hvu:"

	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_optarg,8,3                     ; @optarg
	.comm	_username,8,3                   ; @username
	.comm	_optind,4,2                     ; @optind
	.comm	_idx_fname,8,3                  ; @idx_fname
	.comm	_src_fname,8,3                  ; @src_fname
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"fatal: cannot change user to %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"(none)"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_idx_fd,4,2                     ; @idx_fd
l_.str.3:                               ; @.str.3
	.asciz	"cannot open index %s: %m\n"

	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_idx_size,8,3                   ; @idx_size
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_src_fd,8,3                     ; @src_fd
l_.str.4:                               ; @.str.4
	.asciz	"cannot open %s: %m\n"

	.comm	_targ_fname,8,3                 ; @targ_fname
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_targ_fd,4,2                    ; @targ_fd
l_.str.5:                               ; @.str.5
	.asciz	"cannot create %s: %m\n"

	.comm	_targ_orig_size,8,3             ; @targ_orig_size
l_.str.6:                               ; @.str.6
	.asciz	"stdout"

	.comm	_rend,4,2                       ; @rend
	.comm	_rptr,4,2                       ; @rptr
l_.str.7:                               ; @.str.7
	.asciz	"error syncing %s: %m"

.subsections_via_symbols
