	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flush_callback
_flush_callback:                        ## @flush_callback
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_lwp_list@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 24(%rbx)
	jne	LBB0_3
## %bb.2:
	movl	16(%rbx), %edi
	callq	_lin_lwp_thread_alive
	testl	%eax, %eax
	je	LBB0_16
LBB0_3:
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_9
## %bb.4:
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_printf_unfiltered
	movl	(%rbx), %esi
LBB0_6:
	movl	%esi, %edi
	callq	_WIFSTOPPED
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	(%rbx), %edi
	callq	_WSTOPSIG
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sigismember
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	$0, (%rbx)
LBB0_9:
	movl	16(%rbx), %edi
	callq	_GET_LWP
	leaq	-44(%rbp), %rsi
	movl	%eax, %edi
	movq	%r14, %rdx
	callq	_lin_lwp_has_pending
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	_debug_lin_lwp@GOTPCREL(%rip), %r15
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	16(%rbx), %edi
	callq	_GET_LWP
	movl	%eax, %edi
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdx
	callq	_lin_lwp_has_pending
	testq	%rax, %rax
	je	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, (%r13)
	movq	_PTRACE_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	16(%rbx), %edi
	callq	_GET_LWP
	movl	%r12d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	cmpq	$0, (%r15)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_gdb_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%r13), %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_stop_wait_callback
	cmpq	$0, (%r15)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	jmp	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lwp_list,8,3                   ## @lwp_list
	.comm	_debug_lin_lwp,8,3              ## @debug_lin_lwp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FC: LP has pending status %06x\n"

	.comm	_errno,8,3                      ## @errno
	.comm	_PTRACE_CONT,4,2                ## @PTRACE_CONT
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
L_.str.1:                               ## @.str.1
	.asciz	"FC: Sent PTRACE_CONT, ret %d %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"FC: Wait finished; saved status is %d\n"

	.no_dead_strip	_flush_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flush_callback
_flush_callback:                        ; @flush_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _lwp_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lwp_list@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x20, #16]
	bl	_lin_lwp_thread_alive
	cbz	w0, LBB0_16
LBB0_3:
	ldr	w1, [x20]
Lloh3:
	adrp	x24, _debug_lin_lwp@GOTPAGE
Lloh4:
	ldr	x24, [x24, _debug_lin_lwp@GOTPAGEOFF]
	cbz	w1, LBB0_9
; %bb.4:
	ldr	x8, [x24]
	cbz	x8, LBB0_6
; %bb.5:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf_unfiltered
	ldr	w1, [x20]
LBB0_6:
	mov	x0, x1
	bl	_WIFSTOPPED
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x20]
	bl	_WSTOPSIG
	mov	x1, x0
	mov	x0, x19
	bl	_sigismember
	cbz	x0, LBB0_9
; %bb.8:
	str	wzr, [x20]
LBB0_9:
	ldr	w0, [x20, #16]
	bl	_GET_LWP
	add	x1, sp, #12
	mov	x2, x19
	bl	_lin_lwp_has_pending
	cbz	x0, LBB0_16
; %bb.10:
Lloh7:
	adrp	x25, _errno@GOTPAGE
Lloh8:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh9:
	adrp	x26, _PTRACE_CONT@GOTPAGE
Lloh10:
	ldr	x26, [x26, _PTRACE_CONT@GOTPAGEOFF]
Lloh11:
	adrp	x21, l_.str.2@PAGE
Lloh12:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh13:
	adrp	x27, _gdb_stderr@GOTPAGE
Lloh14:
	ldr	x27, [x27, _gdb_stderr@GOTPAGEOFF]
Lloh15:
	adrp	x22, l_.str.1@PAGE
Lloh16:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x20, #16]
	bl	_GET_LWP
	add	x1, sp, #12
	mov	x2, x19
	bl	_lin_lwp_has_pending
	cbz	x0, LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x25]
	ldr	w23, [x26]
	ldr	w0, [x20, #16]
	bl	_GET_LWP
	mov	x1, x0
	mov	x0, x23
	mov	w2, #0
	mov	w3, #0
	bl	_ptrace
	ldr	x8, [x24]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x2, x0
	ldr	w0, [x27]
	ldr	x8, [x25]
	str	x8, [sp]
	mov	x1, x22
	bl	_fprintf_unfiltered
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	str	xzr, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_stop_wait_callback
	ldr	x8, [x24]
	cbz	x8, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x27]
	ldr	w2, [x20]
	mov	x1, x21
	bl	_fprintf_unfiltered
	b	LBB0_11
LBB0_16:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_lwp_list,8,3                   ; @lwp_list
	.comm	_debug_lin_lwp,8,3              ; @debug_lin_lwp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FC: LP has pending status %06x\n"

	.comm	_errno,8,3                      ; @errno
	.comm	_PTRACE_CONT,4,2                ; @PTRACE_CONT
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
l_.str.1:                               ; @.str.1
	.asciz	"FC: Sent PTRACE_CONT, ret %d %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"FC: Wait finished; saved status is %d\n"

	.no_dead_strip	_flush_callback
.subsections_via_symbols
