	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wip_add_work
_wip_add_work:                          ## @wip_add_work
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_pthread_self
	movq	8(%rbx), %r8
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_debug
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_merge_into_master
	movq	%r14, %rdi
	callq	_tdata_free
	incl	(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	%r14, 8(%rbx)
	movl	$1, (%rbx)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d: merging %p into %p\n"

	.no_dead_strip	_wip_add_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wip_add_work
_wip_add_work:                          ; @wip_add_work
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_pthread_self
	mov	x2, x0
	ldr	x4, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x3, x20
	bl	_debug
	ldr	x1, [x19, #8]
	mov	x0, x20
	mov	x2, #0
	mov	w3, #0
	bl	_merge_into_master
	mov	x0, x20
	bl	_tdata_free
	ldr	w8, [x19]
	add	w8, w8, #1
	b	LBB0_3
LBB0_2:
	str	x20, [x19, #8]
	mov	w8, #1
LBB0_3:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d: merging %p into %p\n"

	.no_dead_strip	_wip_add_work
.subsections_via_symbols
