	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function closedown
_closedown:                             ## @closedown
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__rpcsvcstate@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	__IDLE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.1:
	movq	__rpcfdtype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.2:
	movl	_closedown.size(%rip), %eax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_getdtablesize
	movl	%eax, _closedown.size(%rip)
LBB0_4:
	testl	%eax, %eax
	jle	LBB0_13
## %bb.5:
	xorl	%r13d, %r13d
	movl	$1, %ebx
	movq	_svc_fdset@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %edi
	movq	%r12, %rsi
	callq	_FD_ISSET
	cmpq	$1, %rax
	sbbl	$-1, %r13d
	cmpl	_closedown.size(%rip), %ebx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	cmpl	$2, %r13d
	jb	LBB0_6
LBB0_8:
	cmpl	$2, %r13d
	jb	LBB0_13
## %bb.9:
	movq	(%r14), %rax
LBB0_10:
	movq	__SERVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	(%r15), %rax
	movq	%rax, (%r14)
LBB0_12:
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	_closedown(%rip), %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_signal
	movq	__RPCSVC_CLOSEDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alarm                          ## TAILCALL
LBB0_13:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	__rpcsvcstate,8,3               ## @_rpcsvcstate
	.comm	__IDLE,8,3                      ## @_IDLE
.zerofill __DATA,__bss,_closedown.size,4,2 ## @closedown.size
	.comm	__rpcfdtype,8,3                 ## @_rpcfdtype
	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
	.comm	__SERVED,8,3                    ## @_SERVED
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	__RPCSVC_CLOSEDOWN,4,2          ## @_RPCSVC_CLOSEDOWN
	.no_dead_strip	_closedown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function closedown
_closedown:                             ; @closedown
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x20, __rpcsvcstate@GOTPAGE
Lloh1:
	ldr	x20, [x20, __rpcsvcstate@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, __IDLE@GOTPAGE
Lloh3:
	ldr	x21, [x21, __IDLE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
Lloh4:
	adrp	x8, __rpcfdtype@GOTPAGE
Lloh5:
	ldr	x8, [x8, __rpcfdtype@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.2:
	adrp	x22, _closedown.size@PAGE
	ldr	w0, [x22, _closedown.size@PAGEOFF]
	cbnz	w0, LBB0_4
; %bb.3:
	bl	_getdtablesize
	str	w0, [x22, _closedown.size@PAGEOFF]
LBB0_4:
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.5:
	mov	w23, #0
	mov	w24, #1
Lloh10:
	adrp	x19, _svc_fdset@GOTPAGE
Lloh11:
	ldr	x19, [x19, _svc_fdset@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w0, w24, #1
	mov	x1, x19
	bl	_FD_ISSET
	cmp	x0, #0
	cinc	w23, w23, ne
	ldr	w8, [x22, _closedown.size@PAGEOFF]
	cmp	w24, w8
	add	w24, w24, #1
	ccmp	w23, #2, #2, lt
	b.lo	LBB0_6
; %bb.7:
	cmp	w23, #2
	b.lo	LBB0_12
; %bb.8:
	ldr	x8, [x20]
LBB0_9:
Lloh12:
	adrp	x9, __SERVED@GOTPAGE
Lloh13:
	ldr	x9, [x9, __SERVED@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [x21]
	str	x8, [x20]
LBB0_11:
Lloh15:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, _closedown@PAGE
Lloh19:
	add	x1, x1, _closedown@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_signal
Lloh20:
	adrp	x8, __RPCSVC_CLOSEDOWN@GOTPAGE
Lloh21:
	ldr	x8, [x8, __RPCSVC_CLOSEDOWN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_alarm
LBB0_12:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	__rpcsvcstate,8,3               ; @_rpcsvcstate
	.comm	__IDLE,8,3                      ; @_IDLE
.zerofill __DATA,__bss,_closedown.size,4,2 ; @closedown.size
	.comm	__rpcfdtype,8,3                 ; @_rpcfdtype
	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
	.comm	__SERVED,8,3                    ; @_SERVED
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	__RPCSVC_CLOSEDOWN,4,2          ; @_RPCSVC_CLOSEDOWN
	.no_dead_strip	_closedown
.subsections_via_symbols
