	.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, %r14d
	movl	%edi, %r15d
	movq	_filetype@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_FT_FIFO@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %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, %r15d
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_3:
	movq	_FD_SETSIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jl	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%r15d, %edx
	callq	_errx
LBB0_5:
	movq	(%r13), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_9
## %bb.6:
	movl	%r15d, %edi
	callq	_SETUP
	leal	1(%r15), %edi
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_8:
	leal	1(%r14), %ebx
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
	movl	%ebx, %r14d
LBB0_9:
	movq	_ppid@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	movq	_state@GOTPCREL(%rip), %rdx
	cmpl	$1, (%rdx)
	jne	LBB0_10
## %bb.11:
	movq	(%r13), %rax
	movq	_FT_FIFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.13:
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leal	1(%r15), %edi
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_15
## %bb.14:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_15:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_report
	movl	(%r12), %edi
	movl	(%rbx), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	movq	_state@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jne	LBB0_16
## %bb.17:
	movq	%r12, %rbx
	leal	1(%r14), %r12d
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_19
## %bb.18:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_19:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.5(%rip), %rsi
	movl	%r12d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
	leaq	-320(%rbp), %rsi
	movl	%r15d, %edi
	movl	$256, %edx                      ## imm = 0x100
	callq	_read
	cmpl	$1, %eax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_21:
	leal	2(%r14), %r12d
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_23
## %bb.22:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_23:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.7(%rip), %rsi
	movl	%r12d, %edi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_report
	movl	(%rbx), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	movq	_state@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jne	LBB0_24
## %bb.25:
	leal	3(%r14), %r12d
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_27
## %bb.26:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_27:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.8(%rip), %rsi
	movl	%r12d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
	movq	%rbx, %r12
	movl	(%rbx), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	movq	_state@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jne	LBB0_54
## %bb.28:
	addl	$4, %r14d
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_54
LBB0_12:
	movl	$4, (%rdx)
	leal	1(%r15), %r13d
LBB0_29:
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_31
## %bb.30:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_31:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.9(%rip), %rsi
	movl	%r14d, %edi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_report
	movl	(%r12), %edi
	movl	(%rbx), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	movq	_state@GOTPCREL(%rip), %rax
	cmpl	$5, (%rax)
	jne	LBB0_32
## %bb.33:
	movq	%r12, %rbx
	leal	1(%r14), %r12d
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_35
## %bb.34:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_35:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.10(%rip), %rsi
	movl	%r12d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
	movl	(%rbx), %edi
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	$1, %edi
	callq	_usleep
	movq	_state@GOTPCREL(%rip), %rax
	cmpl	$6, (%rax)
	je	LBB0_37
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_32
LBB0_37:
	leal	2(%r14), %r12d
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_39
## %bb.38:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_39:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.11(%rip), %rsi
	movl	%r12d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
	leaq	-320(%rbp), %rsi
	movl	%r15d, %edi
	movl	$256, %edx                      ## imm = 0x100
	callq	_read
	cmpl	$1, %eax
	je	LBB0_41
## %bb.40:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_41:
	leal	3(%r14), %r12d
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_43
## %bb.42:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_43:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.12(%rip), %rsi
	movl	%r12d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
	movq	_filetype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FT_FIFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_53
## %bb.44:
	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, %r12d
	testl	%eax, %eax
	jns	LBB0_46
## %bb.45:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_46:
	leal	4(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r12d, %edi
	callq	_SETUP
	movl	%r12d, %edi
	incl	%edi
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r8
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_48
## %bb.47:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_48:
	leal	5(%r14), %r13d
	leaq	-44(%rbp), %rsi
	movl	%r12d, %edi
	callq	_FD_ISSET
	leaq	L_.str.13(%rip), %rsi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	leaq	-44(%rbp), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_50
## %bb.49:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_50:
	addl	$6, %r14d
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.14(%rip), %rsi
	movl	%r13d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
	movl	%r12d, %edi
	callq	_close
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%r15d, %edi
	callq	_SETUP
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	leaq	-44(%rbp), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testq	%rax, %rax
	jns	LBB0_52
## %bb.51:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_52:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_ISSET
	leaq	L_.str.15(%rip), %rsi
	movl	%r14d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_report
LBB0_53:
	movl	%r15d, %edi
	callq	_close
	movl	(%rbx), %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	_FD_SETSIZE,4,2                 ## @FD_SETSIZE
L_.str.1:                               ## @.str.1
	.asciz	"fd = %d too large for select()"

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

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

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

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

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

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

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

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

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

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

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

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

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

L_.str.15:                              ## @.str.15
	.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, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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	x8, _FD_SETSIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FD_SETSIZE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w19, w8
	b.lt	LBB0_5
; %bb.4:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_5:
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x19
	mov	x2, #0
	bl	_SETUP
	add	w0, w19, #1
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_8
; %bb.7:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_8:
	add	w21, w20, #1
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	bl	_report
	mov	x20, x21
LBB0_9:
Lloh24:
	adrp	x26, _ppid@GOTPAGE
Lloh25:
	ldr	x26, [x26, _ppid@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh26:
	adrp	x27, _SIGUSR1@GOTPAGE
Lloh27:
	ldr	x27, [x27, _SIGUSR1@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_kill
	mov	w0, #1
	bl	_usleep
Lloh28:
	adrp	x28, _state@GOTPAGE
Lloh29:
	ldr	x28, [x28, _state@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #1
	b.ne	LBB0_25
; %bb.10:
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.11:
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	add	w21, w19, #1
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_13
; %bb.12:
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_13:
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	bl	_report
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x28]
	cmp	w8, #2
	b.ne	LBB0_26
; %bb.14:
	add	w23, w20, #1
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_16
; %bb.15:
Lloh34:
	adrp	x1, l_.str.2@PAGE
Lloh35:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	add	w22, w20, #2
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	mov	w2, #1
	bl	_report
	mov	x1, sp
	mov	x0, x19
	mov	w2, #256
	bl	_read
	cmp	w0, #1
	b.eq	LBB0_18
; %bb.17:
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_18:
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_20
; %bb.19:
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_20:
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh42:
	adrp	x1, l_.str.7@PAGE
Lloh43:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	mov	w2, #0
	bl	_report
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x28]
	cmp	w8, #3
	b.ne	LBB0_27
; %bb.21:
	add	w22, w20, #3
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_23
; %bb.22:
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_23:
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh46:
	adrp	x1, l_.str.8@PAGE
Lloh47:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	mov	w2, #1
	bl	_report
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x28]
	cmp	w8, #4
	b.ne	LBB0_28
; %bb.24:
	add	w20, w20, #4
	b	LBB0_30
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_25
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_26
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_27
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_28
LBB0_29:
	mov	w8, #4
	str	w8, [x28]
	add	w21, w19, #1
LBB0_30:
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_32
; %bb.31:
Lloh48:
	adrp	x1, l_.str.2@PAGE
Lloh49:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_32:
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	bl	_report
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x28]
	cmp	w8, #5
	b.ne	LBB0_37
; %bb.33:
	add	w22, w20, #1
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_35
; %bb.34:
Lloh52:
	adrp	x1, l_.str.2@PAGE
Lloh53:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_35:
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh54:
	adrp	x1, l_.str.10@PAGE
Lloh55:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x22
	mov	w2, #1
	bl	_report
	ldr	w0, [x26]
	ldr	w1, [x27]
	bl	_kill
	mov	w0, #1
	bl	_usleep
	ldr	w8, [x28]
	cmp	w8, #6
	b.eq	LBB0_38
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_36
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_37
LBB0_38:
	add	w23, w20, #2
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_40
; %bb.39:
Lloh56:
	adrp	x1, l_.str.2@PAGE
Lloh57:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_40:
	add	w22, w20, #3
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh58:
	adrp	x1, l_.str.11@PAGE
Lloh59:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x23
	mov	w2, #1
	bl	_report
	mov	x1, sp
	mov	x0, x19
	mov	w2, #256
	bl	_read
	cmp	w0, #1
	b.eq	LBB0_42
; %bb.41:
Lloh60:
	adrp	x1, l_.str.6@PAGE
Lloh61:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_42:
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_44
; %bb.43:
Lloh62:
	adrp	x1, l_.str.2@PAGE
Lloh63:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_44:
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh64:
	adrp	x1, l_.str.12@PAGE
Lloh65:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	mov	w2, #1
	bl	_report
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_54
; %bb.45:
	add	w23, w20, #4
Lloh66:
	adrp	x8, _FIFONAME@GOTPAGE
Lloh67:
	ldr	x8, [x8, _FIFONAME@GOTPAGEOFF]
Lloh68:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh69:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
Lloh71:
	ldr	w8, [x9]
Lloh72:
	adrp	x9, _O_NONBLOCK@GOTPAGE
Lloh73:
	ldr	x9, [x9, _O_NONBLOCK@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_open
	mov	x22, x0
	tbz	w0, #31, LBB0_47
; %bb.46:
Lloh75:
	adrp	x1, l_.str@PAGE
Lloh76:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_47:
	ldp	w2, w1, [x29, #-96]
	mov	x0, x22
	bl	_SETUP
	add	w0, w22, #1
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_49
; %bb.48:
Lloh77:
	adrp	x1, l_.str.2@PAGE
Lloh78:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_49:
	add	w24, w20, #5
	sub	x1, x29, #92
	mov	x0, x22
	bl	_FD_ISSET
	mov	x3, x0
Lloh79:
	adrp	x1, l_.str.13@PAGE
Lloh80:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x23
	mov	w2, #1
	bl	_report
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_51
; %bb.50:
Lloh81:
	adrp	x1, l_.str.2@PAGE
Lloh82:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_51:
	add	w20, w20, #6
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh83:
	adrp	x1, l_.str.14@PAGE
Lloh84:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x24
	mov	w2, #1
	bl	_report
	mov	x0, x22
	bl	_close
	ldp	w2, w1, [x29, #-96]
	mov	x0, x19
	bl	_SETUP
	sub	x1, x29, #92
	sub	x4, x29, #96
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_select
	tbz	x0, #63, LBB0_53
; %bb.52:
Lloh85:
	adrp	x1, l_.str.2@PAGE
Lloh86:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_53:
	sub	x1, x29, #92
	mov	x0, x19
	bl	_FD_ISSET
	mov	x3, x0
Lloh87:
	adrp	x1, l_.str.15@PAGE
Lloh88:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	bl	_report
LBB0_54:
	mov	x0, x19
	bl	_close
	ldr	w0, [x26]
	ldr	w1, [x27]
	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 AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh70
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.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	_FD_SETSIZE,4,2                 ; @FD_SETSIZE
l_.str.1:                               ; @.str.1
	.asciz	"fd = %d too large for select()"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	.no_dead_strip	_child
.subsections_via_symbols
