	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___switch_to_xtra               ## -- Begin function __switch_to_xtra
	.p2align	4, 0x90
___switch_to_xtra:                      ## @__switch_to_xtra
	.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	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_TIF_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_test_tsk_thread_flag
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	28(%r13), %edi
	xorl	%esi, %esi
	callq	_set_debugreg
	movl	24(%r13), %edi
	movl	$1, %esi
	callq	_set_debugreg
	movl	20(%r13), %edi
	movl	$2, %esi
	callq	_set_debugreg
	movl	16(%r13), %edi
	movl	$3, %esi
	callq	_set_debugreg
	movl	12(%r13), %edi
	movl	$6, %esi
	callq	_set_debugreg
	movl	8(%r13), %edi
	movl	$7, %esi
	callq	_set_debugreg
LBB0_2:
	movq	_TIF_BLOCKSTEP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_test_tsk_thread_flag
	movl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_test_tsk_thread_flag
	cmpl	%eax, %ebx
	je	LBB0_6
## %bb.3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_get_debugctlmsr
	movq	_DEBUGCTLMSR_BTF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	notq	%rbx
	andq	%rax, %rbx
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_test_tsk_thread_flag
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_DEBUGCTLMSR_BTF@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_5:
	orq	%rbx, %r12
	movq	%r12, %rdi
	callq	_update_debugctlmsr
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_6:
	movq	_TIF_NOTSC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_test_tsk_thread_flag
	movl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_test_tsk_thread_flag
	cmpl	%eax, %ebx
	je	LBB0_10
## %bb.7:
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_test_tsk_thread_flag
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_hard_disable_TSC
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_hard_enable_TSC
LBB0_10:
	movq	_TIF_IO_BITMAP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_test_tsk_thread_flag
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	(%r12), %r15d
	movl	(%r13), %esi
	movl	4(%r13), %ebx
	movl	(%r14), %edi
	callq	_max
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_memcpy
	jmp	LBB0_14
LBB0_12:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_test_tsk_thread_flag
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	(%r12), %edi
	movl	(%r14), %edx
	movl	$255, %esi
	callq	_memset
LBB0_14:
	movq	%r14, %rdi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_propagate_user_return_notify   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TIF_DEBUG,4,2                  ## @TIF_DEBUG
	.comm	_TIF_BLOCKSTEP,4,2              ## @TIF_BLOCKSTEP
	.comm	_DEBUGCTLMSR_BTF,8,3            ## @DEBUGCTLMSR_BTF
	.comm	_TIF_NOTSC,4,2                  ## @TIF_NOTSC
	.comm	_TIF_IO_BITMAP,4,2              ## @TIF_IO_BITMAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___switch_to_xtra               ; -- Begin function __switch_to_xtra
	.p2align	2
___switch_to_xtra:                      ; @__switch_to_xtra
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TIF_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIF_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_test_tsk_thread_flag
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #28]
	mov	w1, #0
	bl	_set_debugreg
	ldr	w0, [x19, #24]
	mov	w1, #1
	bl	_set_debugreg
	ldr	w0, [x19, #20]
	mov	w1, #2
	bl	_set_debugreg
	ldr	w0, [x19, #16]
	mov	w1, #3
	bl	_set_debugreg
	ldr	w0, [x19, #12]
	mov	w1, #6
	bl	_set_debugreg
	ldr	w0, [x19, #8]
	mov	w1, #7
	bl	_set_debugreg
LBB0_2:
Lloh3:
	adrp	x23, _TIF_BLOCKSTEP@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TIF_BLOCKSTEP@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_test_tsk_thread_flag
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x19
	bl	_test_tsk_thread_flag
	cmp	w22, w0
	b.eq	LBB0_4
; %bb.3:
	bl	_get_debugctlmsr
Lloh5:
	adrp	x22, _DEBUGCTLMSR_BTF@GOTPAGE
Lloh6:
	ldr	x22, [x22, _DEBUGCTLMSR_BTF@GOTPAGEOFF]
	ldr	x8, [x22]
	bic	x24, x0, x8
	ldr	w1, [x23]
	mov	x0, x19
	bl	_test_tsk_thread_flag
	ldr	x8, [x22]
	cmp	w0, #0
	csel	x8, xzr, x8, eq
	orr	x0, x8, x24
	bl	_update_debugctlmsr
LBB0_4:
Lloh7:
	adrp	x23, _TIF_NOTSC@GOTPAGE
Lloh8:
	ldr	x23, [x23, _TIF_NOTSC@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_test_tsk_thread_flag
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x19
	bl	_test_tsk_thread_flag
	cmp	w22, w0
	b.eq	LBB0_8
; %bb.5:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_test_tsk_thread_flag
	cbz	w0, LBB0_7
; %bb.6:
	bl	_hard_disable_TSC
	b	LBB0_8
LBB0_7:
	bl	_hard_enable_TSC
LBB0_8:
Lloh9:
	adrp	x22, _TIF_IO_BITMAP@GOTPAGE
Lloh10:
	ldr	x22, [x22, _TIF_IO_BITMAP@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_test_tsk_thread_flag
	cbz	w0, LBB0_10
; %bb.9:
	ldr	w21, [x21]
	ldr	w0, [x20]
	ldp	w1, w22, [x19]
	bl	_max
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	b	LBB0_12
LBB0_10:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_test_tsk_thread_flag
	cbz	w0, LBB0_12
; %bb.11:
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #255
	bl	_memset
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	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
	b	_propagate_user_return_notify
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TIF_DEBUG,4,2                  ; @TIF_DEBUG
	.comm	_TIF_BLOCKSTEP,4,2              ; @TIF_BLOCKSTEP
	.comm	_DEBUGCTLMSR_BTF,8,3            ; @DEBUGCTLMSR_BTF
	.comm	_TIF_NOTSC,4,2                  ; @TIF_NOTSC
	.comm	_TIF_IO_BITMAP,4,2              ; @TIF_IO_BITMAP
.subsections_via_symbols
