	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	movq	(%rsi), %rax
	movq	%rax, 24(%rdi)
	addq	$8, %rsi
	movq	_SYS_syscall@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rsi), %rax
	addq	$8, %rsi
	movq	%rax, 24(%rbx)
	decl	32(%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	_SYS___syscall@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	__QUAD_LOWWORD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi,%rax,8), %rax
	movq	%rax, 24(%rbx)
	addl	$-2, 32(%rbx)
	addq	$16, %rsi
LBB0_4:
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	cmovaeq	%rdx, %rax
	movq	8(%rcx), %rcx
	leaq	(%rcx,%rax,4), %rdx
	movq	%rdx, 48(%rbx)
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 36(%rbx)
	movq	40(%rbx), %rdi
	movl	32(%rbx), %edx
	shll	$3, %edx
	callq	_memcpy
	movl	36(%rbx), %edx
	movslq	32(%rbx), %rax
	cmpl	%eax, %edx
	jle	LBB0_6
## %bb.5:
	movq	8(%rbx), %rcx
	movq	16(%rcx), %rdi
	movq	%rax, %rsi
	addq	40(%rbx), %rsi
	subl	%eax, %edx
	shll	$3, %edx
	callq	_copyin
	testl	%eax, %eax
	jne	LBB0_7
LBB0_6:
	movq	(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_syscall,8,3                ## @SYS_syscall
	.comm	_SYS___syscall,8,3              ## @SYS___syscall
	.comm	__QUAD_LOWWORD,8,3              ## @_QUAD_LOWWORD
.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x1, [x0, #8]
	ldr	x8, [x1], #8
	str	x8, [x0, #24]
Lloh0:
	adrp	x9, _SYS_syscall@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SYS_syscall@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x1], #8
	str	x8, [x19, #24]
	ldr	w9, [x19, #32]
	sub	w9, w9, #1
	str	w9, [x19, #32]
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _SYS___syscall@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SYS___syscall@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, __QUAD_LOWWORD@GOTPAGE
Lloh7:
	ldr	x8, [x8, __QUAD_LOWWORD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x1, x8, lsl #3]
	str	x8, [x19, #24]
	ldr	w9, [x19, #32]
	sub	w9, w9, #2
	str	w9, [x19, #32]
	add	x1, x1, #16
LBB0_4:
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	ldp	x10, x9, [x9]
	cmp	x8, x10
	csel	x8, x8, xzr, lo
	lsl	x8, x8, #2
	add	x10, x9, x8
	str	x10, [x19, #48]
	ldr	w8, [x9, x8]
	str	w8, [x19, #36]
	ldr	x0, [x19, #40]
	ldr	w8, [x19, #32]
	lsl	w2, w8, #3
	bl	_memcpy
	ldp	w9, w8, [x19, #32]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	cmp	w8, w9
	b.le	LBB0_6
; %bb.5:
	ldr	x10, [x19, #8]
	ldr	x0, [x10, #16]
	ldr	x10, [x19, #40]
	add	x1, x10, x9
	sub	w8, w8, w9
	lsl	w2, w8, #3
	bl	_copyin
	cbnz	w0, LBB0_7
LBB0_6:
	mov	w0, #0
	ldr	x8, [x19]
	stp	xzr, xzr, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_syscall,8,3                ; @SYS_syscall
	.comm	_SYS___syscall,8,3              ; @SYS___syscall
	.comm	__QUAD_LOWWORD,8,3              ; @_QUAD_LOWWORD
.subsections_via_symbols
