	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia32_fetch_syscall_args        ## -- Begin function ia32_fetch_syscall_args
	.p2align	4, 0x90
_ia32_fetch_syscall_args:               ## @ia32_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	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	40(%rdi), %r14
	movq	48(%rdi), %r15
	movq	16(%r14), %rcx
	movq	32(%r14), %r12
	leaq	8(%r12), %rdi
	movq	%rcx, 8(%rbx)
	movq	_SYS_syscall@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_1
## %bb.3:
	movq	_SYS___syscall@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_5
LBB0_1:
	leaq	-120(%rbp), %rsi
	callq	_fueword32
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.4:
	movq	-120(%rbp), %rcx
	movq	%rcx, 8(%rbx)
	addq	$12, %r12
	movq	%r12, %rdi
LBB0_5:
	movq	(%r15), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	cmovaeq	%rax, %rcx
	leaq	(%rdx,%rcx,4), %rsi
	movq	%rsi, 32(%rbx)
	movl	(%rdx,%rcx,4), %edx
	movl	%edx, 16(%rbx)
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:
	testl	%edx, %edx
	je	LBB0_8
## %bb.7:
	shll	$2, %edx
	leaq	-112(%rbp), %rsi
	callq	_copyin
                                        ## kill: def $eax killed $eax def $rax
	movl	16(%rbx), %edx
LBB0_8:
	testl	%edx, %edx
	jle	LBB0_15
## %bb.9:
	movl	%edx, %r8d
	leaq	-1(%r8), %rdx
	movl	%r8d, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_11
## %bb.10:
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_2:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_17
LBB0_11:
	andl	$-4, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp,%rdx,8), %rdi
	movq	24(%rbx), %rsi
	movq	%rdi, (%rsi,%rdx,8)
	movq	-104(%rbp,%rdx,8), %rsi
	movq	24(%rbx), %rdi
	movq	%rsi, 8(%rdi,%rdx,8)
	movq	-96(%rbp,%rdx,8), %rsi
	movq	24(%rbx), %rdi
	movq	%rsi, 16(%rdi,%rdx,8)
	movq	-88(%rbp,%rdx,8), %rsi
	movq	24(%rbx), %rdi
	movq	%rsi, 24(%rdi,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_12
LBB0_13:
	testq	%rcx, %rcx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp,%rdx,8), %rsi
	movq	24(%rbx), %rdi
	movq	%rsi, (%rdi,%rdx,8)
	incq	%rdx
	decq	%rcx
	jne	LBB0_14
LBB0_15:
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	(%rbx), %rax
	movl	$0, (%rax)
	movl	24(%r14), %ecx
	movl	%ecx, 4(%rax)
	xorl	%eax, %eax
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_syscall,8,3                ## @SYS_syscall
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_SYS___syscall,8,3              ## @SYS___syscall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia32_fetch_syscall_args        ; -- Begin function ia32_fetch_syscall_args
	.p2align	2
_ia32_fetch_syscall_args:               ; @ia32_fetch_syscall_args
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldp	x20, x21, [x0, #40]
	ldr	x22, [x20, #32]
	add	x0, x22, #8
	ldr	x8, [x20, #16]
	str	x8, [x19, #8]
Lloh3:
	adrp	x9, _SYS_syscall@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SYS_syscall@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _SYS___syscall@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SYS___syscall@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_2:
	mov	x1, sp
	bl	_fueword32
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.3:
	ldr	x8, [sp]
	str	x8, [x19, #8]
	add	x0, x22, #12
LBB0_4:
	ldr	x9, [x21]
	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]
	cmp	x0, #0
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	cmp	w8, #1
	b.ge	LBB0_7
	b	LBB0_9
LBB0_6:
	lsl	w2, w8, #2
	add	x1, sp, #8
	bl	_copyin
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_9
LBB0_7:
	mov	x9, #0
	mov	w8, w8
	lsl	x8, x8, #3
	add	x10, sp, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x9]
	ldr	x12, [x19, #24]
	str	x11, [x12, x9]
	add	x9, x9, #8
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_9:
	cbnz	w0, LBB0_12
; %bb.10:
	ldr	x8, [x19]
	str	wzr, [x8]
	ldr	w9, [x20, #24]
	str	w9, [x8, #4]
	b	LBB0_12
LBB0_11:
Lloh9:
	adrp	x8, _EFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_12:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_syscall,8,3                ; @SYS_syscall
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_SYS___syscall,8,3              ; @SYS___syscall
.subsections_via_symbols
