	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_next_user                 ## -- Begin function load_next_user
	.p2align	4, 0x90
_load_next_user:                        ## @load_next_user
	.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	_cur_userhdr_size@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rax
	movq	_riptr@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	addq	%rax, %rcx
	movq	%rcx, (%r15)
	movq	_rpos@GOTPCREL(%rip), %rdx
	addq	%rax, (%rdx)
	movq	_User@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	$0, (%rsi)
	movq	_wiptr@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpq	(%r12), %rcx
	setle	%dil
	callq	_assert
	movq	(%r15), %rsi
	movq	(%r12), %r8
	movl	$24, %ebx
	movq	_UserHdr@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	20(%rax), %eax
	movq	_MAX_DATA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setbe	%al
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	(%r13), %rax
	movslq	16(%rax), %rcx
	shlq	$4, %rcx
	movslq	20(%rax), %rdx
	leaq	(%rcx,%rdx,4), %rbx
	addq	$24, %rbx
	movq	_cur_userhdr_size@GOTPCREL(%rip), %rcx
	movq	%rbx, (%rcx)
	movq	(%r12), %r8
	movq	(%r15), %rsi
	movq	%r8, %rcx
	subq	%rsi, %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_15
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r8, %rsi
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ibuff@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rsi, (%r12)
	movq	%rsi, (%r15)
	movq	%rsi, %r8
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r8, %rdx
	subq	%rsi, %rdx
	movslq	%ebx, %r14
	cmpq	%r14, %rdx
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ibuff@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	_ibuff@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, %rsi
	subq	(%r15), %rsi
	addq	(%r12), %rsi
	movq	%rsi, (%r12)
	movq	%rdx, (%r15)
	movq	_fd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	subq	%rsi, %rdx
	movq	_FILE_BUFFER_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	callq	_read
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r8d
	addq	(%r12), %r8
	movq	%r8, (%r12)
	movq	(%r15), %rsi
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	subq	%rsi, %r8
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, %r8
	jl	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, (%r13)
	movq	(%rsi), %rax
	xorl	%edi, %edi
	movq	_MAIL_INDEX_BLOCK_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	(%r13), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	setg	%dil
	callq	_assert
	movq	(%r13), %rax
	movl	16(%rax), %ecx
	movq	_MAX_HASHES@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jbe	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_8:
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fnames@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movq	_rpos@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_16
LBB0_15:
	movq	_User@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	(%r15), %rax
	leaq	24(%rax), %rcx
	movq	_CurH@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movslq	8(%rbx), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$24, %rax
	movq	_CurL@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %r14d
	jmp	LBB0_16
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fnames@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movq	_rpos@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_fail
	movl	$-1, %r14d
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cur_userhdr_size,8,3           ## @cur_userhdr_size
	.comm	_riptr,8,3                      ## @riptr
	.comm	_rpos,8,3                       ## @rpos
	.comm	_User,16,3                      ## @User
	.comm	_wiptr,8,3                      ## @wiptr
	.comm	_ibuff,8,3                      ## @ibuff
	.comm	_fd,8,3                         ## @fd
	.comm	_FILE_BUFFER_SIZE,8,3           ## @FILE_BUFFER_SIZE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fatal: error reading file %s at position %lld: %m\n"

	.comm	_fnames,8,3                     ## @fnames
L_.str.1:                               ## @.str.1
	.asciz	"error reading file %s at pos %lld: %ld bytes available, %d required\n"

	.comm	_UserHdr,8,3                    ## @UserHdr
	.comm	_MAIL_INDEX_BLOCK_MAGIC,8,3     ## @MAIL_INDEX_BLOCK_MAGIC
	.comm	_MAX_HASHES,4,2                 ## @MAX_HASHES
	.comm	_MAX_DATA,4,2                   ## @MAX_DATA
	.comm	_CurH,8,3                       ## @CurH
	.comm	_CurL,8,3                       ## @CurL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_next_user                 ; -- Begin function load_next_user
	.p2align	2
_load_next_user:                        ; @load_next_user
	.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
Lloh0:
	adrp	x21, _cur_userhdr_size@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cur_userhdr_size@GOTPAGEOFF]
Lloh2:
	adrp	x20, _riptr@GOTPAGE
Lloh3:
	ldr	x20, [x20, _riptr@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x20]
Lloh4:
	adrp	x23, _wiptr@GOTPAGE
Lloh5:
	ldr	x23, [x23, _wiptr@GOTPAGEOFF]
	ldr	x10, [x23]
	add	x9, x9, x8
	cmp	x9, x10
	str	x9, [x20]
Lloh6:
	adrp	x10, _rpos@GOTPAGE
Lloh7:
	ldr	x10, [x10, _rpos@GOTPAGEOFF]
	ldr	x9, [x10]
	add	x8, x9, x8
	str	x8, [x10]
Lloh8:
	adrp	x8, _User@GOTPAGE
Lloh9:
	ldr	x8, [x8, _User@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
	str	xzr, [x21]
	cset	w0, le
	bl	_assert
	ldr	x1, [x20]
	ldr	x9, [x23]
	mov	w22, #24
Lloh11:
	adrp	x24, _ibuff@GOTPAGE
Lloh12:
	ldr	x24, [x24, _ibuff@GOTPAGEOFF]
Lloh13:
	adrp	x26, _FILE_BUFFER_SIZE@GOTPAGE
Lloh14:
	ldr	x26, [x26, _FILE_BUFFER_SIZE@GOTPAGEOFF]
Lloh15:
	adrp	x27, _UserHdr@GOTPAGE
Lloh16:
	ldr	x27, [x27, _UserHdr@GOTPAGEOFF]
Lloh17:
	adrp	x28, _MAIL_INDEX_BLOCK_MAGIC@GOTPAGE
Lloh18:
	ldr	x28, [x28, _MAIL_INDEX_BLOCK_MAGIC@GOTPAGEOFF]
Lloh19:
	adrp	x19, _MAX_HASHES@GOTPAGE
Lloh20:
	ldr	x19, [x19, _MAX_HASHES@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8, #20]
Lloh21:
	adrp	x9, _MAX_DATA@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MAX_DATA@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ls
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_assert
	ldr	x8, [x27]
	ldpsw	x9, x10, [x8, #16]
	lsl	x9, x9, #4
	add	x9, x9, x10, lsl #2
	add	x22, x9, #24
	str	x22, [x21]
	ldr	x9, [x23]
	ldr	x1, [x20]
	sub	x10, x9, x1
	cmp	x10, x22
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b.ge	LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x1, x9
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x24]
	str	x1, [x23]
	str	x1, [x20]
	mov	x9, x1
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x25, w22
	sub	x2, x9, x1
	cmp	x2, x25
	b.ge	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x24]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	ldr	x8, [x20]
	ldr	x9, [x24]
	ldr	x10, [x23]
	sub	x8, x9, x8
	add	x1, x8, x10
	str	x1, [x23]
	str	x9, [x20]
Lloh24:
	adrp	x8, _fd@GOTPAGE
Lloh25:
	ldr	x8, [x8, _fd@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	x8, [x26]
	sub	x9, x9, x1
	add	x2, x9, x8
	bl	_read
	tbnz	w0, #31, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	add	x9, x8, w0, uxtw
	str	x9, [x23]
	ldr	x1, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	subs	x8, x9, x1
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x25
	b.lt	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x1, [x27]
	ldr	x8, [x1]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [x27]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x27]
	ldr	w9, [x8, #16]
	ldr	w10, [x19]
	cmp	w9, w10
	b.ls	LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #0
	b	LBB0_2
LBB0_12:
	mov	w0, #0
	b	LBB0_16
LBB0_13:
Lloh27:
	adrp	x9, _stderr@GOTPAGE
Lloh28:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x9]
Lloh30:
	adrp	x9, _fnames@GOTPAGE
Lloh31:
	ldr	x9, [x9, _fnames@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldr	x2, [x9]
Lloh33:
	adrp	x9, _rpos@GOTPAGE
Lloh34:
	ldr	x9, [x9, _rpos@GOTPAGEOFF]
Lloh35:
	ldr	x3, [x9]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	stp	x8, x22, [sp]
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #0
	b	LBB0_16
LBB0_14:
Lloh38:
	adrp	x19, _User@GOTPAGE
Lloh39:
	ldr	x19, [x19, _User@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x8
	mov	w2, #24
	bl	_memcpy
	ldr	x8, [x20]
	add	x8, x8, #24
Lloh40:
	adrp	x9, _CurH@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CurH@GOTPAGEOFF]
Lloh42:
	str	x8, [x9]
	ldrsw	x9, [x19, #8]
	add	x8, x8, x9, lsl #4
Lloh43:
	adrp	x9, _CurL@GOTPAGE
Lloh44:
	ldr	x9, [x9, _CurL@GOTPAGEOFF]
Lloh45:
	str	x8, [x9]
	ldr	w0, [x19]
	b	LBB0_16
LBB0_15:
Lloh46:
	adrp	x8, _stderr@GOTPAGE
Lloh47:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x8, _fnames@GOTPAGE
Lloh50:
	ldr	x8, [x8, _fnames@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	ldr	x2, [x8]
Lloh52:
	adrp	x8, _rpos@GOTPAGE
Lloh53:
	ldr	x8, [x8, _rpos@GOTPAGEOFF]
Lloh54:
	ldr	x3, [x8]
Lloh55:
	adrp	x1, l_.str@PAGE
Lloh56:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	bl	_fail
	mov	w0, #-1
LBB0_16:
	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
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_cur_userhdr_size,8,3           ; @cur_userhdr_size
	.comm	_riptr,8,3                      ; @riptr
	.comm	_rpos,8,3                       ; @rpos
	.comm	_User,16,3                      ; @User
	.comm	_wiptr,8,3                      ; @wiptr
	.comm	_ibuff,8,3                      ; @ibuff
	.comm	_fd,8,3                         ; @fd
	.comm	_FILE_BUFFER_SIZE,8,3           ; @FILE_BUFFER_SIZE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fatal: error reading file %s at position %lld: %m\n"

	.comm	_fnames,8,3                     ; @fnames
l_.str.1:                               ; @.str.1
	.asciz	"error reading file %s at pos %lld: %ld bytes available, %d required\n"

	.comm	_UserHdr,8,3                    ; @UserHdr
	.comm	_MAIL_INDEX_BLOCK_MAGIC,8,3     ; @MAIL_INDEX_BLOCK_MAGIC
	.comm	_MAX_HASHES,4,2                 ; @MAX_HASHES
	.comm	_MAX_DATA,4,2                   ; @MAX_DATA
	.comm	_CurH,8,3                       ; @CurH
	.comm	_CurL,8,3                       ; @CurL
.subsections_via_symbols
