	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kgdbts_unreg_thread
_kgdbts_unreg_thread:                   ## @kgdbts_unreg_thread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_final_ack@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1500, %edi                     ## imm = 0x5DC
	callq	_msleep_interruptible
	cmpl	$0, (%rbx)
	je	LBB0_1
LBB0_3:
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msleep_interruptible
	movq	_configured@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_kgdbts_io_ops@GOTPCREL(%rip), %rdi
	callq	_kgdb_unregister_io_module
LBB0_5:
	movq	$0, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_final_ack,4,2                  ## @final_ack
	.comm	_configured,8,3                 ## @configured
	.comm	_kgdbts_io_ops,4,2              ## @kgdbts_io_ops
	.no_dead_strip	_kgdbts_unreg_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kgdbts_unreg_thread
_kgdbts_unreg_thread:                   ; @kgdbts_unreg_thread
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _final_ack@GOTPAGE
Lloh1:
	ldr	x19, [x19, _final_ack@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1500
	bl	_msleep_interruptible
	ldr	w8, [x19]
	cbz	w8, LBB0_1
LBB0_2:
	mov	w0, #1000
	bl	_msleep_interruptible
Lloh2:
	adrp	x19, _configured@GOTPAGE
Lloh3:
	ldr	x19, [x19, _configured@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, _kgdbts_io_ops@GOTPAGE
Lloh5:
	ldr	x0, [x0, _kgdbts_io_ops@GOTPAGEOFF]
	bl	_kgdb_unregister_io_module
LBB0_4:
	str	xzr, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_final_ack,4,2                  ; @final_ack
	.comm	_configured,8,3                 ; @configured
	.comm	_kgdbts_io_ops,4,2              ; @kgdbts_io_ops
	.no_dead_strip	_kgdbts_unreg_thread
.subsections_via_symbols
