	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_detach                     ## -- Begin function inf_detach
	.p2align	4, 0x90
_inf_detach:                            ## @inf_detach
	.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
	movq	%rdi, %r15
	movq	32(%rdi), %r14
	leaq	L_.str(%rip), %rsi
	callq	_inf_debug
	movq	%r15, %rdi
	callq	_inf_clear_wait
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_inf_set_step_thread
	testq	%r14, %r14
	je	LBB0_9
## %bb.1:
	movq	%r15, %rdi
	callq	_inf_validate_procinfo
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_inf_set_traced
	cmpq	$0, 24(%r15)
	je	LBB0_5
## %bb.2:
	cmpq	$0, 16(%r15)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_inf_continue
	jmp	LBB0_5
LBB0_4:
	movq	_TARGET_SIGNAL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_inf_signal
LBB0_5:
	movq	%r14, %rdi
	callq	_proc_restore_exc_port
	movl	8(%r15), %eax
	movl	%eax, 4(%r14)
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_proc_restore_exc_port
	movl	(%rbx), %eax
	movl	%eax, 4(%rbx)
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
LBB0_8:
	movq	%r15, %rdi
	callq	_inf_update_suspends
LBB0_9:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inf_cleanup                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"detaching..."

	.comm	_TARGET_SIGNAL_0,4,2            ## @TARGET_SIGNAL_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_detach                     ; -- Begin function inf_detach
	.p2align	2
_inf_detach:                            ; @inf_detach
	.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
	mov	x19, x0
	ldr	x20, [x0, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_inf_debug
	mov	x0, x19
	bl	_inf_clear_wait
	mov	x0, x19
	mov	w1, #0
	bl	_inf_set_step_thread
	cbz	x20, LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_inf_validate_procinfo
	mov	x0, x19
	mov	w1, #0
	bl	_inf_set_traced
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_inf_continue
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _TARGET_SIGNAL_0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TARGET_SIGNAL_0@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_inf_signal
LBB0_5:
	mov	x0, x20
	bl	_proc_restore_exc_port
	ldr	w8, [x19, #8]
	str	w8, [x20, #4]
	ldr	x20, [x19]
	cbz	x20, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_proc_restore_exc_port
	ldr	w8, [x20]
	str	w8, [x20, #4]
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_6
LBB0_7:
	mov	x0, x19
	bl	_inf_update_suspends
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_inf_cleanup
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"detaching..."

	.comm	_TARGET_SIGNAL_0,4,2            ; @TARGET_SIGNAL_0
.subsections_via_symbols
