	.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
	movq	(%rdi), %rcx
	movq	(%rsi), %rax
	movq	_GET_MC_CLEAR_RET@GOTPCREL(%rip), %rdi
	testl	%edx, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	__REG_R0@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$0, (%rax,%rdx,4)
	movq	_PSR_C@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	(%rcx), %edx
	jmp	LBB0_3
LBB0_2:
	movl	4(%rcx), %edx
	movq	__REG_R0@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	(%rcx), %edx
LBB0_3:
	movq	__REG_CPSR@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	8(%rcx), %edx
	movq	__REG_R1@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	12(%rcx), %edx
	movq	__REG_R2@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	16(%rcx), %edx
	movq	__REG_R3@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	20(%rcx), %edx
	movq	__REG_R4@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	24(%rcx), %edx
	movq	__REG_R5@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	28(%rcx), %edx
	movq	__REG_R6@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	32(%rcx), %edx
	movq	__REG_R7@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	36(%rcx), %edx
	movq	__REG_R8@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	40(%rcx), %edx
	movq	__REG_R9@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	44(%rcx), %edx
	movq	__REG_R10@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	48(%rcx), %edx
	movq	__REG_R11@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	52(%rcx), %edx
	movq	__REG_R12@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	56(%rcx), %edx
	movq	__REG_SP@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	60(%rcx), %edx
	movq	__REG_LR@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%edx, (%rax,%rdi,4)
	movl	64(%rcx), %ecx
	movq	__REG_PC@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsi)
	addq	$8, %rsi
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GET_MC_CLEAR_RET,4,2           ## @GET_MC_CLEAR_RET
	.comm	__REG_R0,8,3                    ## @_REG_R0
	.comm	_PSR_C,4,2                      ## @PSR_C
	.comm	__REG_CPSR,8,3                  ## @_REG_CPSR
	.comm	__REG_R1,8,3                    ## @_REG_R1
	.comm	__REG_R2,8,3                    ## @_REG_R2
	.comm	__REG_R3,8,3                    ## @_REG_R3
	.comm	__REG_R4,8,3                    ## @_REG_R4
	.comm	__REG_R5,8,3                    ## @_REG_R5
	.comm	__REG_R6,8,3                    ## @_REG_R6
	.comm	__REG_R7,8,3                    ## @_REG_R7
	.comm	__REG_R8,8,3                    ## @_REG_R8
	.comm	__REG_R9,8,3                    ## @_REG_R9
	.comm	__REG_R10,8,3                   ## @_REG_R10
	.comm	__REG_R11,8,3                   ## @_REG_R11
	.comm	__REG_R12,8,3                   ## @_REG_R12
	.comm	__REG_SP,8,3                    ## @_REG_SP
	.comm	__REG_LR,8,3                    ## @_REG_LR
	.comm	__REG_PC,8,3                    ## @_REG_PC
.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	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x9, [x0]
	ldr	x8, [x1]
Lloh0:
	adrp	x10, _GET_MC_CLEAR_RET@GOTPAGE
Lloh1:
	ldr	x10, [x10, _GET_MC_CLEAR_RET@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w2
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x10, __REG_R0@GOTPAGE
Lloh4:
	ldr	x10, [x10, __REG_R0@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	str	wzr, [x8, x10, lsl #2]
	ldr	w10, [x9]
Lloh6:
	adrp	x11, _PSR_C@GOTPAGE
Lloh7:
	ldr	x11, [x11, _PSR_C@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	bic	w10, w10, w11
	b	LBB0_3
LBB0_2:
	ldr	w10, [x9, #4]
Lloh9:
	adrp	x11, __REG_R0@GOTPAGE
Lloh10:
	ldr	x11, [x11, __REG_R0@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9]
LBB0_3:
Lloh12:
	adrp	x11, __REG_CPSR@GOTPAGE
Lloh13:
	ldr	x11, [x11, __REG_CPSR@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #8]
Lloh15:
	adrp	x11, __REG_R1@GOTPAGE
Lloh16:
	ldr	x11, [x11, __REG_R1@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #12]
Lloh18:
	adrp	x11, __REG_R2@GOTPAGE
Lloh19:
	ldr	x11, [x11, __REG_R2@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #16]
Lloh21:
	adrp	x11, __REG_R3@GOTPAGE
Lloh22:
	ldr	x11, [x11, __REG_R3@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #20]
Lloh24:
	adrp	x11, __REG_R4@GOTPAGE
Lloh25:
	ldr	x11, [x11, __REG_R4@GOTPAGEOFF]
Lloh26:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #24]
Lloh27:
	adrp	x11, __REG_R5@GOTPAGE
Lloh28:
	ldr	x11, [x11, __REG_R5@GOTPAGEOFF]
Lloh29:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #28]
Lloh30:
	adrp	x11, __REG_R6@GOTPAGE
Lloh31:
	ldr	x11, [x11, __REG_R6@GOTPAGEOFF]
Lloh32:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #32]
Lloh33:
	adrp	x11, __REG_R7@GOTPAGE
Lloh34:
	ldr	x11, [x11, __REG_R7@GOTPAGEOFF]
Lloh35:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #36]
Lloh36:
	adrp	x11, __REG_R8@GOTPAGE
Lloh37:
	ldr	x11, [x11, __REG_R8@GOTPAGEOFF]
Lloh38:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #40]
Lloh39:
	adrp	x11, __REG_R9@GOTPAGE
Lloh40:
	ldr	x11, [x11, __REG_R9@GOTPAGEOFF]
Lloh41:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #44]
Lloh42:
	adrp	x11, __REG_R10@GOTPAGE
Lloh43:
	ldr	x11, [x11, __REG_R10@GOTPAGEOFF]
Lloh44:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #48]
Lloh45:
	adrp	x11, __REG_R11@GOTPAGE
Lloh46:
	ldr	x11, [x11, __REG_R11@GOTPAGEOFF]
Lloh47:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #52]
Lloh48:
	adrp	x11, __REG_R12@GOTPAGE
Lloh49:
	ldr	x11, [x11, __REG_R12@GOTPAGEOFF]
Lloh50:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #56]
Lloh51:
	adrp	x11, __REG_SP@GOTPAGE
Lloh52:
	ldr	x11, [x11, __REG_SP@GOTPAGEOFF]
Lloh53:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x9, #60]
Lloh54:
	adrp	x11, __REG_LR@GOTPAGE
Lloh55:
	ldr	x11, [x11, __REG_LR@GOTPAGEOFF]
Lloh56:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
	ldr	w9, [x9, #64]
Lloh57:
	adrp	x10, __REG_PC@GOTPAGE
Lloh58:
	ldr	x10, [x10, __REG_PC@GOTPAGEOFF]
Lloh59:
	ldr	x10, [x10]
	str	w9, [x8, x10, lsl #2]
	add	x0, x1, #8
	stp	xzr, xzr, [x1, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GET_MC_CLEAR_RET,4,2           ; @GET_MC_CLEAR_RET
	.comm	__REG_R0,8,3                    ; @_REG_R0
	.comm	_PSR_C,4,2                      ; @PSR_C
	.comm	__REG_CPSR,8,3                  ; @_REG_CPSR
	.comm	__REG_R1,8,3                    ; @_REG_R1
	.comm	__REG_R2,8,3                    ; @_REG_R2
	.comm	__REG_R3,8,3                    ; @_REG_R3
	.comm	__REG_R4,8,3                    ; @_REG_R4
	.comm	__REG_R5,8,3                    ; @_REG_R5
	.comm	__REG_R6,8,3                    ; @_REG_R6
	.comm	__REG_R7,8,3                    ; @_REG_R7
	.comm	__REG_R8,8,3                    ; @_REG_R8
	.comm	__REG_R9,8,3                    ; @_REG_R9
	.comm	__REG_R10,8,3                   ; @_REG_R10
	.comm	__REG_R11,8,3                   ; @_REG_R11
	.comm	__REG_R12,8,3                   ; @_REG_R12
	.comm	__REG_SP,8,3                    ; @_REG_SP
	.comm	__REG_LR,8,3                    ; @_REG_LR
	.comm	__REG_PC,8,3                    ; @_REG_PC
.subsections_via_symbols
