	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_file_guts
_read_file_guts:                        ## @read_file_guts
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	16(%rsi), %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_CPP_DL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %ecx
	leaq	L_.str(%rip), %rdx
LBB0_2:
	movq	%r15, %rdi
LBB0_3:
	callq	_cpp_error
LBB0_4:
	xorl	%r15d, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	8(%r12), %rbx
	movl	16(%r12), %edi
	callq	_S_ISREG
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rax
	movq	(%rbx), %rbx
	movq	_SSIZE_MAX@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rbx
	jle	LBB0_22
## %bb.8:
	movq	_CPP_DL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %ecx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_9:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	$8192, %ebx                     ## imm = 0x2000
LBB0_10:
	movq	_uchar@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	1(%rbx), %esi
	callq	_XNEWVEC
	movq	_buf@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	32(%r12), %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_read
	xorl	%r15d, %r15d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	32(%r12), %edi
	addl	%r15d, %esi
	movl	%ebx, %edx
	subl	%r15d, %edx
	callq	_read
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jle	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%r15d, %ecx
	movl	%eax, %r15d
	addl	%ecx, %r15d
	cmpl	%ebx, %r15d
	jne	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_28
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_uchar@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_buf@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%ebx, %r14d
	addl	%ebx, %r14d
	leal	(%rbx,%rbx), %edx
	incl	%edx
	callq	_XRESIZEVEC
	movl	%eax, %esi
	movl	%eax, (%r13)
	movl	%r14d, %ebx
	jmp	LBB0_12
LBB0_17:
	testl	%eax, %eax
	js	LBB0_26
## %bb.18:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_29
## %bb.19:
	cmpl	%ebx, %r15d
	je	LBB0_29
## %bb.20:
	movq	8(%r12), %rdi
	movl	16(%r12), %esi
	callq	_STAT_SIZE_RELIABLE
	testq	%rax, %rax
	je	LBB0_29
## %bb.21:
	movq	_CPP_DL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %ecx
	leaq	L_.str.4(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpp_error
	jmp	LBB0_29
LBB0_22:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	32(%r12), %edi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_lseek
	testq	%rax, %rax
	js	LBB0_27
## %bb.23:
	cmpq	(%r14), %rax
	jg	LBB0_25
## %bb.24:
	subl	%eax, %ebx
	jge	LBB0_10
LBB0_25:
	movq	_CPP_DL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %ecx
	leaq	L_.str.3(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_26:
	movq	_CPP_DL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpp_errno
	jmp	LBB0_4
LBB0_27:
	movq	_CPP_DL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpp_error
	jmp	LBB0_5
LBB0_28:
	movl	%ebx, %r15d
LBB0_29:
	movq	_input_charset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_CPP_OPTION
	movq	_buf@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	__cpp_convert_input
	movl	%eax, 24(%r12)
	movl	$1, (%r12)
	movl	$1, %r15d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_uchar,4,2                      ## @uchar
	.comm	_buf,4,2                        ## @buf
	.comm	_CPP_DL_ERROR,4,2               ## @CPP_DL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s is a block device"

	.comm	_SSIZE_MAX,8,3                  ## @SSIZE_MAX
L_.str.1:                               ## @.str.1
	.asciz	"%s is too large"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
L_.str.2:                               ## @.str.2
	.asciz	"%s has no current position"

L_.str.3:                               ## @.str.3
	.asciz	"current position of %s is too large"

	.comm	_CPP_DL_WARNING,4,2             ## @CPP_DL_WARNING
L_.str.4:                               ## @.str.4
	.asciz	"%s is shorter than expected"

	.comm	_input_charset,4,2              ## @input_charset
	.no_dead_strip	_read_file_guts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_file_guts
_read_file_guts:                        ; @read_file_guts
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #16]
	bl	_S_ISBLK
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _CPP_DL_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPP_DL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x20, #28]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	_cpp_error
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	add	x21, x20, #8
	ldr	w0, [x20, #16]
	bl	_S_ISREG
	mov	x23, x0
	cbz	w0, LBB0_8
; %bb.6:
	ldr	x22, [x21]
Lloh5:
	adrp	x24, _SSIZE_MAX@GOTPAGE
Lloh6:
	ldr	x24, [x24, _SSIZE_MAX@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x22, x8
	b.le	LBB0_16
; %bb.7:
Lloh7:
	adrp	x8, _CPP_DL_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CPP_DL_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w3, [x20, #28]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_8:
	mov	w22, #8192
LBB0_9:
Lloh12:
	adrp	x26, _uchar@GOTPAGE
Lloh13:
	ldr	x26, [x26, _uchar@GOTPAGEOFF]
	ldr	w0, [x26]
	add	w1, w22, #1
	bl	_XNEWVEC
	mov	x1, x0
Lloh14:
	adrp	x25, _buf@GOTPAGE
Lloh15:
	ldr	x25, [x25, _buf@GOTPAGEOFF]
	str	w0, [x25]
	ldr	w0, [x20, #32]
	mov	x2, x22
	bl	_read
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.10:
	mov	w24, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x25]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x20, #32]
	add	w1, w0, w24
	sub	w2, w22, w24
	mov	x0, x8
	bl	_read
	cmp	w0, #0
	b.le	LBB0_20
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	w24, w0, w24
	cmp	w24, w22
	b.ne	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cbnz	w23, LBB0_27
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	lsl	w27, w22, #1
	ldr	w0, [x26]
	ldr	w1, [x25]
	mov	w2, #1
	bfi	w2, w22, #1, #31
	bl	_XRESIZEVEC
	str	w0, [x25]
	mov	x22, x27
	b	LBB0_12
LBB0_16:
	ldr	w0, [x20, #32]
Lloh16:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
	tbnz	x0, #63, LBB0_26
; %bb.17:
	ldr	x8, [x24]
	cmp	x0, x8
	ccmp	w22, w0, #8, le
	b.ge	LBB0_29
; %bb.18:
Lloh19:
	adrp	x8, _CPP_DL_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CPP_DL_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w3, [x20, #28]
Lloh22:
	adrp	x2, l_.str.3@PAGE
Lloh23:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_19:
	mov	w24, #0
LBB0_20:
	tbnz	w0, #31, LBB0_25
; %bb.21:
	cbz	w23, LBB0_28
; %bb.22:
	cmp	w24, w22
	b.eq	LBB0_28
; %bb.23:
	ldp	x0, x1, [x20, #8]
	bl	_STAT_SIZE_RELIABLE
	cbz	x0, LBB0_28
; %bb.24:
Lloh24:
	adrp	x8, _CPP_DL_WARNING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CPP_DL_WARNING@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w3, [x20, #28]
Lloh27:
	adrp	x2, l_.str.4@PAGE
Lloh28:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_cpp_error
	b	LBB0_28
LBB0_25:
Lloh29:
	adrp	x8, _CPP_DL_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CPP_DL_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w2, [x20, #28]
	mov	x0, x19
	bl	_cpp_errno
	b	LBB0_3
LBB0_26:
Lloh32:
	adrp	x8, _CPP_DL_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CPP_DL_ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w3, [x20, #28]
Lloh35:
	adrp	x2, l_.str.2@PAGE
Lloh36:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_27:
	mov	x24, x22
LBB0_28:
Lloh37:
	adrp	x8, _input_charset@GOTPAGE
Lloh38:
	ldr	x8, [x8, _input_charset@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CPP_OPTION
	mov	x1, x0
	ldr	w2, [x25]
	mov	x0, x19
	mov	x3, x22
	mov	x4, x24
	mov	x5, x21
	bl	__cpp_convert_input
	str	w0, [x20, #24]
	mov	w0, #1
	str	w0, [x20]
	b	LBB0_4
LBB0_29:
	sub	w22, w22, w0
	b	LBB0_9
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_uchar,4,2                      ; @uchar
	.comm	_buf,4,2                        ; @buf
	.comm	_CPP_DL_ERROR,4,2               ; @CPP_DL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s is a block device"

	.comm	_SSIZE_MAX,8,3                  ; @SSIZE_MAX
l_.str.1:                               ; @.str.1
	.asciz	"%s is too large"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
l_.str.2:                               ; @.str.2
	.asciz	"%s has no current position"

l_.str.3:                               ; @.str.3
	.asciz	"current position of %s is too large"

	.comm	_CPP_DL_WARNING,4,2             ; @CPP_DL_WARNING
l_.str.4:                               ; @.str.4
	.asciz	"%s is shorter than expected"

	.comm	_input_charset,4,2              ; @input_charset
	.no_dead_strip	_read_file_guts
.subsections_via_symbols
