	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rwindow_load                   ## -- Begin function rwindow_load
	.p2align	4, 0x90
_rwindow_load:                          ## @rwindow_load
	.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
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_KTR_TRAP@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movl	%r14d, %r8d
	callq	_CTR3
	movq	%rbx, %rdi
	callq	_rwindow_save
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_2
## %bb.3:
	movq	(%r12), %rax
	movq	_SPOFF@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%rax), %ebx
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_CTR1
	addl	(%r12), %ebx
	movl	%ebx, %r13d
	andl	$7, %r13d
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %rdi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_copyin
	movl	%eax, %r13d
	movq	-48(%rbp), %rax
	decl	%r14d
	jne	LBB0_4
	jmp	LBB0_6
LBB0_2:
	xorl	%r13d, %r13d
LBB0_6:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	callq	_CTR1
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.7:
	movq	_SIGILL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KTR_TRAP,4,2                   ## @KTR_TRAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rwindow_load: td=%p (%s) n=%d"

L_.str.1:                               ## @.str.1
	.asciz	"rwindow_load: usp=%#lx"

	.comm	_SPOFF,8,3                      ## @SPOFF
L_.str.2:                               ## @.str.2
	.asciz	"rwindow_load: error=%d"

	.comm	_SIGILL,4,2                     ## @SIGILL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rwindow_load                   ; -- Begin function rwindow_load
	.p2align	2
_rwindow_load:                          ; @rwindow_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _KTR_TRAP@GOTPAGE
Lloh1:
	ldr	x22, [x22, _KTR_TRAP@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x21]
	ldr	w3, [x8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x4, x19
	bl	_CTR3
	mov	x0, x21
	bl	_rwindow_save
	cbnz	w0, LBB0_8
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	x8, [x20]
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh6:
	adrp	x23, _SPOFF@GOTPAGE
Lloh7:
	ldr	x23, [x23, _SPOFF@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x8, #24]
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x21
	bl	_CTR1
	ldr	w8, [x23]
	add	w8, w21, w8
	ands	w21, w8, #0x7
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x0, w8
	add	x1, sp, #8
	mov	w2, #8
	bl	_copyin
	ldr	x8, [sp, #8]
	subs	w19, w19, #1
	b.ne	LBB0_3
; %bb.5:
	mov	x21, x0
	b	LBB0_7
LBB0_6:
	mov	w21, #0
LBB0_7:
	ldr	w0, [x22]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_CTR1
Lloh10:
	adrp	x8, _SIGILL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIGILL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w21, #0
	csel	w0, wzr, w8, eq
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_KTR_TRAP,4,2                   ; @KTR_TRAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rwindow_load: td=%p (%s) n=%d"

l_.str.1:                               ; @.str.1
	.asciz	"rwindow_load: usp=%#lx"

	.comm	_SPOFF,8,3                      ; @SPOFF
l_.str.2:                               ; @.str.2
	.asciz	"rwindow_load: error=%d"

	.comm	_SIGILL,4,2                     ; @SIGILL
.subsections_via_symbols
