	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function empty
_empty:                                 ## @empty
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_fileno
	movq	%rax, -72(%rbp)
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movl	$1, %ebx
	testq	%r14, %r14
	je	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_fileno
	movl	%ebx, %ecx
	shlq	$4, %rcx
	movq	%rax, -72(%rbp,%rcx)
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%ebx
	movl	%eax, -80(%rbp,%rcx)
LBB0_5:
	imull	$1000, %r15d, %edx              ## imm = 0x3E8
	leaq	-80(%rbp), %rdi
	movl	%ebx, %esi
	callq	_ftp_poll
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.6:
	testq	%r12, %r12
	je	LBB0_7
## %bb.8:
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, -76(%rbp)
	setne	%al
	movl	$1, %ecx
	testq	%r14, %r14
	je	LBB0_11
LBB0_10:
	shlq	$4, %rcx
	movq	_POLLIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%esi, %esi
	testl	%edx, -76(%rbp,%rcx)
	setne	%sil
	leal	(%rax,%rsi,2), %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	jne	LBB0_4
	jmp	LBB0_5
LBB0_7:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	testq	%r14, %r14
	jne	LBB0_10
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_POLLIN,4,2                     ## @POLLIN
	.no_dead_strip	_empty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function empty
_empty:                                 ; @empty
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x23, _POLLIN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _POLLIN@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_fileno
	str	x0, [sp, #16]
	ldr	w8, [x23]
	str	w8, [sp, #8]
	mov	w22, #1
	cbz	x19, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_fileno
	add	x8, sp, #8
	add	x8, x8, w22, uxtw #4
	str	x0, [x8, #8]
	ldr	w9, [x23]
	add	w22, w22, #1
	str	w9, [x8]
LBB0_3:
	mov	w8, #1000
	mul	w2, w21, w8
	add	x0, sp, #8
	mov	x1, x22
	bl	_ftp_poll
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.4:
	cbz	x20, LBB0_10
; %bb.5:
	ldr	w8, [sp, #12]
	ldr	w9, [x23]
	tst	w9, w8
	cset	w0, ne
	mov	w8, #1
	cbz	x19, LBB0_7
LBB0_6:
	add	x9, sp, #8
	add	x8, x9, x8, lsl #4
	ldr	w8, [x8, #4]
	ldr	w9, [x23]
	tst	w9, w8
	cset	w8, ne
	bfi	w0, w8, #1, #1
LBB0_7:
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	mov	w22, #0
	cbnz	x19, LBB0_2
	b	LBB0_3
LBB0_10:
	mov	w0, #0
	mov	x8, #0
	cbnz	x19, LBB0_6
	b	LBB0_7
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_POLLIN,4,2                     ; @POLLIN
	.no_dead_strip	_empty
.subsections_via_symbols
