	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_single_step
_enable_single_step:                    ## @enable_single_step
	.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	%rdi, %r14
	callq	_task_pt_regs
	movq	%rax, %rbx
	movq	_TIF_SINGLESTEP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_test_tsk_thread_flag
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_X86_EFLAGS_TF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orq	%rax, (%rbx)
LBB0_2:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_set_tsk_thread_flag
	movq	(%rbx), %r15
	movq	_X86_EFLAGS_TF@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	orq	%r15, %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_is_setting_trap_flag
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_TIF_FORCED_TF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_clear_tsk_thread_flag
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_TIF_FORCED_TF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%r15, (%r12)
	je	LBB0_5
## %bb.7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_test_tsk_thread_flag           ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	callq	_set_tsk_thread_flag
	movl	$1, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_TIF_SINGLESTEP,4,2             ## @TIF_SINGLESTEP
	.comm	_X86_EFLAGS_TF,8,3              ## @X86_EFLAGS_TF
	.comm	_TIF_FORCED_TF,4,2              ## @TIF_FORCED_TF
	.no_dead_strip	_enable_single_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_single_step
_enable_single_step:                    ; @enable_single_step
	.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, x0
	bl	_task_pt_regs
	mov	x20, x0
Lloh0:
	adrp	x22, _TIF_SINGLESTEP@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TIF_SINGLESTEP@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_test_tsk_thread_flag
	bl	_unlikely
Lloh2:
	adrp	x21, _X86_EFLAGS_TF@GOTPAGE
Lloh3:
	ldr	x21, [x21, _X86_EFLAGS_TF@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	x9, [x20]
	orr	x8, x9, x8
	str	x8, [x20]
LBB0_2:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_set_tsk_thread_flag
	ldr	x22, [x20]
	ldr	x8, [x21]
	orr	x8, x8, x22
	str	x8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_is_setting_trap_flag
	cbz	x0, LBB0_5
; %bb.3:
Lloh4:
	adrp	x8, _TIF_FORCED_TF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TIF_FORCED_TF@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_clear_tsk_thread_flag
	mov	w0, #0
LBB0_4:
	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
	ret
LBB0_5:
	ldr	x8, [x21]
Lloh7:
	adrp	x9, _TIF_FORCED_TF@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TIF_FORCED_TF@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	mov	x0, x19
	tst	x8, x22
	b.eq	LBB0_7
; %bb.6:
	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	_test_tsk_thread_flag
LBB0_7:
	bl	_set_tsk_thread_flag
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TIF_SINGLESTEP,4,2             ; @TIF_SINGLESTEP
	.comm	_X86_EFLAGS_TF,8,3              ; @X86_EFLAGS_TF
	.comm	_TIF_FORCED_TF,4,2              ; @TIF_FORCED_TF
	.no_dead_strip	_enable_single_step
.subsections_via_symbols
