	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_set_syscall_retval         ## -- Begin function cpu_set_syscall_retval
	.p2align	4, 0x90
_cpu_set_syscall_retval:                ## @cpu_set_syscall_retval
	.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
	cmpl	$129, %esi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_4
## %bb.2:
	testl	%esi, %esi
	jne	LBB0_5
## %bb.3:
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx), %edx
	movq	8(%rax), %rsi
	movl	%edx, (%rsi)
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rsi)
	movq	_TSTATE_XCC_C@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 4(%rax)
	jmp	LBB0_6
LBB0_4:
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	addl	$-4, (%rax)
	jmp	LBB0_6
LBB0_5:
	movl	8(%rbx), %edi
	callq	_SV_ABI_ERRNO
	movq	(%rbx), %rcx
	movq	8(%rcx), %rdx
	movl	%eax, (%rdx)
	movq	_TSTATE_XCC_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rcx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TSTATE_XCC_C,4,2               ## @TSTATE_XCC_C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_set_syscall_retval         ; -- Begin function cpu_set_syscall_retval
	.p2align	2
_cpu_set_syscall_retval:                ; @cpu_set_syscall_retval
	.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
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.1:
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.2:
	cbnz	w1, LBB0_5
; %bb.3:
	ldr	x8, [x19, #24]
	ldr	w9, [x8]
	ldr	x10, [x19]
	ldr	x11, [x10, #8]
	str	w9, [x11]
	ldr	w8, [x8, #4]
	str	w8, [x11, #4]
Lloh0:
	adrp	x8, _TSTATE_XCC_C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TSTATE_XCC_C@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x10, #4]
	bic	w8, w9, w8
	str	w8, [x10, #4]
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, #16]
	ldr	w8, [x9]
	sub	w8, w8, #4
	str	w8, [x9]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19, #8]
	bl	_SV_ABI_ERRNO
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	str	w0, [x9]
Lloh3:
	adrp	x9, _TSTATE_XCC_C@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TSTATE_XCC_C@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x8, #4]
	orr	w9, w10, w9
	str	w9, [x8, #4]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_TSTATE_XCC_C,4,2               ; @TSTATE_XCC_C
.subsections_via_symbols
