	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function signal_delay_wait_threadfunc
_signal_delay_wait_threadfunc:          ## @signal_delay_wait_threadfunc
	.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	%rdi, %rbx
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.4(%rip), %rdi
	callq	_puts
	movq	_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	movl	%eax, %edi
	callq	_PTHREAD_REQUIRE
	leaq	L_str.5(%rip), %rdi
	callq	_puts
	movl	(%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$0, (%rbx)
	movq	%r14, %rdi
	callq	_pthread_mutex_unlock
	movl	%eax, %edi
	callq	_PTHREAD_REQUIRE
	movq	_cond@GOTPCREL(%rip), %rdi
	callq	_pthread_cond_signal
	movl	%eax, %edi
	callq	_PTHREAD_REQUIRE
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mutex,4,2                      ## @mutex
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"Shared value: %d. Changing to 0.\n"

	.comm	_cond,4,2                       ## @cond
L_str:                                  ## @str
	.asciz	"2: Second thread."

L_str.4:                                ## @str.4
	.asciz	"2: Locking mutex"

L_str.5:                                ## @str.5
	.asciz	"2: Got mutex."

	.no_dead_strip	_signal_delay_wait_threadfunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function signal_delay_wait_threadfunc
_signal_delay_wait_threadfunc:          ; @signal_delay_wait_threadfunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x0, l_str.4@PAGE
Lloh3:
	add	x0, x0, l_str.4@PAGEOFF
	bl	_puts
Lloh4:
	adrp	x20, _mutex@GOTPAGE
Lloh5:
	ldr	x20, [x20, _mutex@GOTPAGEOFF]
	mov	x0, x20
	bl	_pthread_mutex_lock
	bl	_PTHREAD_REQUIRE
Lloh6:
	adrp	x0, l_str.5@PAGE
Lloh7:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
	ldr	w8, [x19]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	str	wzr, [x19]
	mov	x0, x20
	bl	_pthread_mutex_unlock
	bl	_PTHREAD_REQUIRE
Lloh10:
	adrp	x0, _cond@GOTPAGE
Lloh11:
	ldr	x0, [x0, _cond@GOTPAGEOFF]
	bl	_pthread_cond_signal
	bl	_PTHREAD_REQUIRE
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mutex,4,2                      ; @mutex
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"Shared value: %d. Changing to 0.\n"

	.comm	_cond,4,2                       ; @cond
l_str:                                  ; @str
	.asciz	"2: Second thread."

l_str.4:                                ; @str.4
	.asciz	"2: Locking mutex"

l_str.5:                                ; @str.5
	.asciz	"2: Got mutex."

	.no_dead_strip	_signal_delay_wait_threadfunc
.subsections_via_symbols
