	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_fetch_syscall_args         ## -- Begin function cpu_fetch_syscall_args
	.p2align	4, 0x90
_cpu_fetch_syscall_args:                ## @cpu_fetch_syscall_args
	.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	%rdi, %r14
	movq	40(%rdi), %r15
	movq	48(%rdi), %rbx
	movq	(%r15), %rcx
	movq	(%rcx), %rax
	movq	%rax, 8(%rdi)
	movq	_FIRSTARG@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	leaq	(%rcx,%rdx,8), %r12
	movq	_NARGREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movq	_SYS_syscall@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_4:
	movl	$-1, %ecx
	movl	$8, %edx
	movq	%r12, %rax
	jmp	LBB0_5
LBB0_1:
	movq	_SYS___syscall@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movq	_SV_ILP32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SV_PROC_FLAG
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	8(%r12), %rax
	movl	$-2, %ecx
	movl	$16, %edx
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	addq	%rdx, %r12
	addl	%ecx, %r13d
LBB0_6:
	movq	(%rbx), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	movq	8(%rcx), %rcx
	cmovbq	%rax, %rdx
	leaq	(%rcx,%rdx,4), %rax
	movq	%rax, 32(%r14)
	movl	(%rcx,%rdx,4), %eax
	movl	%eax, 16(%r14)
	movq	_SV_ILP32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SV_PROC_FLAG
	testq	%rax, %rax
	je	LBB0_22
## %bb.7:
	testl	%r13d, %r13d
	jle	LBB0_37
## %bb.8:
	movq	24(%r14), %rax
	movl	%r13d, %r8d
	xorl	%edx, %edx
	cmpl	$8, %r13d
	jb	LBB0_18
## %bb.9:
	movq	%rax, %rcx
	subq	%r12, %rcx
	cmpq	$32, %rcx
	jb	LBB0_18
## %bb.10:
	movl	%r8d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rcx
	jae	LBB0_12
## %bb.11:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_22:
	testl	%r13d, %r13d
	jle	LBB0_37
## %bb.23:
	movq	24(%r14), %rax
	movl	%r13d, %r8d
	xorl	%edx, %edx
	cmpl	$8, %r13d
	jb	LBB0_33
## %bb.24:
	movq	%rax, %rcx
	subq	%r12, %rcx
	cmpq	$32, %rcx
	jb	LBB0_33
## %bb.25:
	movl	%r8d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rcx
	jae	LBB0_27
## %bb.26:
	xorl	%ebx, %ebx
	jmp	LBB0_29
LBB0_12:
	andq	$-4, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r12,%rbx,4), %xmm0
	movups	16(%r12,%rbx,4), %xmm1
	movups	%xmm0, (%rax,%rbx,4)
	movups	%xmm1, 16(%rax,%rbx,4)
	movups	32(%r12,%rbx,4), %xmm0
	movups	48(%r12,%rbx,4), %xmm1
	movups	%xmm0, 32(%rax,%rbx,4)
	movups	%xmm1, 48(%rax,%rbx,4)
	movups	64(%r12,%rbx,4), %xmm0
	movups	80(%r12,%rbx,4), %xmm1
	movups	%xmm0, 64(%rax,%rbx,4)
	movups	%xmm1, 80(%rax,%rbx,4)
	movups	96(%r12,%rbx,4), %xmm0
	movups	112(%r12,%rbx,4), %xmm1
	movups	%xmm0, 96(%rax,%rbx,4)
	movups	%xmm1, 112(%rax,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rdi
	jne	LBB0_13
LBB0_14:
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.15:
	leaq	(%rax,%rbx,4), %rdi
	addq	$16, %rdi
	leaq	(%r12,%rbx,4), %rbx
	addq	$16, %rbx
	shlq	$5, %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rbx,%rcx), %xmm0
	movups	(%rbx,%rcx), %xmm1
	movups	%xmm0, -16(%rdi,%rcx)
	movups	%xmm1, (%rdi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_16
LBB0_17:
	cmpq	%r8, %rdx
	je	LBB0_37
LBB0_18:
	movq	%rdx, %rsi
	notq	%rsi
	addq	%r8, %rsi
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rdx,4), %ecx
	movl	%ecx, (%rax,%rdx,4)
	incq	%rdx
	decq	%rdi
	jne	LBB0_19
LBB0_20:
	cmpq	$3, %rsi
	jb	LBB0_37
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rdx,4), %ecx
	movl	%ecx, (%rax,%rdx,4)
	movl	4(%r12,%rdx,4), %ecx
	movl	%ecx, 4(%rax,%rdx,4)
	movl	8(%r12,%rdx,4), %ecx
	movl	%ecx, 8(%rax,%rdx,4)
	movl	12(%r12,%rdx,4), %ecx
	movl	%ecx, 12(%rax,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_21
	jmp	LBB0_37
LBB0_27:
	andq	$-4, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r12,%rbx,4), %xmm0
	movups	16(%r12,%rbx,4), %xmm1
	movups	%xmm0, (%rax,%rbx,4)
	movups	%xmm1, 16(%rax,%rbx,4)
	movups	32(%r12,%rbx,4), %xmm0
	movups	48(%r12,%rbx,4), %xmm1
	movups	%xmm0, 32(%rax,%rbx,4)
	movups	%xmm1, 48(%rax,%rbx,4)
	movups	64(%r12,%rbx,4), %xmm0
	movups	80(%r12,%rbx,4), %xmm1
	movups	%xmm0, 64(%rax,%rbx,4)
	movups	%xmm1, 80(%rax,%rbx,4)
	movups	96(%r12,%rbx,4), %xmm0
	movups	112(%r12,%rbx,4), %xmm1
	movups	%xmm0, 96(%rax,%rbx,4)
	movups	%xmm1, 112(%rax,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rdi
	jne	LBB0_28
LBB0_29:
	testq	%rsi, %rsi
	je	LBB0_32
## %bb.30:
	leaq	(%rax,%rbx,4), %rdi
	addq	$16, %rdi
	leaq	(%r12,%rbx,4), %rbx
	addq	$16, %rbx
	shlq	$5, %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rbx,%rcx), %xmm0
	movups	(%rbx,%rcx), %xmm1
	movups	%xmm0, -16(%rdi,%rcx)
	movups	%xmm1, (%rdi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_31
LBB0_32:
	cmpq	%r8, %rdx
	je	LBB0_37
LBB0_33:
	movq	%rdx, %rsi
	notq	%rsi
	addq	%r8, %rsi
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_35
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rdx,4), %ecx
	movl	%ecx, (%rax,%rdx,4)
	incq	%rdx
	decq	%rdi
	jne	LBB0_34
LBB0_35:
	cmpq	$3, %rsi
	jb	LBB0_37
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rdx,4), %ecx
	movl	%ecx, (%rax,%rdx,4)
	movl	4(%r12,%rdx,4), %ecx
	movl	%ecx, 4(%rax,%rdx,4)
	movl	8(%r12,%rdx,4), %ecx
	movl	%ecx, 8(%rax,%rdx,4)
	movl	12(%r12,%rdx,4), %ecx
	movl	%ecx, 12(%rax,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_36
LBB0_37:
	cmpl	%r13d, 16(%r14)
	jle	LBB0_39
## %bb.38:
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	callq	_MOREARGS
	movslq	%r13d, %rsi
	shlq	$2, %rsi
	addq	24(%r14), %rsi
	movl	16(%r14), %edx
	subl	%r13d, %edx
	shll	$2, %edx
	movl	%eax, %edi
	callq	_copyin
	testl	%eax, %eax
	jne	LBB0_40
LBB0_39:
	movq	(%r14), %rax
	movq	$0, (%rax)
	movq	(%r15), %rcx
	movq	_FIRSTARG@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movq	8(%rcx,%rdx,8), %rcx
	movq	%rcx, 8(%rax)
	xorl	%eax, %eax
LBB0_40:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRSTARG,4,2                   ## @FIRSTARG
	.comm	_NARGREG,4,2                    ## @NARGREG
	.comm	_SYS_syscall,8,3                ## @SYS_syscall
	.comm	_SYS___syscall,8,3              ## @SYS___syscall
	.comm	_SV_ILP32,4,2                   ## @SV_ILP32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_fetch_syscall_args         ; -- Begin function cpu_fetch_syscall_args
	.p2align	2
_cpu_fetch_syscall_args:                ; @cpu_fetch_syscall_args
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldp	x21, x20, [x0, #40]
	ldr	x9, [x21]
	ldr	x8, [x9]
Lloh0:
	adrp	x22, _FIRSTARG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FIRSTARG@GOTPAGEOFF]
	str	x8, [x0, #8]
	ldrsw	x10, [x22]
	add	x24, x9, x10, lsl #3
Lloh2:
	adrp	x9, _NARGREG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NARGREG@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x9]
Lloh5:
	adrp	x9, _SYS_syscall@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SYS_syscall@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x25, _SV_ILP32@GOTPAGE
Lloh9:
	ldr	x25, [x25, _SV_ILP32@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w9, #-1
	mov	w10, #8
	mov	x8, x24
	b	LBB0_4
LBB0_2:
Lloh10:
	adrp	x9, _SYS___syscall@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SYS___syscall@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w1, [x25]
	mov	x0, x20
	bl	_SV_PROC_FLAG
	mov	w9, #-1
	mov	w10, #8
	add	x8, x24, #8
	mov	w11, #-2
	mov	w12, #16
	cmp	x0, #0
	csel	x8, x24, x8, eq
	csel	x10, x10, x12, eq
	csel	w9, w9, w11, eq
LBB0_4:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	add	x24, x10, x24
	add	w23, w23, w9
LBB0_5:
	ldr	x9, [x20]
	ldp	x10, x9, [x9]
	cmp	x8, x10
	csel	x8, x8, xzr, lo
	lsl	x8, x8, #2
	add	x10, x9, x8
	str	x10, [x19, #32]
	ldr	w8, [x9, x8]
	str	w8, [x19, #16]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_SV_PROC_FLAG
	cmp	w23, #1
	cbz	x0, LBB0_14
; %bb.6:
	b.lt	LBB0_22
; %bb.7:
	mov	x8, #0
	ldr	x10, [x19, #24]
	mov	w9, w23
	cmp	w23, #16
	b.lo	LBB0_12
; %bb.8:
	sub	x11, x10, x24
	cmp	x11, #64
	b.lo	LBB0_12
; %bb.9:
	and	x8, x9, #0xfffffff0
	add	x11, x10, #32
	add	x12, x24, #32
	mov	x13, x8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_10
; %bb.11:
	cmp	x8, x9
	b.eq	LBB0_22
LBB0_12:
	lsl	x11, x8, #2
	add	x10, x10, x11
	add	x11, x24, x11
	sub	x8, x9, x8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_13
	b	LBB0_22
LBB0_14:
	b.lt	LBB0_22
; %bb.15:
	mov	x8, #0
	ldr	x10, [x19, #24]
	mov	w9, w23
	cmp	w23, #16
	b.lo	LBB0_20
; %bb.16:
	sub	x11, x10, x24
	cmp	x11, #64
	b.lo	LBB0_20
; %bb.17:
	and	x8, x9, #0xfffffff0
	add	x11, x10, #32
	add	x12, x24, #32
	mov	x13, x8
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_18
; %bb.19:
	cmp	x8, x9
	b.eq	LBB0_22
LBB0_20:
	lsl	x11, x8, #2
	add	x10, x10, x11
	add	x11, x24, x11
	sub	x8, x9, x8
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_21
LBB0_22:
	ldr	w8, [x19, #16]
	cmp	w8, w23
	b.le	LBB0_24
; %bb.23:
	ldr	x8, [x21]
	ldr	x0, [x8, #8]
	bl	_MOREARGS
	ldr	x8, [x19, #24]
	add	x1, x8, w23, sxtw #2
	ldr	w8, [x19, #16]
	sub	w8, w8, w23
	lsl	w2, w8, #2
	bl	_copyin
	cbnz	w0, LBB0_25
LBB0_24:
	mov	w0, #0
	ldr	x8, [x19]
	str	xzr, [x8]
	ldr	x9, [x21]
	ldrsw	x10, [x22]
	add	x9, x9, x10, lsl #3
	ldr	x9, [x9, #8]
	str	x9, [x8, #8]
LBB0_25:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRSTARG,4,2                   ; @FIRSTARG
	.comm	_NARGREG,4,2                    ; @NARGREG
	.comm	_SYS_syscall,8,3                ; @SYS_syscall
	.comm	_SYS___syscall,8,3              ; @SYS___syscall
	.comm	_SV_ILP32,4,2                   ; @SV_ILP32
.subsections_via_symbols
