	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_append
_context_append:                        ## @context_append
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movl	8(%rax), %edx
	movl	%r15d, %edi
	subl	%edx, %edi
	addl	(%rax), %edi
	addl	%r14d, %ecx
	shll	$2, %ecx
	addl	%ecx, 4(%rax)
	orl	%r14d, %edi
	callq	_cpu_to_le32
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_find_branch_descriptor
	movq	%rax, 8(%rbx)
	movl	(%rbx), %r14d
	movl	4(%rbx), %edi
	callq	_CONTROL_SET
	movq	_CONTEXT_WAKE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_reg_write
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush_writes                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTEXT_WAKE,4,2               ## @CONTEXT_WAKE
	.no_dead_strip	_context_append
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_append
_context_append:                        ; @context_append
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #16]
	ldp	w11, w9, [x8, #4]
	ldr	w10, [x8]
	sub	w9, w20, w9
	add	w9, w10, w9
	add	w10, w3, w2
	add	w10, w11, w10, lsl #2
	str	w10, [x8, #4]
	orr	w0, w9, w2
	bl	_cpu_to_le32
	ldr	x8, [x21, #8]
	str	w0, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_find_branch_descriptor
	str	x0, [x21, #8]
	ldp	w19, w0, [x21]
	bl	_CONTROL_SET
	mov	x1, x0
Lloh0:
	adrp	x8, _CONTEXT_WAKE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONTEXT_WAKE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_write
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_flush_writes
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTEXT_WAKE,4,2               ; @CONTEXT_WAKE
	.no_dead_strip	_context_append
.subsections_via_symbols
