	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_loopbreak
_test_loopbreak:                        ## @test_loopbreak
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	callq	_setup_test
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_break_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_evtimer_set
	leaq	-64(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_evtimer_add
	movq	_fail_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_evtimer_set
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evtimer_add
	xorl	%eax, %eax
	callq	_event_dispatch
	movq	_global_base@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_event_base_got_exit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_tt_assert
	movl	(%rbx), %edi
	callq	_event_base_got_break
	movl	%eax, %edi
	callq	_tt_assert
	movq	%r14, %rdi
	callq	_evtimer_del
	movq	%r15, %rdi
	callq	_evtimer_del
	xorl	%eax, %eax
	callq	_cleanup_test
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Loop break: "

	.comm	_break_cb,4,2                   ## @break_cb
	.comm	_fail_cb,4,2                    ## @fail_cb
	.comm	_global_base,4,2                ## @global_base
	.no_dead_strip	_test_loopbreak
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_loopbreak
_test_loopbreak:                        ; @test_loopbreak
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_setup_test
	stp	xzr, xzr, [sp]
Lloh2:
	adrp	x8, _break_cb@GOTPAGE
Lloh3:
	ldr	x8, [x8, _break_cb@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #24
	mov	x2, #0
	bl	_evtimer_set
	add	x0, sp, #24
	mov	x1, sp
	bl	_evtimer_add
Lloh5:
	adrp	x8, _fail_cb@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fail_cb@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #16
	mov	x2, #0
	bl	_evtimer_set
	add	x0, sp, #16
	mov	x1, sp
	bl	_evtimer_add
	bl	_event_dispatch
Lloh8:
	adrp	x19, _global_base@GOTPAGE
Lloh9:
	ldr	x19, [x19, _global_base@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_event_base_got_exit
	cmp	w0, #0
	cset	w0, eq
	bl	_tt_assert
	ldr	w0, [x19]
	bl	_event_base_got_break
	bl	_tt_assert
	add	x0, sp, #24
	bl	_evtimer_del
	add	x0, sp, #16
	bl	_evtimer_del
	bl	_cleanup_test
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Loop break: "

	.comm	_break_cb,4,2                   ; @break_cb
	.comm	_fail_cb,4,2                    ; @fail_cb
	.comm	_global_base,4,2                ; @global_base
	.no_dead_strip	_test_loopbreak
.subsections_via_symbols
