	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function child
_child:                                 ## @child
	.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
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movl	%edi, %r14d
	movq	_filetype@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_FT_FIFO@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_3
## %bb.1:
	movq	_FIFONAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_open
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_3:
	movl	%r14d, -56(%rbp)
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_7
## %bb.4:
	movq	%rbx, %r13
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_6:
	leal	1(%r12), %r15d
	movl	-48(%rbp), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_report
	movl	%r15d, %r12d
	movq	%r13, %rbx
LBB0_7:
	movq	_ppid@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	movq	_state@GOTPCREL(%rip), %r13
	cmpl	$1, (%r13)
	jne	LBB0_8
## %bb.9:
	movq	(%rbx), %rax
	movq	_FT_FIFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.11:
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_13:
	movl	-48(%rbp), %ecx
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_report
	movl	(%r15), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	cmpl	$2, (%r13)
	jne	LBB0_14
## %bb.15:
	leal	1(%r12), %r15d
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_17
## %bb.16:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_17:
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_report
	leaq	-320(%rbp), %rsi
	movl	%r14d, %edi
	movl	$256, %edx                      ## imm = 0x100
	callq	_read
	cmpl	$1, %eax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_19:
	leal	2(%r12), %r15d
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_21
## %bb.20:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_21:
	movl	-48(%rbp), %ecx
	leaq	L_.str.6(%rip), %rsi
	movl	%r15d, %edi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_report
	movq	_ppid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	cmpl	$3, (%r13)
	jne	LBB0_22
## %bb.23:
	leal	3(%r12), %r15d
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_25
## %bb.24:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_25:
	movq	_POLLHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	leaq	L_.str.7(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_report
	movq	_ppid@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	cmpl	$4, (%r13)
	jne	LBB0_52
## %bb.26:
	addl	$4, %r12d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_52
LBB0_10:
	movl	$4, (%r13)
LBB0_27:
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_29
## %bb.28:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_29:
	movl	-48(%rbp), %ecx
	leaq	L_.str.8(%rip), %rsi
	movl	%r12d, %edi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_report
	movl	(%r15), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	cmpl	$5, (%r13)
	jne	LBB0_30
## %bb.31:
	leal	1(%r12), %r15d
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_33
## %bb.32:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_33:
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	leaq	L_.str.9(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_report
	movq	_ppid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	cmpl	$6, (%r13)
	je	LBB0_35
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_30
LBB0_35:
	leal	2(%r12), %r15d
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_37
## %bb.36:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_37:
	movq	_POLLHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_POLLIN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	-48(%rbp), %ecx
	leaq	L_.str.10(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_report
	leaq	-320(%rbp), %rsi
	movl	%r14d, %edi
	movl	$256, %edx                      ## imm = 0x100
	callq	_read
	cmpl	$1, %eax
	je	LBB0_39
## %bb.38:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_39:
	leal	3(%r12), %r15d
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_41
## %bb.40:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_41:
	movq	_POLLHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	leaq	L_.str.11(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_report
	movq	_filetype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FT_FIFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_51
## %bb.42:
	movq	_FIFONAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_open
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_44
## %bb.43:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_44:
	leal	4(%r12), %r15d
	movl	%r13d, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_46
## %bb.45:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_46:
	leal	5(%r12), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_POLLHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	leaq	L_.str.12(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_report
	movl	%r14d, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_48
## %bb.47:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_48:
	addl	$6, %r12d
	movq	_POLLHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	leaq	L_.str.13(%rip), %rsi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_report
	movl	%r13d, %edi
	callq	_close
	leaq	-56(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_poll
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_50
## %bb.49:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_50:
	movq	_POLLHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	leaq	L_.str.14(%rip), %rsi
	movl	%r12d, %edi
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_report
LBB0_51:
	movl	%r14d, %edi
	callq	_close
	movq	_ppid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_filetype,8,3                   ## @filetype
	.comm	_FT_FIFO,8,3                    ## @FT_FIFO
	.comm	_FIFONAME,4,2                   ## @FIFONAME
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"open for read"

	.comm	_POLLIN,4,2                     ## @POLLIN
L_.str.1:                               ## @.str.1
	.asciz	"poll"

L_.str.2:                               ## @.str.2
	.asciz	"0"

	.comm	_ppid,4,2                       ## @ppid
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_state,4,2                      ## @state
L_.str.3:                               ## @.str.3
	.asciz	"1"

L_.str.4:                               ## @.str.4
	.asciz	"2"

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

L_.str.6:                               ## @.str.6
	.asciz	"2a"

L_.str.7:                               ## @.str.7
	.asciz	"3"

	.comm	_POLLHUP,4,2                    ## @POLLHUP
L_.str.8:                               ## @.str.8
	.asciz	"4"

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

L_.str.10:                              ## @.str.10
	.asciz	"6"

L_.str.11:                              ## @.str.11
	.asciz	"6a"

L_.str.12:                              ## @.str.12
	.asciz	"6b"

L_.str.13:                              ## @.str.13
	.asciz	"6c"

L_.str.14:                              ## @.str.14
	.asciz	"6d"

	.no_dead_strip	_child
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function child
_child:                                 ; @child
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _filetype@GOTPAGE
Lloh1:
	ldr	x24, [x24, _filetype@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x25, _FT_FIFO@GOTPAGE
Lloh3:
	ldr	x25, [x25, _FT_FIFO@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh4:
	adrp	x8, _FIFONAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FIFONAME@GOTPAGEOFF]
Lloh6:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	ldr	w8, [x9]
Lloh10:
	adrp	x9, _O_NONBLOCK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _O_NONBLOCK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_open
	mov	x19, x0
	tbz	w0, #31, LBB0_3
; %bb.2:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_3:
Lloh15:
	adrp	x23, _POLLIN@GOTPAGE
Lloh16:
	ldr	x23, [x23, _POLLIN@GOTPAGEOFF]
	ldr	w8, [x23]
	stp	w19, w8, [x29, #-104]
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x21, x0
	tbz	w0, #31, LBB0_6
; %bb.5:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_6:
	add	w22, w20, #1
	ldur	w3, [x29, #-96]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	mov	x4, x21
	mov	w5, #0
	bl	_report
	mov	x20, x22
LBB0_7:
Lloh21:
	adrp	x27, _ppid@GOTPAGE
Lloh22:
	ldr	x27, [x27, _ppid@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh23:
	adrp	x28, _SIGUSR1@GOTPAGE
Lloh24:
	ldr	x28, [x28, _SIGUSR1@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_kill
	mov	w0, #1
	bl	_usleep
Lloh25:
	adrp	x26, _state@GOTPAGE
Lloh26:
	ldr	x26, [x26, _state@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.ne	LBB0_23
; %bb.8:
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.9:
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x21, x0
	tbz	w0, #31, LBB0_11
; %bb.10:
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_11:
	ldur	w3, [x29, #-96]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	mov	x4, x21
	mov	w5, #0
	bl	_report
	ldr	w0, [x27]
	ldr	w1, [x28]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x26]
	cmp	w8, #2
	b.ne	LBB0_24
; %bb.12:
	add	w22, w20, #1
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x23, x0
	tbz	w0, #31, LBB0_14
; %bb.13:
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_14:
	add	w21, w20, #2
Lloh33:
	adrp	x8, _POLLIN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	ldur	w3, [x29, #-96]
Lloh36:
	adrp	x1, l_.str.4@PAGE
Lloh37:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x4, x23
	mov	w5, #1
	bl	_report
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #256
	bl	_read
	cmp	w0, #1
	b.eq	LBB0_16
; %bb.15:
Lloh38:
	adrp	x1, l_.str.5@PAGE
Lloh39:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x22, x0
	tbz	w0, #31, LBB0_18
; %bb.17:
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_18:
	ldur	w3, [x29, #-96]
Lloh42:
	adrp	x1, l_.str.6@PAGE
Lloh43:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	mov	x4, x22
	mov	w5, #0
	bl	_report
	ldr	w0, [x27]
	ldr	w1, [x28]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x26]
	cmp	w8, #3
Lloh44:
	adrp	x23, _POLLIN@GOTPAGE
Lloh45:
	ldr	x23, [x23, _POLLIN@GOTPAGEOFF]
	b.ne	LBB0_25
; %bb.19:
	add	w21, w20, #3
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x22, x0
	tbz	w0, #31, LBB0_21
; %bb.20:
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_21:
Lloh48:
	adrp	x8, _POLLHUP@GOTPAGE
Lloh49:
	ldr	x8, [x8, _POLLHUP@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	ldur	w3, [x29, #-96]
Lloh51:
	adrp	x1, l_.str.7@PAGE
Lloh52:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x4, x22
	mov	w5, #1
	bl	_report
	ldr	w0, [x27]
	ldr	w1, [x28]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x26]
	cmp	w8, #4
	b.ne	LBB0_26
; %bb.22:
	add	w20, w20, #4
	b	LBB0_28
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_23
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_24
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_25
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_26
LBB0_27:
	mov	w8, #4
	str	w8, [x26]
LBB0_28:
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x21, x0
	tbz	w0, #31, LBB0_30
; %bb.29:
Lloh53:
	adrp	x1, l_.str.1@PAGE
Lloh54:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_30:
	ldur	w3, [x29, #-96]
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	mov	x4, x21
	mov	w5, #0
	bl	_report
	ldr	w0, [x27]
	ldr	w1, [x28]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x26]
	cmp	w8, #5
	b.ne	LBB0_35
; %bb.31:
	add	w21, w20, #1
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x22, x0
	tbz	w0, #31, LBB0_33
; %bb.32:
Lloh57:
	adrp	x1, l_.str.1@PAGE
Lloh58:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_33:
	ldr	w2, [x23]
	ldur	w3, [x29, #-96]
Lloh59:
	adrp	x1, l_.str.9@PAGE
Lloh60:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	mov	x4, x22
	mov	w5, #1
	bl	_report
	ldr	w0, [x27]
	ldr	w1, [x28]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x26]
	cmp	w8, #6
	b.eq	LBB0_36
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_34
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_35
LBB0_36:
	mov	x26, x23
	add	w22, w20, #2
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x23, x0
	tbz	w0, #31, LBB0_38
; %bb.37:
Lloh61:
	adrp	x1, l_.str.1@PAGE
Lloh62:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_38:
	add	w21, w20, #3
	ldr	w8, [x26]
Lloh63:
	adrp	x26, _POLLHUP@GOTPAGE
Lloh64:
	ldr	x26, [x26, _POLLHUP@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w2, w9, w8
	ldur	w3, [x29, #-96]
Lloh65:
	adrp	x1, l_.str.10@PAGE
Lloh66:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x22
	mov	x4, x23
	mov	w5, #1
	bl	_report
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #256
	bl	_read
	cmp	w0, #1
	b.eq	LBB0_40
; %bb.39:
Lloh67:
	adrp	x1, l_.str.5@PAGE
Lloh68:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_40:
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x22, x0
	tbz	w0, #31, LBB0_42
; %bb.41:
Lloh69:
	adrp	x1, l_.str.1@PAGE
Lloh70:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_42:
	ldr	w2, [x26]
	ldur	w3, [x29, #-96]
Lloh71:
	adrp	x1, l_.str.11@PAGE
Lloh72:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	mov	x4, x22
	mov	w5, #1
	bl	_report
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_52
; %bb.43:
	add	w22, w20, #4
Lloh73:
	adrp	x8, _FIFONAME@GOTPAGE
Lloh74:
	ldr	x8, [x8, _FIFONAME@GOTPAGEOFF]
Lloh75:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh76:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
Lloh78:
	ldr	w8, [x9]
Lloh79:
	adrp	x9, _O_NONBLOCK@GOTPAGE
Lloh80:
	ldr	x9, [x9, _O_NONBLOCK@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_open
	mov	x21, x0
	tbz	w0, #31, LBB0_45
; %bb.44:
Lloh82:
	adrp	x1, l_.str@PAGE
Lloh83:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_45:
	stur	w21, [x29, #-104]
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x24, x0
	tbz	w0, #31, LBB0_47
; %bb.46:
Lloh84:
	adrp	x1, l_.str.1@PAGE
Lloh85:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_47:
	add	w23, w20, #5
	ldr	w2, [x26]
	ldur	w3, [x29, #-96]
Lloh86:
	adrp	x1, l_.str.12@PAGE
Lloh87:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	mov	x4, x24
	mov	w5, #1
	bl	_report
	stur	w19, [x29, #-104]
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x22, x0
	tbz	w0, #31, LBB0_49
; %bb.48:
Lloh88:
	adrp	x1, l_.str.1@PAGE
Lloh89:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_49:
	add	w20, w20, #6
	ldr	w2, [x26]
	ldur	w3, [x29, #-96]
Lloh90:
	adrp	x1, l_.str.13@PAGE
Lloh91:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x23
	mov	x4, x22
	mov	w5, #1
	bl	_report
	mov	x0, x21
	bl	_close
	sub	x0, x29, #104
	mov	w1, #1
	mov	w2, #0
	bl	_poll
	mov	x21, x0
	tbz	w0, #31, LBB0_51
; %bb.50:
Lloh92:
	adrp	x1, l_.str.1@PAGE
Lloh93:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_51:
	ldr	w2, [x26]
	ldur	w3, [x29, #-96]
Lloh94:
	adrp	x1, l_.str.14@PAGE
Lloh95:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	mov	x4, x21
	mov	w5, #1
	bl	_report
LBB0_52:
	mov	x0, x19
	bl	_close
	ldr	w0, [x27]
	ldr	w1, [x28]
	bl	_kill
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh77
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	_filetype,8,3                   ; @filetype
	.comm	_FT_FIFO,8,3                    ; @FT_FIFO
	.comm	_FIFONAME,4,2                   ; @FIFONAME
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"open for read"

	.comm	_POLLIN,4,2                     ; @POLLIN
l_.str.1:                               ; @.str.1
	.asciz	"poll"

l_.str.2:                               ; @.str.2
	.asciz	"0"

	.comm	_ppid,4,2                       ; @ppid
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_state,4,2                      ; @state
l_.str.3:                               ; @.str.3
	.asciz	"1"

l_.str.4:                               ; @.str.4
	.asciz	"2"

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

l_.str.6:                               ; @.str.6
	.asciz	"2a"

l_.str.7:                               ; @.str.7
	.asciz	"3"

	.comm	_POLLHUP,4,2                    ; @POLLHUP
l_.str.8:                               ; @.str.8
	.asciz	"4"

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

l_.str.10:                              ; @.str.10
	.asciz	"6"

l_.str.11:                              ; @.str.11
	.asciz	"6a"

l_.str.12:                              ; @.str.12
	.asciz	"6b"

l_.str.13:                              ; @.str.13
	.asciz	"6c"

l_.str.14:                              ; @.str.14
	.asciz	"6d"

	.no_dead_strip	_child
.subsections_via_symbols
