	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lin_lwp_resume
_lin_lwp_resume:                        ## @lin_lwp_resume
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %r13d
	callq	_PIDGET
	movl	%eax, %r12d
	cmpl	$-1, %eax
	jne	LBB0_1
## %bb.2:
	movq	_resume_set_callback@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_resume_clear_callback@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_iterate_over_lwps
	movl	%r13d, %edi
	callq	_PIDGET
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_5:
	movl	%r13d, %edi
	callq	_find_lwp_pid
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	movl	24(%rax), %edi
	callq	_GET_LWP
	movl	%eax, %edi
	callq	_pid_to_ptid
	movl	%r15d, (%rbx)
	movl	$1, 4(%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.16:
	movq	_TARGET_SIGNAL_0@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r14d, (%rax)
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdb_assert                     ## TAILCALL
LBB0_7:
	movl	%eax, %r13d
	movq	$0, 8(%rbx)
LBB0_8:
	cmpl	$-1, %r12d
	jne	LBB0_10
## %bb.9:
	movq	_resume_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_iterate_over_lwps
LBB0_10:
	movl	%r13d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_child_resume
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.11:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r15
	cmoveq	%rax, %r15
	movl	%r13d, %edi
	callq	_target_pid_to_str
	movl	%eax, %ebx
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.13:
	movl	%r14d, %edi
	callq	_strsignal
	movq	%rax, %r8
	jmp	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.3(%rip), %r8
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf_unfiltered             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_resume_set_callback,4,2        ## @resume_set_callback
	.comm	_resume_clear_callback,4,2      ## @resume_clear_callback
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_TARGET_SIGNAL_0,4,2            ## @TARGET_SIGNAL_0
	.comm	_resume_callback,4,2            ## @resume_callback
	.comm	_debug_lin_lwp,8,3              ## @debug_lin_lwp
	.comm	_gdb_stdlog,4,2                 ## @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LLR: %s %s, %s (resume event thread)\n"

L_.str.1:                               ## @.str.1
	.asciz	"PTRACE_SINGLESTEP"

L_.str.2:                               ## @.str.2
	.asciz	"PTRACE_CONT"

L_.str.3:                               ## @.str.3
	.asciz	"0"

	.no_dead_strip	_lin_lwp_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lin_lwp_resume
_lin_lwp_resume:                        ; @lin_lwp_resume
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_PIDGET
	mov	x22, x0
Lloh0:
	adrp	x8, _resume_set_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _resume_set_callback@GOTPAGEOFF]
Lloh2:
	adrp	x9, _resume_clear_callback@GOTPAGE
Lloh3:
	ldr	x9, [x9, _resume_clear_callback@GOTPAGEOFF]
	cmn	w0, #1
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	mov	x1, #0
	bl	_iterate_over_lwps
	mov	x0, x21
	bl	_PIDGET
Lloh4:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh5:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmn	w0, #1
	csel	w21, w8, w21, eq
	mov	x0, x21
	bl	_find_lwp_pid
	cbz	x0, LBB0_4
; %bb.1:
	mov	x23, x0
	ldr	w0, [x0, #24]
	bl	_GET_LWP
	bl	_pid_to_ptid
	mov	w8, #1
	stp	w20, w8, [x23]
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _TARGET_SIGNAL_0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TARGET_SIGNAL_0@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w0, eq
	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	_gdb_assert
LBB0_3:
	mov	x21, x0
	str	xzr, [x23, #8]
LBB0_4:
	cmn	w22, #1
	b.ne	LBB0_6
; %bb.5:
Lloh10:
	adrp	x8, _resume_callback@GOTPAGE
Lloh11:
	ldr	x8, [x8, _resume_callback@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_iterate_over_lwps
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_child_resume
Lloh13:
	adrp	x8, _debug_lin_lwp@GOTPAGE
Lloh14:
	ldr	x8, [x8, _debug_lin_lwp@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.7:
Lloh16:
	adrp	x8, _gdb_stdlog@GOTPAGE
Lloh17:
	ldr	x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh18:
	ldr	w22, [x8]
Lloh19:
	adrp	x8, l_.str.1@PAGE
Lloh20:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh21:
	adrp	x9, l_.str.2@PAGE
Lloh22:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x20, x9, x8, eq
	mov	x0, x21
	bl	_target_pid_to_str
	mov	x21, x0
	cbz	w19, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_strsignal
	mov	x4, x0
	b	LBB0_11
LBB0_9:
	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
	ret
LBB0_10:
Lloh23:
	adrp	x4, l_.str.3@PAGE
Lloh24:
	add	x4, x4, l_.str.3@PAGEOFF
LBB0_11:
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	mov	x3, x21
	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	_fprintf_unfiltered
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_resume_set_callback,4,2        ; @resume_set_callback
	.comm	_resume_clear_callback,4,2      ; @resume_clear_callback
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_TARGET_SIGNAL_0,4,2            ; @TARGET_SIGNAL_0
	.comm	_resume_callback,4,2            ; @resume_callback
	.comm	_debug_lin_lwp,8,3              ; @debug_lin_lwp
	.comm	_gdb_stdlog,4,2                 ; @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LLR: %s %s, %s (resume event thread)\n"

l_.str.1:                               ; @.str.1
	.asciz	"PTRACE_SINGLESTEP"

l_.str.2:                               ; @.str.2
	.asciz	"PTRACE_CONT"

l_.str.3:                               ; @.str.3
	.asciz	"0"

	.no_dead_strip	_lin_lwp_resume
.subsections_via_symbols
