	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadOffset                     ## -- Begin function ReadOffset
	.p2align	4, 0x90
_ReadOffset:                            ## @ReadOffset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$0, (%rsi)
	movq	(%rdi), %rax
	movq	_K_VERS_1_7@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.1:
	movq	%r12, %rdi
	callq	_ReadInt
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	je	LBB0_4
## %bb.5:
	movl	%eax, (%r15)
	movl	$128, %r14d
	jmp	LBB0_17
LBB0_6:
	movq	%r12, %rdi
	callq	*8(%r12)
	movzbl	%al, %r14d
	cmpb	$-125, %r14b
	jl	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_fatal
LBB0_8:
	cmpl	$0, 16(%r12)
	jle	LBB0_17
## %bb.9:
	movq	%r12, %rdi
	callq	*8(%r12)
	orl	%eax, (%r15)
	cmpl	$2, 16(%r12)
	jl	LBB0_17
## %bb.10:
	movq	%r12, %rdi
	callq	*8(%r12)
	shll	$8, %eax
	orl	%eax, (%r15)
	cmpl	$3, 16(%r12)
	jl	LBB0_17
## %bb.11:
	movq	%r12, %rdi
	callq	*8(%r12)
	shll	$16, %eax
	orl	%eax, (%r15)
	cmpl	$4, 16(%r12)
	jl	LBB0_17
## %bb.12:
	movq	%r12, %rdi
	callq	*8(%r12)
	shll	$24, %eax
	orl	%eax, (%r15)
	cmpl	$5, 16(%r12)
	jl	LBB0_17
## %bb.13:
	movl	$4, %ebx
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%ebx
	cmpl	16(%r12), %ebx
	jge	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	*8(%r12)
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_16
LBB0_2:
	movl	$129, %r14d
	jmp	LBB0_17
LBB0_4:
	movl	$130, %r14d
LBB0_17:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_K_VERS_1_7,8,3                 ## @K_VERS_1_7
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected data offset flag %d"

L_.str.1:                               ## @.str.1
	.asciz	"file offset in dump file is too large"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadOffset                     ; -- Begin function ReadOffset
	.p2align	2
_ReadOffset:                            ; @ReadOffset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, x0
	str	wzr, [x1]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _K_VERS_1_7@GOTPAGE
Lloh1:
	ldr	x9, [x9, _K_VERS_1_7@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_ReadInt
	tbnz	w0, #31, LBB0_15
; %bb.2:
	cbz	w0, LBB0_16
; %bb.3:
	str	w0, [x21]
	mov	w19, #128
	b	LBB0_17
LBB0_4:
	ldr	x8, [x20, #8]
	mov	x0, x20
	blr	x8
	and	w19, w0, #0xff
	mov	w8, #-125
	cmp	w8, w0, sxtb
	b.gt	LBB0_6
; %bb.5:
	str	x19, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_6:
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.7:
	ldr	x8, [x20, #8]
	mov	x0, x20
	blr	x8
	ldr	w8, [x21]
	orr	w8, w8, w0
	str	w8, [x21]
	ldr	w8, [x20, #16]
	cmp	w8, #2
	b.lt	LBB0_17
; %bb.8:
	ldr	x8, [x20, #8]
	mov	x0, x20
	blr	x8
	ldr	w8, [x21]
	orr	w8, w8, w0, lsl #8
	str	w8, [x21]
	ldr	w8, [x20, #16]
	cmp	w8, #3
	b.lt	LBB0_17
; %bb.9:
	ldr	x8, [x20, #8]
	mov	x0, x20
	blr	x8
	ldr	w8, [x21]
	orr	w8, w8, w0, lsl #16
	str	w8, [x21]
	ldr	w8, [x20, #16]
	cmp	w8, #4
	b.lt	LBB0_17
; %bb.10:
	ldr	x8, [x20, #8]
	mov	x0, x20
	blr	x8
	ldr	w8, [x21]
	orr	w8, w8, w0, lsl #24
	str	w8, [x21]
	ldr	w8, [x20, #16]
	cmp	w8, #5
	b.lt	LBB0_17
; %bb.11:
	mov	w22, #4
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w22, w22, #1
	ldr	w8, [x20, #16]
	cmp	w22, w8
	b.ge	LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	mov	x0, x20
	blr	x8
	cbz	w0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	bl	_fatal
	b	LBB0_12
LBB0_15:
	mov	w19, #129
	b	LBB0_17
LBB0_16:
	mov	w19, #130
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_K_VERS_1_7,8,3                 ; @K_VERS_1_7
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected data offset flag %d"

l_.str.1:                               ; @.str.1
	.asciz	"file offset in dump file is too large"

.subsections_via_symbols
