	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_mcontext                   ## -- Begin function get_mcontext
	.p2align	4, 0x90
_get_mcontext:                          ## @get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rdi), %r14
	movq	8(%rdi), %rbx
	movq	__MC_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rsi)
	movq	40(%rbx), %rax
	movl	4(%rax), %ecx
	movq	40(%rsi), %rsi
	movl	%ecx, 4(%rsi)
	movl	8(%rax), %ecx
	movl	%ecx, 8(%rsi)
	movl	12(%rax), %ecx
	movl	%ecx, 12(%rsi)
	movl	16(%rax), %ecx
	movl	%ecx, 16(%rsi)
	movl	20(%rax), %ecx
	movl	%ecx, 20(%rsi)
	movl	24(%rax), %eax
	movl	%eax, 24(%rsi)
	movq	_GET_MC_CLEAR_RET@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	32(%r15), %rax
	movq	$0, (%rax)
	movq	32(%rbx), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	32(%rbx), %rcx
	movl	(%rcx), %edx
	movq	32(%r15), %rax
	movl	%edx, (%rax)
	movl	4(%rcx), %edx
	movl	%edx, 4(%rax)
LBB0_3:
	movl	8(%rcx), %edx
	movl	%edx, 8(%rax)
	movl	12(%rcx), %edx
	movl	%edx, 12(%rax)
	movl	16(%rcx), %edx
	movl	%edx, 16(%rax)
	movl	20(%rcx), %edx
	movl	%edx, 20(%rax)
	movl	24(%rcx), %edx
	movl	%edx, 24(%rax)
	movl	28(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	24(%rbx), %eax
	movl	%eax, 28(%r15)
	movl	20(%rbx), %eax
	movl	%eax, 24(%r15)
	movups	4(%rbx), %xmm0
	movups	%xmm0, 8(%r15)
	xorl	%eax, %eax
	callq	_critical_enter
	movq	_FPRS_FEF@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.5:
	movl	4(%r14), %edi
	callq	_savefpctx
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_PCB_FEF@GOTPCREL(%rip), %rcx
	movl	(%r14), %eax
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	jmp	LBB0_6
LBB0_4:
	movl	(%r14), %eax
LBB0_6:
	movq	_PCB_FEF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movl	4(%r14), %edi
	movl	4(%r15), %esi
	movl	$4, %edx
	callq	_bcopy
	movl	(%r12), %eax
	orl	%eax, (%r15)
LBB0_8:
	xorl	%eax, %eax
	callq	_critical_exit
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__MC_VERSION,4,2                ## @_MC_VERSION
	.comm	_GET_MC_CLEAR_RET,4,2           ## @GET_MC_CLEAR_RET
	.comm	_FPRS_FEF,4,2                   ## @FPRS_FEF
	.comm	_PCB_FEF,4,2                    ## @PCB_FEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_mcontext                   ; -- Begin function get_mcontext
	.p2align	2
_get_mcontext:                          ; @get_mcontext
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldp	x20, x21, [x0]
Lloh0:
	adrp	x8, __MC_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, __MC_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #48]
	ldr	x8, [x21, #40]
	ldr	w9, [x8, #4]
	ldr	x10, [x1, #40]
	str	w9, [x10, #4]
	ldr	w9, [x8, #8]
	str	w9, [x10, #8]
	ldr	w9, [x8, #12]
	str	w9, [x10, #12]
	ldr	w9, [x8, #16]
	str	w9, [x10, #16]
	ldr	w9, [x8, #20]
	str	w9, [x10, #20]
	ldr	w8, [x8, #24]
	str	w8, [x10, #24]
Lloh3:
	adrp	x8, _GET_MC_CLEAR_RET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GET_MC_CLEAR_RET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #32]
	str	xzr, [x8]
	ldr	x9, [x21, #32]
	b	LBB0_3
LBB0_2:
	ldr	x9, [x21, #32]
	ldr	w10, [x9]
	ldr	x8, [x19, #32]
	str	w10, [x8]
	ldr	w10, [x9, #4]
	str	w10, [x8, #4]
LBB0_3:
	ldr	w10, [x9, #8]
	str	w10, [x8, #8]
	ldr	w10, [x9, #12]
	str	w10, [x8, #12]
	ldr	w10, [x9, #16]
	str	w10, [x8, #16]
	ldr	w10, [x9, #20]
	str	w10, [x8, #20]
	ldr	w10, [x9, #24]
	str	w10, [x8, #24]
	ldr	w9, [x9, #28]
	str	w9, [x8, #28]
	ldr	w8, [x21]
	str	w8, [x19]
	ldur	d0, [x21, #20]
	str	d0, [x19, #24]
	ldur	q0, [x21, #4]
	stur	q0, [x19, #8]
	bl	_critical_enter
	ldr	w8, [x21]
Lloh6:
	adrp	x22, _FPRS_FEF@GOTPAGE
Lloh7:
	ldr	x22, [x22, _FPRS_FEF@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh8:
	adrp	x23, _PCB_FEF@GOTPAGE
Lloh9:
	ldr	x23, [x23, _PCB_FEF@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x20, #4]
	bl	_savefpctx
	ldr	w8, [x22]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	ldr	w8, [x23]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x20]
LBB0_6:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x20, #4]
	ldr	w1, [x19, #4]
	mov	w2, #4
	bl	_bcopy
	ldr	w8, [x22]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	bl	_critical_exit
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	__MC_VERSION,4,2                ; @_MC_VERSION
	.comm	_GET_MC_CLEAR_RET,4,2           ; @GET_MC_CLEAR_RET
	.comm	_FPRS_FEF,4,2                   ; @FPRS_FEF
	.comm	_PCB_FEF,4,2                    ; @PCB_FEF
.subsections_via_symbols
