	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __xprt_do_unregister
___xprt_do_unregister:                  ## @__xprt_do_unregister
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	movslq	(%r15), %rbx
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	_svc_fd_lock@GOTPCREL(%rip), %rdi
	callq	_rwlock_wrlock
LBB0_2:
	movq	_FD_SETSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jge	LBB0_10
## %bb.3:
	movq	___svc_xports@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpq	%r15, (%rcx,%rbx,8)
	je	LBB0_4
LBB0_10:
	cmpl	%eax, %ebx
	jne	LBB0_13
## %bb.11:
	movq	___svc_xports@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r15, (%rax,%rbx,8)
	jne	LBB0_13
## %bb.12:
	movq	$0, (%rax,%rbx,8)
	jmp	LBB0_13
LBB0_4:
	movq	$0, (%rcx,%rbx,8)
	movq	_svc_fdset@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_FD_CLR
	movq	_svc_maxfd@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %ebx
	jl	LBB0_13
## %bb.5:
	movq	(%r12), %rsi
	movl	%ecx, %edx
	sarl	$31, %edx
	andl	%ecx, %edx
	decl	%edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	decq	%rcx
	movl	%ecx, %edi
	cmpq	$0, (%rsi,%rdi,8)
	je	LBB0_6
## %bb.8:
	movl	%ecx, %edx
LBB0_9:
	movl	%edx, (%rax)
LBB0_13:
	testq	%r14, %r14
	je	LBB0_14
## %bb.15:
	movq	_svc_fd_lock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rwlock_unlock                  ## TAILCALL
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svc_fd_lock,4,2                ## @svc_fd_lock
	.comm	_FD_SETSIZE,4,2                 ## @FD_SETSIZE
	.comm	___svc_xports,8,3               ## @__svc_xports
	.comm	_svc_fdset,4,2                  ## @svc_fdset
	.comm	_svc_maxfd,4,2                  ## @svc_maxfd
	.no_dead_strip	___xprt_do_unregister
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __xprt_do_unregister
___xprt_do_unregister:                  ; @__xprt_do_unregister
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldrsw	x20, [x21]
	cbz	x19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, _svc_fd_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _svc_fd_lock@GOTPAGEOFF]
	bl	_rwlock_wrlock
LBB0_2:
Lloh2:
	adrp	x8, _FD_SETSIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FD_SETSIZE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ge	LBB0_4
; %bb.3:
Lloh5:
	adrp	x22, ___svc_xports@GOTPAGE
Lloh6:
	ldr	x22, [x22, ___svc_xports@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x10, [x9, x20, lsl #3]
	cmp	x10, x21
	b.eq	LBB0_7
LBB0_4:
	cmp	w20, w8
	b.ne	LBB0_13
; %bb.5:
Lloh7:
	adrp	x8, ___svc_xports@GOTPAGE
Lloh8:
	ldr	x8, [x8, ___svc_xports@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x8, x20, lsl #3]
	cmp	x9, x21
	b.ne	LBB0_13
; %bb.6:
	str	xzr, [x8, x20, lsl #3]
	b	LBB0_13
LBB0_7:
	str	xzr, [x9, x20, lsl #3]
Lloh10:
	adrp	x1, _svc_fdset@GOTPAGE
Lloh11:
	ldr	x1, [x1, _svc_fdset@GOTPAGEOFF]
	mov	x0, x20
	bl	_FD_CLR
Lloh12:
	adrp	x8, _svc_maxfd@GOTPAGE
Lloh13:
	ldr	x8, [x8, _svc_maxfd@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w20, w9
	b.lt	LBB0_13
; %bb.8:
	ldr	x11, [x22]
	cmp	w9, #0
	csel	w10, w9, wzr, lt
	sub	w10, w10, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x9, x9, #1
	ldr	x12, [x11, w9, uxtw #3]
	cbz	x12, LBB0_9
; %bb.11:
	mov	x10, x9
LBB0_12:
	str	w10, [x8]
LBB0_13:
	cbz	x19, LBB0_15
; %bb.14:
Lloh14:
	adrp	x0, _svc_fd_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _svc_fd_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rwlock_unlock
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_svc_fd_lock,4,2                ; @svc_fd_lock
	.comm	_FD_SETSIZE,4,2                 ; @FD_SETSIZE
	.comm	___svc_xports,8,3               ; @__svc_xports
	.comm	_svc_fdset,4,2                  ; @svc_fdset
	.comm	_svc_maxfd,4,2                  ; @svc_maxfd
	.no_dead_strip	___xprt_do_unregister
.subsections_via_symbols
