	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_context_reg
_copy_context_reg:                      ## @copy_context_reg
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %ecx
	movq	%rdi, %r14
	movq	_dbghelp_current_cpu@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %edi
	callq	*(%rax)
	movl	%eax, %r12d
	movq	(%r15), %rax
	movl	(%rbx), %esi
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	(%r15), %rax
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	*8(%rax)
	movq	%rax, %r14
	movq	(%r15), %rax
	leaq	-52(%rbp), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	*8(%rax)
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %r9d
	cmpl	%r9d, %edx
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_memcpy
	jmp	LBB0_3
LBB0_1:
	movl	%edx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	callq	_FIXME
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dbghelp_current_cpu,8,3        ## @dbghelp_current_cpu
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot copy register %lu/%u => %lu/%u because of size mismatch (%u => %u)\n"

	.no_dead_strip	_copy_context_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_context_reg
_copy_context_reg:                      ; @copy_context_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x3
	mov	x24, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x25, _dbghelp_current_cpu@GOTPAGE
Lloh1:
	ldr	x25, [x25, _dbghelp_current_cpu@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x8]
Lloh2:
	adrp	x22, _TRUE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	blr	x8
	mov	x21, x0
	ldr	x8, [x25]
	ldr	x8, [x8]
	ldr	w1, [x22]
	mov	x0, x20
	blr	x8
	mov	x22, x0
	ldr	x8, [x25]
	ldr	x8, [x8, #8]
	add	x2, sp, #12
	mov	x0, x23
	mov	x1, x21
	blr	x8
	mov	x23, x0
	ldr	x8, [x25]
	ldr	x8, [x8, #8]
	add	x2, sp, #8
	mov	x0, x24
	mov	x1, x22
	blr	x8
	ldp	w5, w6, [sp, #8]
	cmp	w6, w5
	b.ne	LBB0_2
; %bb.1:
	mov	x1, x0
	mov	x0, x23
	mov	x2, x6
	bl	_memcpy
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	mov	x4, x21
	bl	_FIXME
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dbghelp_current_cpu,8,3        ; @dbghelp_current_cpu
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot copy register %lu/%u => %lu/%u because of size mismatch (%u => %u)\n"

	.no_dead_strip	_copy_context_reg
.subsections_via_symbols
