	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_mcontext                   ## -- Begin function set_mcontext
	.p2align	4, 0x90
_set_mcontext:                          ## @set_mcontext
	.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	(%rsi), %rax
	movq	__MC_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %r13
	cmpl	$72, 8(%rsi)
	jne	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	_psl_userstatic@GOTPCREL(%rip), %rax
	movl	(%r15), %ecx
	xorl	12(%r13), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%r14), %r12
	movl	(%r14), %edi
	movq	_SV_LP64@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SV_PROC_FLAG
	testq	%rax, %rax
	movq	8(%r15), %rax
	movl	$16, %edx
	movl	$104, %ebx
	movl	$104, %ecx
	cmoveq	%rdx, %rcx
	movq	(%rax,%rcx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	64(%r13), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	(%r14), %edi
	movq	_SV_LP64@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SV_PROC_FLAG
	testq	%rax, %rax
	movl	$16, %eax
	cmoveq	%rax, %rbx
	movq	8(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%rbx)
	movq	_PSL_FP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
	movq	_PCB_FPU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r12), %eax
	movl	%eax, (%r12)
	movl	16(%r13), %ecx
	movq	__MC_FP_VALID@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_8
## %bb.5:
	movq	_PCB_FPREGS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
	leaq	32(%r12), %rdi
	leaq	56(%r13), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	24(%r12), %rdi
	movl	$8, %esi
	callq	_bzero
	movl	$8, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rdi
	addq	%r15, %rdi
	movq	48(%r13), %rsi
	addq	%rbx, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	24(%r12), %rax
	movq	-8(%rax,%r15), %rdi
	addq	$32, %rdi
	movq	40(%r13), %rsi
	addq	%rbx, %rsi
	movl	$8, %edx
	callq	_memcpy
	addq	$4, %rbx
	addq	$24, %r15
	cmpq	$128, %rbx
	jne	LBB0_6
## %bb.7:
	movl	16(%r13), %ecx
LBB0_8:
	movq	__MC_AV_VALID@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	testl	%ecx, (%rax)
	je	LBB0_12
## %bb.9:
	movl	(%r12), %eax
	movq	_PCB_VEC@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_critical_enter
	movq	%r14, %rdi
	callq	_enable_vec
	xorl	%eax, %eax
	callq	_critical_exit
LBB0_11:
	movl	36(%r13), %eax
	movl	%eax, 20(%r12)
	movl	32(%r13), %eax
	movl	%eax, 16(%r12)
	movq	8(%r12), %rdi
	movq	24(%r13), %rsi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	__MC_VERSION,8,3                ## @_MC_VERSION
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_psl_userstatic,4,2             ## @psl_userstatic
	.comm	_SV_LP64,4,2                    ## @SV_LP64
	.comm	_PSL_FP,4,2                     ## @PSL_FP
	.comm	_PCB_FPU,4,2                    ## @PCB_FPU
	.comm	__MC_FP_VALID,4,2               ## @_MC_FP_VALID
	.comm	_PCB_FPREGS,4,2                 ## @PCB_FPREGS
	.comm	__MC_AV_VALID,4,2               ## @_MC_AV_VALID
	.comm	_PCB_VEC,4,2                    ## @PCB_VEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_mcontext                   ; -- Begin function set_mcontext
	.p2align	2
_set_mcontext:                          ; @set_mcontext
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, __MC_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, __MC_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1, #8]
	cmp	w8, #72
	b.ne	LBB0_3
; %bb.2:
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	w8, [x19, #12]
Lloh3:
	adrp	x9, _psl_userstatic@GOTPAGE
Lloh4:
	ldr	x9, [x9, _psl_userstatic@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x21]
	eor	w8, w10, w8
	tst	w8, w9
	b.eq	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_4:
	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
LBB0_5:
	ldr	x22, [x20, #16]
	ldr	w0, [x20]
Lloh9:
	adrp	x23, _SV_LP64@GOTPAGE
Lloh10:
	ldr	x23, [x23, _SV_LP64@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_SV_PROC_FLAG
	ldr	x8, [x21, #8]
	mov	w24, #104
	mov	w25, #16
	cmp	x0, #0
	csel	x9, x25, x24, eq
	ldr	x26, [x8, x9]
	ldr	x1, [x19, #64]
	mov	x0, x21
	mov	w2, #8
	bl	_memcpy
	ldr	w0, [x20]
	ldr	w1, [x23]
	bl	_SV_PROC_FLAG
	cmp	x0, #0
	csel	x8, x25, x24, eq
	ldr	x9, [x21, #8]
	str	x26, [x9, x8]
Lloh11:
	adrp	x8, _PSL_FP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PSL_FP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
Lloh14:
	adrp	x8, _PCB_FPU@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PCB_FPU@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x22]
	bic	w9, w9, w8
	str	w9, [x22]
	ldr	w8, [x19, #16]
Lloh17:
	adrp	x10, __MC_FP_VALID@GOTPAGE
Lloh18:
	ldr	x10, [x10, __MC_FP_VALID@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_9
; %bb.6:
Lloh20:
	adrp	x8, _PCB_FPREGS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PCB_FPREGS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	orr	w8, w8, w9
	str	w8, [x22]
	add	x0, x22, #32
	add	x1, x19, #56
	mov	w2, #8
	bl	_memcpy
	ldr	x0, [x22, #24]
	mov	w1, #8
	bl	_bzero
	mov	x21, #0
	mov	x23, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #24]
	add	x8, x8, x21
	add	x0, x8, #8
	ldr	x8, [x19, #48]
	add	x1, x8, x23
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x22, #24]
	ldr	x8, [x8, x21]
	add	x0, x8, #32
	ldr	x8, [x19, #40]
	add	x1, x8, x23
	mov	w2, #8
	bl	_memcpy
	add	x23, x23, #4
	add	x21, x21, #24
	cmp	x23, #128
	b.ne	LBB0_7
; %bb.8:
	ldr	w8, [x19, #16]
LBB0_9:
Lloh23:
	adrp	x9, __MC_AV_VALID@GOTPAGE
Lloh24:
	ldr	x9, [x9, __MC_AV_VALID@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.10:
	ldr	w8, [x22]
Lloh26:
	adrp	x9, _PCB_VEC@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PCB_VEC@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.eq	LBB0_12
; %bb.11:
	bl	_critical_enter
	mov	x0, x20
	bl	_enable_vec
	bl	_critical_exit
LBB0_12:
	ldr	d0, [x19, #32]
	str	d0, [x22, #16]
	ldr	x0, [x22, #8]
	ldr	x1, [x19, #24]
	mov	w2, #8
	bl	_memcpy
LBB0_13:
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	__MC_VERSION,8,3                ; @_MC_VERSION
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_psl_userstatic,4,2             ; @psl_userstatic
	.comm	_SV_LP64,4,2                    ; @SV_LP64
	.comm	_PSL_FP,4,2                     ; @PSL_FP
	.comm	_PCB_FPU,4,2                    ; @PCB_FPU
	.comm	__MC_FP_VALID,4,2               ; @_MC_FP_VALID
	.comm	_PCB_FPREGS,4,2                 ; @PCB_FPREGS
	.comm	__MC_AV_VALID,4,2               ; @_MC_AV_VALID
	.comm	_PCB_VEC,4,2                    ; @PCB_VEC
.subsections_via_symbols
