	.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	16(%rdi), %rbx
	cmpl	$128, %esi
	je	LBB0_4
## %bb.2:
	testl	%esi, %esi
	jne	LBB0_5
## %bb.3:
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movq	8(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_PSR_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 24(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	_INSN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%eax, 28(%rbx)
	jmp	LBB0_6
LBB0_5:
	movl	8(%rdi), %edi
	callq	_SV_ABI_ERRNO
	movq	%rax, 8(%rbx)
	movq	_PSR_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSR_C,4,2                      ## @PSR_C
	.comm	_INSN_SIZE,4,2                  ## @INSN_SIZE
	.comm	_PSR_T,4,2                      ## @PSR_T
	.comm	_SYS___syscall,8,3              ## @SYS___syscall
	.comm	_SYS_lseek,8,3                  ## @SYS_lseek
	.comm	_THUMB_INSN_SIZE,4,2            ## @THUMB_INSN_SIZE
	.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_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_10
; %bb.1:
	ldr	x19, [x0, #16]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.2:
	cbnz	w1, LBB0_6
; %bb.3:
	ldr	x8, [x0]
	ldr	x9, [x8]
	str	x9, [x19, #8]
	ldr	x8, [x8, #8]
	str	x8, [x19, #16]
Lloh0:
	adrp	x8, _PSR_C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSR_C@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19, #24]
Lloh3:
	adrp	x9, _PSR_T@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PSR_T@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _THUMB_INSN_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _THUMB_INSN_SIZE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldr	w0, [x0, #8]
	bl	_SV_ABI_ERRNO
	str	x0, [x19, #8]
Lloh8:
	adrp	x8, _PSR_C@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PSR_C@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
LBB0_7:
	str	w8, [x19, #24]
	b	LBB0_10
LBB0_8:
Lloh11:
	adrp	x8, _INSN_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INSN_SIZE@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	ldr	w9, [x19, #28]
	sub	w8, w9, w8
	str	w8, [x19, #28]
LBB0_10:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PSR_C,4,2                      ; @PSR_C
	.comm	_PSR_T,4,2                      ; @PSR_T
	.comm	_THUMB_INSN_SIZE,4,2            ; @THUMB_INSN_SIZE
	.comm	_INSN_SIZE,4,2                  ; @INSN_SIZE
	.comm	_SYS___syscall,8,3              ; @SYS___syscall
	.comm	_SYS_lseek,8,3                  ; @SYS_lseek
	.comm	__QUAD_LOWWORD,8,3              ; @_QUAD_LOWWORD
.subsections_via_symbols
