	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eloop_tests_start
_eloop_tests_start:                     ## @eloop_tests_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movl	$24, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r15
	movl	$305419896, (%rax)              ## imm = 0x12345678
	movl	%ebx, 4(%rax)
	movq	_MSG_INFO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	16(%r15), %rdi
	callq	_pipe
	testl	%eax, %eax
	js	LBB0_2
## %bb.4:
	movq	8(%r15), %rdi
	callq	_pipe
	movl	(%r12), %r14d
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %ecx
	movl	(%rax), %r8d
	movl	4(%rax), %r9d
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	16(%r15), %rax
	movl	(%rax), %edi
	movq	_eloop_test_read_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_eloop_register_read_sock
	movq	8(%r15), %rax
	movl	(%rax), %edi
	movq	_eloop_test_read_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_eloop_register_read_sock
	movq	_eloop_test_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
	movq	_eloop_test_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$200000, %esi                   ## imm = 0x30D40
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
	movq	16(%r15), %rax
	movl	4(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$5, %edx
	callq	_write
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	movl	(%r12), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_8:
	movq	8(%r15), %rax
	movl	4(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	$4, %edx
	callq	_write
	testq	%rax, %rax
	jns	LBB0_10
## %bb.9:
	movl	(%r12), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_10:
	xorl	%edi, %edi
	movl	$50000, %esi                    ## imm = 0xC350
	callq	_os_sleep
	movl	(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r12), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_3
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	16(%r15), %rax
	movl	(%rax), %edi
	callq	_close
	movq	16(%r15), %rax
	movl	4(%rax), %edi
	callq	_close
LBB0_3:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_free                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"starting eloop tests (%p) (close_in_timeout=%d)"

L_.str.1:                               ## @.str.1
	.asciz	"pipe: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"pipe fds: %d,%d %d,%d"

	.comm	_eloop_test_read_1,4,2          ## @eloop_test_read_1
	.comm	_eloop_test_read_2,4,2          ## @eloop_test_read_2
	.comm	_eloop_test_cb,4,2              ## @eloop_test_cb
	.comm	_eloop_test_timeout,4,2         ## @eloop_test_timeout
L_.str.3:                               ## @.str.3
	.asciz	"HELLO"

L_.str.4:                               ## @.str.4
	.asciz	"write: %s"

L_.str.5:                               ## @.str.5
	.asciz	"TEST"

L_.str.6:                               ## @.str.6
	.asciz	"waiting for eloop callbacks"

	.no_dead_strip	_eloop_tests_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eloop_tests_start
_eloop_tests_start:                     ; @eloop_tests_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	mov	w0, #24
	bl	_os_zalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	mov	w8, #22136
	movk	w8, #4660, lsl #16
	stp	w8, w20, [x0]
Lloh0:
	adrp	x21, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x21]
	stp	x19, x20, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19, #16]
	bl	_pipe
	tbnz	w0, #31, LBB0_9
; %bb.2:
	ldr	x0, [x19, #8]
	bl	_pipe
	ldr	w20, [x21]
	tbnz	w0, #31, LBB0_10
; %bb.3:
	ldp	x9, x8, [x19, #8]
	ldp	w10, w8, [x8]
	ldp	w11, w9, [x9]
	stp	x11, x9, [sp, #16]
	stp	x10, x8, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _eloop_test_read_1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _eloop_test_read_1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x19
	mov	x3, #0
	bl	_eloop_register_read_sock
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _eloop_test_read_2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _eloop_test_read_2@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x19
	mov	x3, #0
	bl	_eloop_register_read_sock
Lloh12:
	adrp	x8, _eloop_test_cb@GOTPAGE
Lloh13:
	ldr	x8, [x8, _eloop_test_cb@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	bl	_eloop_register_timeout
Lloh15:
	adrp	x8, _eloop_test_timeout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _eloop_test_timeout@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w1, #3392
	movk	w1, #3, lsl #16
	mov	x3, x19
	mov	x4, #0
	bl	_eloop_register_timeout
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #5
	bl	_write
	tbz	x0, #63, LBB0_5
; %bb.4:
	ldr	w20, [x21]
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #4
	bl	_write
	tbz	x0, #63, LBB0_7
; %bb.6:
	ldr	w19, [x21]
Lloh27:
	adrp	x8, _errno@GOTPAGE
Lloh28:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_wpa_printf
LBB0_7:
	mov	w0, #0
	mov	w1, #50000
	bl	_os_sleep
	ldr	w0, [x21]
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_wpa_printf
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	ldr	w20, [x21]
Lloh34:
	adrp	x8, _errno@GOTPAGE
Lloh35:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
	b	LBB0_11
LBB0_10:
Lloh39:
	adrp	x8, _errno@GOTPAGE
Lloh40:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh42:
	adrp	x1, l_.str.1@PAGE
Lloh43:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_close
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
	bl	_close
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_os_free
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"starting eloop tests (%p) (close_in_timeout=%d)"

l_.str.1:                               ; @.str.1
	.asciz	"pipe: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"pipe fds: %d,%d %d,%d"

	.comm	_eloop_test_read_1,4,2          ; @eloop_test_read_1
	.comm	_eloop_test_read_2,4,2          ; @eloop_test_read_2
	.comm	_eloop_test_cb,4,2              ; @eloop_test_cb
	.comm	_eloop_test_timeout,4,2         ; @eloop_test_timeout
l_.str.3:                               ; @.str.3
	.asciz	"HELLO"

l_.str.4:                               ; @.str.4
	.asciz	"write: %s"

l_.str.5:                               ; @.str.5
	.asciz	"TEST"

l_.str.6:                               ; @.str.6
	.asciz	"waiting for eloop callbacks"

	.no_dead_strip	_eloop_tests_start
.subsections_via_symbols
