	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function window_read
_window_read:                           ## @window_read
	.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
	movl	$8200, %eax                     ## imm = 0x2008
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	addl	$-128, %r8d
	cmpl	$5, %r8d
	ja	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r8,4), %rsi
	addq	%rax, %rsi
	jmpq	*%rsi
LBB0_14:
	movl	16(%r14), %eax
	movl	%eax, 4(%rdx)
	movq	_ZIP_STAT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rdx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rdx)
	movq	_ZIP_STAT_CRC@GOTPCREL(%rip), %rax
	movq	_ZIP_STAT_COMP_SIZE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	notl	%esi
	andl	%ecx, %esi
	movl	%esi, (%rdx)
	jmp	LBB0_17
LBB0_10:
	movl	4(%r14), %eax
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	testl	%ecx, %ecx
	je	LBB0_17
## %bb.11:
	movq	%r15, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_zip_source_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.12:
	movl	%eax, %r13d
	movl	4(%r14), %eax
	subl	%r13d, %eax
	movl	%eax, 4(%r14)
	testl	%r13d, %r13d
	jne	LBB0_17
## %bb.13:
	testl	%eax, %eax
	jle	LBB0_17
LBB0_8:
	movq	_ZIP_ER_EOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
	movq	8(%r14), %rax
	movq	$0, 8(%rax)
LBB0_9:
	movl	$-1, %r13d
	jmp	LBB0_17
LBB0_2:
	movl	(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_17
## %bb.3:
	xorl	%ebx, %ebx
	leaq	-8240(%rbp), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	subl	%ebx, %edx
	cmpl	$8192, %edx                     ## imm = 0x2000
	movl	$8192, %eax                     ## imm = 0x2000
	cmovael	%eax, %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_zip_source_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	%eax, %ebx
	movl	(%r14), %edx
	cmpl	%ebx, %edx
	jg	LBB0_5
	jmp	LBB0_17
LBB0_16:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_17
LBB0_15:
	movq	8(%r14), %rsi
	movq	%rdx, %rdi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_17
LBB0_6:
	movq	_ZIP_SOURCE_ERR_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r13d, %eax
	addq	$8200, %rsp                     ## imm = 0x2008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_ZIP_SOURCE_ERR_LOWER,4,2       ## @ZIP_SOURCE_ERR_LOWER
	.comm	_ZIP_ER_EOF,8,3                 ## @ZIP_ER_EOF
	.comm	_ZIP_STAT_SIZE,4,2              ## @ZIP_STAT_SIZE
	.comm	_ZIP_STAT_CRC,4,2               ## @ZIP_STAT_CRC
	.comm	_ZIP_STAT_COMP_SIZE,4,2         ## @ZIP_STAT_COMP_SIZE
	.no_dead_strip	_window_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function window_read
_window_read:                           ; @window_read
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	mov	w9, #8208
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #16
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	sub	w8, w4, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w0, #0
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #0
	ldr	w8, [x19, #16]
Lloh7:
	adrp	x9, _ZIP_STAT_SIZE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ZIP_STAT_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	ldr	w10, [x2]
	orr	w9, w10, w9
	stp	w9, w8, [x2]
Lloh10:
	adrp	x8, _ZIP_STAT_CRC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZIP_STAT_CRC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x10, _ZIP_STAT_COMP_SIZE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ZIP_STAT_COMP_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w8, w10, w8
	bic	w8, w9, w8
	str	w8, [x2]
	b	LBB0_16
LBB0_3:
	ldr	w8, [x19, #4]
	cmp	w8, w3
	csel	w8, w8, w3, lt
	cbz	w8, LBB0_15
; %bb.4:
	mov	x0, x20
	mov	x1, x2
	mov	x2, x8
	bl	_zip_source_read
	tbnz	w0, #31, LBB0_18
; %bb.5:
	ldr	w8, [x19, #4]
	sub	w8, w8, w0
	str	w8, [x19, #4]
	cmp	w0, #0
	ccmp	w8, #1, #8, eq
	b.lt	LBB0_16
LBB0_6:
Lloh16:
	adrp	x8, _ZIP_ER_EOF@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ZIP_ER_EOF@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	str	x8, [x9]
	ldr	x8, [x19, #8]
	str	xzr, [x8, #8]
LBB0_7:
	mov	w0, #-1
	b	LBB0_16
LBB0_8:
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.9:
	mov	w21, #0
	mov	w22, #8192
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w9, w21
	cmp	w8, #2, lsl #12                 ; =8192
	csel	w2, w8, w22, lo
	add	x1, sp, #8
	mov	x0, x20
	bl	_zip_source_read
	tbnz	w0, #31, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x0
	cbz	w0, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #0
	ldr	w9, [x19]
	add	w21, w8, w21
	cmp	w9, w21
	b.gt	LBB0_10
	b	LBB0_16
LBB0_13:
	mov	x0, x19
	bl	_free
	b	LBB0_15
LBB0_14:
	ldr	x1, [x19, #8]
	mov	x0, x2
	mov	w2, #8
	bl	_memcpy
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.17:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #16
	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
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh22:
	adrp	x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
                                        ; -- End function
	.comm	_ZIP_SOURCE_ERR_LOWER,4,2       ; @ZIP_SOURCE_ERR_LOWER
	.comm	_ZIP_ER_EOF,8,3                 ; @ZIP_ER_EOF
	.comm	_ZIP_STAT_SIZE,4,2              ; @ZIP_STAT_SIZE
	.comm	_ZIP_STAT_CRC,4,2               ; @ZIP_STAT_CRC
	.comm	_ZIP_STAT_COMP_SIZE,4,2         ; @ZIP_STAT_COMP_SIZE
	.no_dead_strip	_window_read
.subsections_via_symbols
